清除所有默认的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, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,p { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }

Author

Ludis

Posted on

2014-07-15

Updated on

2014-07-15

Licensed under

Comments