您的位置:首页 > Web前端 > CSS

css之reset.css

2017-07-03 15:14 211 查看
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