CSS, Webmaster

Websites in a Flash CSS Reset v1

Leave a Reply
Css reset v1 by websites in a flash.

As one does more and more work with CSS, you start to create a CSS Reset that work well for you and your workflow. There is some important code that I always recommend having on any website, so it’s more of “CSS Starter Code” that a “CSS Reset”.

 /* ~-~-~~-~ CSS Starter Code -~-~-~-~ *\
 |                                      |
 |        by Websites in a Flash        |
 |                                      |
 \* ~-~-~~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ */ 

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, dl, dt, dd, ol,  ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
 margin: 0;
 padding: 0;
 border: 0;
 outline: 0;
 font-weight: inherit;
 font-style: inherit;
 font-size: 100%;
 vertical-align: top;

html { overflow-y: scroll;}

strong, b {font-weight:900;}

ol, ul { list-style: none;}
em { font-style:italic; }
big { font-size: 1.17em }
small, sub, sup { font-size: .83em }
p { margin:1.12em 0;

I’ll probably update this more in the future.


Leave a Reply

Your email address will not be published. Required fields are marked *