Posted By

vagrantradio on 02/02/11


Tagged

html5


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

wirenaught


HTML5 CSS Reset Uncompressed


 / Published in: CSS
 

URL: http://snipplr.com/view/39056

Removed depreciated elements, added Firefox button dotted line removal and fixed a few other styling issues. Compressed version in the link above.

  1. html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,nav,section,summary,time,mark,audio,video { /* removed center, font, applet, big, s, u, tt, strike, menu & acronym as they are depreciated in html5 */
  2. margin:0;
  3. padding:0;
  4. border:0;
  5. outline:0;
  6. font-size:100%;
  7. vertical-align:baseline;
  8. background:transparent;
  9. font-weight:normal
  10. }
  11. ol, ul, nav ul {
  12. list-style:none
  13. }
  14. blockquote, q {
  15. quotes:none
  16. }
  17. blockquote:before, blockquote:after, q:before, q:after {
  18. content:'';
  19. content:none
  20. }
  21. ins {
  22. text-decoration:none
  23. }
  24. del {
  25. text-decoration:line-through
  26. }
  27. table {
  28. border-collapse:collapse;
  29. border-spacing:0
  30. }
  31. article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  32. display:block /*html5 elements */
  33. }
  34. input, select {
  35. vertical-align:middle
  36. }
  37. abbr[title], dfn[title] {
  38. border-bottom:1px dotted #000;
  39. cursor:help
  40. }
  41. hr {
  42. height:1px;
  43. border:0;
  44. border-top:1px solid #cccccc;
  45. margin:1em 0;
  46. padding:0
  47. }
  48. input[type='submit'],input[type='button'],input[type='text'],input[type='tel'],input[type='email'],input[type='url'] {
  49. font:inherit
  50. }
  51. button::-moz-focus-inner, input::-moz-focus-inner {
  52. border:0 /*remove dotted outline in Firefox on buttons and input buttons */
  53. }

Report this snippet  

You need to login to post a comment.