Advertisement
Guest User

reset.css

a guest
Oct 19th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.08 KB | None | 0 0
  1. html, body, header, footer, section, article, nav, div, img, form, input, textarea, select, optgroup, option, label, table, thead, tbody, tfoot, tr, th, td, dl, dt, dd, ol, ul, li, pre, p, h1, h2, h3, h4, h5, h6, span, br, hr, a {margin:0; padding:0; border:0; vertical-align:baseline;}
  2. table {width:100%; text-align:center; border-collapse:separate; border-spacing:1px; cursor:default;}
  3. ol, ul {list-style:none;}
  4. h1, h2, h3, h4, h5, h6 {font-size:100%;}
  5. a {text-decoration:none; outline:none;}
  6. /* CUSTOM */
  7. div.table {width:100%; display:table;}
  8. div.row {width:inherit; display:table-row;}
  9. ._1, ._2, ._3, ._4, ._5, ._6 {width:100%; padding:10px 5px; float:left; box-sizing:border-box; display:table-cell;}
  10. @media only screen and (min-width:768px)
  11. {
  12. ._1_, ._2_, ._3_, ._4_ {padding:20px 10px;}
  13. ._1_ {width:25%;}
  14. ._2_ {width:50%;}
  15. ._3_ {width:75%;}
  16. ._4_ {width:100%;}
  17. }
  18. @media only screen and (min-width:1200px)
  19. {
  20. ._1, ._2, ._3, ._4, ._5, ._6 {padding:30px 15px;}
  21. ._1 {width:16.66%;}
  22. ._2 {width:33.33%;}
  23. ._3 {width:50%;}
  24. ._4 {width:66.66%;}
  25. ._5 {width:83.33%;}
  26. ._6 {width:100%;}
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement