Website Start / CSS Reset


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /********************************************************
  2. CSS RESET
  3. ********************************************************/
  4.  
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, font, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. dl, dt, dd, ol, ul, li,
  11. fieldset, form, label, legend,
  12. table, caption, tbody, tfoot, thead, tr, th, td {
  13. margin: 0;
  14. padding: 0;
  15. border: 0;
  16. outline: 0;
  17. font-size: 100%;
  18. }
  19.  
  20. :focus {
  21. outline: 0;
  22. }
  23.  
  24. body {
  25. line-height: 1;
  26. color: black;
  27. background: white;
  28. }
  29.  
  30. ol, ul {
  31. list-style: none;
  32. }
  33.  
  34. table {
  35. border-collapse: separate;
  36. border-spacing: 0;
  37. }
  38.  
  39. caption, th, td {
  40. text-align: left;
  41. font-weight: normal;
  42. }
  43.  
  44. blockquote:before, blockquote:after,
  45. q:before, q:after {
  46. content: "";
  47. }
  48.  
  49. blockquote, q {
  50. quotes: "" "";
  51. }
  52.  
  53. /********************************************************
  54. GLOBAL
  55. ********************************************************/
  56.  
  57. * {
  58. margin: 0;
  59. }
  60.  
  61. html, body {
  62. height: 100%;
  63. }
  64.  
  65. body {
  66. font-size: 16px;
  67. line-height: 16px;
  68. margin: 0;
  69. padding: 0;
  70. font-family: Arial, Helvetica, sans-serif;
  71. }
  72.  
  73. h1 {
  74. font-size: 1.5em;
  75. line-height: 1em;
  76. font-family: calluna-sans, Arial, Helvetica, sans-serif;
  77. font-weight: 400;
  78. font-style: normal;
  79. margin: 0px 0px 15px 0px;
  80. padding: 0px 0px 0px 0px;
  81. }
  82.  
  83. h2 {
  84.  
  85. }
  86.  
  87. h3 {
  88.  
  89. }
  90.  
  91. h4 {
  92.  
  93. }
  94.  
  95. p {
  96. font-size: 0.813em;
  97. line-height: 1.462em;
  98. color: #000;
  99. margin: 0px 0px 15px 0px;
  100. padding: 0px 0px 0px 0px;
  101. }
  102.  
  103. ul {
  104.  
  105. }
  106.  
  107. li {
  108.  
  109. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.