Advertisement
GarryLaly

CSS Reset Page

Oct 30th, 2013
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.22 KB | None | 0 0
  1. /* Reset CSS
  2. --------------------------------------------*/
  3. html, body, div, span, applet, object, iframe,
  4. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  5. a, abbr, acronym, address, big, cite, code,
  6. del, dfn, em, img, ins, kbd, q, s, samp,
  7. small, strike, strong, sub, sup, tt, var,
  8. b, u, i, center,
  9. dl, dt, dd, ol, ul, li,
  10. fieldset, form, label, legend,
  11. table, caption, tbody, tfoot, thead, tr, th, td,
  12. article, aside, canvas, details, embed,
  13. figure, figcaption, footer, header, hgroup,
  14. menu, nav, output, ruby, section, summary,
  15. time, mark, audio, video {
  16.     margin: 0;
  17.     padding: 0;
  18.     border: 0;
  19.     font-size: 100%;
  20.     font: inherit;
  21. }
  22.  
  23. /* HTML5 display-role reset for older browsers */
  24. article, aside, details, figcaption, figure,
  25. footer, header, hgroup, menu, nav, section {
  26.     display: block;
  27. }
  28.  
  29. body {
  30.     line-height: 1;
  31. }
  32.  
  33. ol, ul {
  34.     list-style: none;
  35. }
  36.  
  37. blockquote, q {
  38.     quotes: none;
  39. }
  40.  
  41. blockquote:before, blockquote:after,
  42. q:before, q:after {
  43.     content: '';
  44.     content: none;
  45. }
  46.  
  47. table {
  48.     border-collapse: collapse;
  49.     border-spacing: 0;
  50. }
  51.  
  52. a {
  53.     text-decoration:  none;
  54.     transition: all 0.5s;
  55.     -ms-transition: all 0.5s;
  56.     -moz-transition: all 0.5s;
  57.     -webkit-transition: all 0.5s;
  58.     -o-transition: all 0.5s;
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement