html,body,ul,li,img,a,p,div,form,input,h1,h2,h3,h4,h5,h6 {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
body {
font-family: '微软雅黑',sans-serif;
font-size: 13px;
background: #eee
}
a,a:hover {
color: #666;
text-decoration: none;
}
ul {
list-style: none;
}
input {
outline: none;
border: none;
border: 1px solid #ccc;
}
img{
vertical-align: bottom;
}
/*2、添加新的样式*/
.f-left {
float: left;
}
.f-right {
float:right;
}
/*清除浮动*/
.clearfix::before,.clearfix::after {
display: block;
content: '';
height: 0;
line-height: 0px;
clear: both;
visibility: hidden;
}
转载于:https://www.cnblogs.com/yangyutian/p/10994627.html