12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- html,body{
- width: 100%;
- height: 100%;
- }
- .search-content{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- font-family: "微软雅黑";
- }
- .search-content>div{
- display: flex;
- justify-content: flex-start;
- width: 85%;
- }
- .search-content>div>span{
- font-size: 16px;
- color: #333333;
- }
- .search-content>.search-box{
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20px 0 15px 0;
- }
- .search-content>.search-box>input{
- display: flex;
- width: 80%;
- line-height: 34px;
- border: none;
- border-radius: 5px;
- background-color: #e5e5e5;
- font-size: 15px;
- padding: 0 5px;
- color: #999999;
- }
- .search-content>.search-box>input:focus{
- /* outline: #4cd3df; */
- outline: none;
- box-shadow: 0 0 3px #4cd3df;
- border-radius: 5px;
- background-color: #ffffff;
- }
- .search-content>.search-box>button{
- background-color: #ffffff;
- border: none;
- border-radius: 5px;
- width: 46px;
- height: 30px;
- font-size: 16px;
- color: #333333;
- }
- .search-content>.search-box>button:focus{
- outline: none;
- border: 1px solid #4cd3df;
- border-radius: 5px;
- color: #35ff52;
- }
- .search-content>div>ul{
- display: flex;
- flex-wrap: wrap;
- margin: 8px 0;
- }
- .search-content>div>ul>li{
- margin: 8px;
- padding: 8px 6px;
- background-color: #e5e5e5;
- border-radius: 5px;
- }
|