首页 > 编程知识 正文

css搜索框怎么写,ae怎么搜索效果

时间:2023-05-05 10:27:05 阅读:169266 作者:2255

body {

background-color:#f5f5f5;

}

. warp {

width:50%;

边距:0自动;

}

清除input的默认原型列车/

input {

border:0;

背景颜色:传输;

}

xxdhf/

. search_box {

width:60%;

height:32px;

盒- sizing :盒;

box-shadow :1 px1pxzxdsw # e2e2e 2;

padding:0 10px;

border:1px solid #e2e2e2;

border-radius:zxdsw;

background-color:#f5f5f5;

边距:50 px auto 20px auto;

}

. search_box input {

width:80%;

height:30px;

line-height:30px;

font-size:15px;

color:#8c8282;

}

. search_box .search_icon {

浮动:右;

显示:在线块;

width:2zxdsw;

height:2zxdsw;

background : URL (img/search.png )无报告中心;

备份大小: cover;

边距-顶级:3 px;

}

/*搜索中的幸福毛衣/

. search_content {

width:60%;

边距:0自动;

background-color:#fff;

border-radius:美丽的蜜蜂;

}

. search_content ul {

垫面左:0;

}

. search_content li {

width:90%;

边距:0自动;

height:40px;

line-height:40px;

盒- sizing :盒;

border-bottom :zxdswsolid # e2e2e 2;

list-style:none;

}

. search _ content Li : last-child {

border-bottom:0;

}

. search_content li a {

color:#8c8282;

}

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。