Menu

分享经常用到的公用CSS,让网页兼容各大浏览器

分享经常用到的公用css,让网页兼容各大浏览器,这样每写一个网页直接引用就可以了,这样省事的代码,还有神马理由不收藏呢?

/*———-通用———-*/

ul,ol,li,p,h1,h2,h3,h4,h5,form,table,td,img,div,a,dl,dt,dd{margin:0;padding:0;border:0;}

body,select,input{padding:0;margin:0;text-align:left;font-size:12px;font-family:”宋体”,”Arial”;}

body{color:#000;}

ul,li,ol{list-style-type:none;}

input{outline:none;}

img{vertical-align:bottom;}

table{border-collapse:collapse;}

a img{border:none;}

a{color:#000;text-decoration:none;}

a:hover{text-decoration:underline;}

.clear{ clear:both;}

.cl:after{ content:””; display:block;visibility:hidden; height:0; clear:both;}

.cl {zoom:1;}

.fl{float:left; display:inline;}

.fr{float:right; display:inline;}

本文固定连接:https://code.zuifengyun.com/2014/12/827.html,转载须征得作者授权。

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!

¥ 打赏支持