【base.css】♣一
/*kissy reset*/body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0}body,button,input,select,textarea{font:12px/1.5 'Droid Serif',tahoma,arial,\5b8b\4f53,sans-serif}h1,h2,h3,h4,h5,h6{font-size:100%}address,cite,dfn,em,var{font-style:normal}code,kbd,pre,samp{font-family:courier new,courier,monospace}small{font-size:12px}ul,ol{list-style:none}a{text-decoration:none}a:hover{text-decoration:underline}sup{vertical-align:text-top}sub{vertical-align:text-bottom}legend{color:#000}fieldset,img{border:0}button,input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{display:block;margin:0;padding:0}mark{background:#ff0}
/*通用原子类*//*文字排版*/.f12{font-size:12px}.fb{font-weight:700}.fn{font-weight:400}.t2{text-indent:2em}.lh150{line-height:150%}.unl{text-decoration:underline}.no-unl{text-decoration:none}/*定位*/.tc{text-align:center}.tl{text-align:left}.tr{text-align:right}.bc{margin-left:auto;margin-right:auto}/*bc blockcenter*/.fl{display:inline;float:left}.fr{display:inline;float:right}.cb{clear:both}.cl{clear:left}.cr{clear:right}.cf:before,.cf:after{display:table;content:""}.cf:after{clear:both}.cf{zoom:1}.vm{vertical-align:middle}.pr{position:relative}.pa{position:absolute}.abs-right{position:absolute;right:0}/*abs absolute*/.zoom{zoom:1}.hidden{visibility:hidden}.none{display:none}/*长度高度*/.w{width:100%}.w10{width:10px}.h{height:100%}.h10{height:10px}/*边距*/.m10{margin:10px}.mt10{margin-top:10px}.mb10{margin-bottom:10px}.ml10{margin-left:10px}.mr10{margin-right:10px}.p10{padding:10px}.pt10{padding-top:10px}.pb10{padding-bottom:10px}.pl10{padding-left:10px}.pr10{padding-right:10px}
KISSY - Keep It Simple & Stupid, Short & Sweet, Slim & Sexy...
http://kissyui.com/
《编写高质量代码 Web前端开发修炼之道》
TAG: