/ Published in: CSS

my HTML 5 css reset
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/*= Reset =*/ 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;} ol,ul{list-style:none;} img,fieldset{border:0 none;} *:focus{outline:0;} h1,h2,h3,h4,h5,h6{font-size:100%;} button,input,optgroup,select,textarea{font-size:100%;font-family:inherit;font-weight:inherit;} pre,code{font-family:"Droid Sans Mono",monospace;} /*= HTML 5 =*/ article,aside,audio,canvas,command,datalist,details,dialog,embed,figcaption,figure,footer,header,hgroup,keygen,menu,nav,output,progress,section,source,video{display:block;} m,meter,rp,rt,ruby,summary,time{display:inline;}
Comments
