Advertisement
sasha_jarvi

Basic CSS

Aug 17th, 2020 (edited)
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.65 KB | None | 0 0
  1. html {
  2.     margin-left: calc(100vw - 100%);
  3.  
  4.     box-sizing: border-box;
  5. }
  6.  
  7. *, *::before, *::after {
  8.     box-sizing: inherit;
  9. }
  10.  
  11. a {
  12.     display: inline-block;
  13.  
  14.     text-decoration: none;
  15.     color: inherit;
  16. }
  17.  
  18. ul, li {
  19.     margin: 0;
  20.     padding: 0;
  21.     list-style: none;
  22. }
  23.  
  24. h1, h2, h3, h4, h5, h6 {
  25.     margin: 0;
  26. }
  27.  
  28. p {
  29.     margin: 0;
  30. }
  31.  
  32. .page-section {
  33.     margin-bottom: 80px;
  34. }
  35.  
  36. body {
  37.     color: #2f3035;
  38.  
  39.     font-family: "SFProDisplay-Regular", sans-serif;
  40.     font-size: 20px;
  41.     line-height: 24px;
  42.     font-weight: 400;
  43. }
  44.  
  45. .container {
  46.     max-width: 1200px;
  47.     padding: 0 15px;
  48.     margin: 0 auto;
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement