html{
font-size:62.5%;
}
html,body{
margin:0;
padding:0;
}
::selection{
background-color:#b3d4fc;
text-shadow:none;
}
ul{
margin:0;
padding:0;
list-style: none;
}
.text-ellipsis{
float: left;
font-size:1.5rem;
overflow: hidden;
white-space: nowrap;
-ms-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.pull-right{
float: right;!important;
}
.pull-left{
float: left;!important;
}
.center-block{
display: block;
margin:0 auto;
}
.text-right{
text-align: right;!important;
}
.text-center{
text-align: center;!important;
}
.text-left{
text-align:left;!important;
}
.hide{
display: none;!important;
}
.show{
display: block;!important;
}
.text-hide{
font:0/0 a;/*font-size/line-height font-family*/
color:transparent;
text-shadow: none;
background-color: transparent;
border:none;
}
.clear-fix::before,/*before为了防止上下margin叠加*/
.clear-fix::after{
content:'';
display: table;
}
.clear-fix::after{
clear:both;
}
css之reset.css
最新推荐文章于 2020-05-28 22:43:01 发布