Posted By

Ashung on 09/15/10


Tagged

html5


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

LeeRJohnson
MrFjords


my HTML 5 css reset


 / Published in: CSS
 

my HTML 5 css reset

  1. /*= Reset =*/
  2. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
  3. ol,ul{list-style:none;}
  4. img,fieldset{border:0 none;}
  5. *:focus{outline:0;}
  6. h1,h2,h3,h4,h5,h6{font-size:100%;}
  7. button,input,optgroup,select,textarea{font-size:100%;font-family:inherit;font-weight:inherit;}
  8. pre,code{font-family:"Droid Sans Mono",monospace;}
  9.  
  10. /*= HTML 5 =*/
  11. article,aside,audio,canvas,command,datalist,details,dialog,embed,figcaption,figure,footer,header,hgroup,keygen,menu,nav,output,progress,section,source,video{display:block;}
  12. m,meter,rp,rt,ruby,summary,time{display:inline;}

Report this snippet  

You need to login to post a comment.