H5 公共样式2.0版本

压缩前的版本:

/*base style*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary{ margin:0; padding:0;}
body{ font-family:\5FAE\8F6F\96C5\9ED1,'Arial'; color:#5b5b5b; background-color:#fff; font-size:14px; overflow-x:hidden;}
a{ color:#333; text-decoration:none;}
a:hover{ color:#333; text-decoration:none;}
img{ border:none;}
i,em{ font-style:normal;}
li{ list-style-type:none;}
textarea{ resize:vertical;}
input, select, textarea{ font-family:\5FAE\8F6F\96C5\9ED1,'Arial'; background-color:#fff margin:0; padding:0; outline:none;}

/*global style*/
.g-fl{ float:left;}
.g-fr{ float:right;}
.g-c{ clear:both;}
.g-w{ width:320px; margin:0 auto;}
.g-hide{ display:none !important;}

压缩后的版本:

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,figure,footer,header,menu,nav,section,time,mark,audio,video,details,summary{margin:0;padding:0}body{font-family:\5FAE\8F6F\96C5\9ED1,'Arial';color:#5b5b5b;background-color:#fff;font-size:14px;overflow-x:hidden}a{color:#333;text-decoration:none}a:hover{color:#333;text-decoration:none}img{border:none}i,em{font-style:normal}li{list-style-type:none}textarea{resize:vertical}input,select,textarea{font-family:\5FAE\8F6F\96C5\9ED1,'Arial';background-color:#fff margin:0;padding:0;outline:none}.g-fl{float:left}.g-fr{float:right}.g-c{clear:both}.g-w{width:320px;margin:0 auto}.g-hide{display:none !important}
 

猜你喜欢

转载自onestopweb.iteye.com/blog/2319879
今日推荐