css全局变量,自用

原创 zjlxiaolu 随笔 个人感想 161阅读 2018-01-24 16:10:23 举报

*{padding:0;margin:0;line-height:1;box-sizing:border-box;}
div,dl,dt,dd,form,h1,h2,h3,h4,h5,h6,img,ol,ul,li,table,th,td,p,span,a{border:0;}
img{border:none;vertical-align:middle;display:inline-block;max-width:100%;}
body{font-family:Arial,"微软雅黑","Microsoft YaHei";font-size:14px;background:#FFF;color:#000;}
html{overflow-y:scroll;}
ul,ol{list-style-type:none;}
th,td,input{font-size:14px;}
h3{font-size:14px;}
button{border:none;cursor:pointer;font-size:14px;background-color:transparent;}
select{border-width:1px;_zoom:1;border-style:solid;padding-top:2px;font-size:14px;}
.clear{clear:both;font-size:1px;height:0;visibility:hidden;line-height:0;}
.clearfix{zoom:1;}
a{text-decoration:none;}
a:hover{opacity:0.8;filter:Alpha(opacity=80);}
a:link,a:visited{text-decoration:none;color:#333;}
.fl{float:left;}
.fr{float:right;}
hr{display:block;border:none;}
.bk{border:1px red solid;}

评论 ( 0 )
最新评论
暂无评论

赶紧努力消灭 0 回复