Posted By

ssbalakumar on 12/25/12


Tagged

css reset html5


Versions (?)

HTML5 Reset


 / Published in: CSS
 

URL: [email protected]

html5 reset css

  1. /*----------------------------------
  2. Title : reset StyleSheet HTML5
  3. Author : balakumar.s
  4. mail : [email protected]
  5. ------------------------------------*/
  6.  
  7.  
  8. /*--------- START RESET CSS------ */
  9.  
  10. 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, 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, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  11. margin: 0;
  12. padding: 0;
  13. border: 0;
  14. font-size: 100%;
  15. font: inherit;
  16. background: transparent;
  17. vertical-align: baseline;
  18. }
  19.  
  20. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block }
  21.  
  22. blockquote, q { quotes: none }
  23.  
  24. blockquote:before, blockquote:after, q:before, q:after {
  25. content: '';
  26. content: none;
  27. }
  28.  
  29. ol, ul { list-style: none }
  30.  
  31. nav ul { list-style: none }
  32.  
  33. a {
  34. margin: 0;
  35. padding: 0;
  36. font-size: 100%;
  37. vertical-align: baseline;
  38. background: transparent;
  39. }
  40.  
  41. ins {
  42. background-color: #ff9;
  43. color: #000;
  44. text-decoration: none;
  45. }
  46.  
  47. mark {
  48. background-color: #ff9;
  49. color: #000;
  50. font-style: italic;
  51. font-weight: bold;
  52. }
  53.  
  54. del { text-decoration: line-through }
  55.  
  56. input, select { vertical-align: middle }
  57.  
  58. table {
  59. border-collapse: collapse;
  60. border-spacing: 0;
  61. }
  62.  
  63. abbr[title], dfn[title] {
  64. border-bottom: 1px dotted #000;
  65. cursor: help;
  66. }
  67.  
  68. body { line-height: 1 }
  69.  
  70. .clearfix:after {
  71. content: ".";
  72. display: block;
  73. clear: both;
  74. visibility: hidden;
  75. line-height: 0;
  76. height: 0;
  77. }
  78.  
  79. .clearfix { display: inline-block }
  80.  
  81. html[xmlns] .clearfix { display: block }
  82.  
  83. * html .clearfix { height: 1% }
  84.  
  85. /*--------- END RESET CSS------ */

Report this snippet  

You need to login to post a comment.