Advertisement
makispaiktis

Codecademy - Practising CSS (Example 2 - CSS Code)

Oct 19th, 2019 (edited)
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. * {
  2. box-sizing: border-box;
  3. }
  4.  
  5. body {
  6. background-color: #FFF;
  7. padding: 50px 60px;
  8. font-family: sans-serif;
  9. text-align: center;
  10. }
  11.  
  12. h1 {
  13. color: #004E89;
  14. font-size: 30px;
  15. font-weight: 400;
  16. }
  17.  
  18. h2 {
  19. color: #AAA;
  20. font-size: 16px;
  21. font-weight: 100;
  22. letter-spacing: 2px;
  23. text-align: center;
  24. text-transform: uppercase;
  25. }
  26.  
  27. p {
  28. color: #333;
  29. font-size: 16px;
  30. font-weight: 100;
  31. text-align: center;
  32. }
  33.  
  34. img {
  35. height: 150px;
  36. margin: 0 auto;
  37. border-radius: 100%
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement