首页 > 代码库 > 全局CSS初始化

全局CSS初始化

@charset "utf-8";/* reset.css */html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,blockquote, pre, a, abbr, acronym, address,big, cite, code, del, dfn, em, img, ins, kbd,q, s, samp, small, strike, strong, sub, sup,tt, var, b, u, i, center, div, dl, dt, dd, ol, ul,li, fieldset, form, label, legend, table,caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,figure, figcaption, footer, header, hgroup,menu, nav, output, ruby, section, summary,time, mark, audio, video{margin:0;padding:0;}a{outline: none;color:#666;text-decoration:none;star:expression(this.onFocus=this.blur());}body{font-size: 12px;font-family: "Microsoft YaHei", "Arial", "Helvetica", "Simsun";background: #fafafa;color: #666;}h1, h2, h3, h4, h5, h6 {font-weight:normal;font-size:100%;}img {border:none;}ul, li{list-style:none;}input, textarea, select{border: 1px solid #ccc;border-radius: 3px;}input:focus, textarea:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus, select:focus{outline: none;}input[type="radio"], input[type="checkbox"]{border: none;}input[type="button"], input[type="submit"], input[type="image"]{cursor: pointer;}input::-ms-clear, input::-ms-reveal{display: none;}table, th, td {border-collapse: collapse;}textarea{resize: none;}/* general.css */.clearfix, .clear{*zoom: 1;}.clearfix:after, .cf:after{display: block;clear: both;height: 0;content: ‘‘;}.fl{float: left;}.fr{float: right;}.show{display: block}.hide{display: none}

 

全局CSS初始化