Advertisement
makispaiktis

Codecademy - Practising CSS (Example 1 - CSS Code)

Oct 19th, 2019 (edited)
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.64 KB | None | 0 0
  1. h3 {
  2.   text-align: center;
  3. }
  4.  
  5. .tips {
  6.   border-radius: 5px;
  7.   border: 3px solid black;
  8.   padding: 5%;
  9.   width: 80%;
  10.   margin: 5% auto;
  11.   text-align: justify;
  12. }
  13.  
  14. #one {
  15.   background-color: rgb(239, 217, 202);
  16.   font-family: "Palatino";
  17.     font-size: 18px;
  18. }
  19.  
  20. #two {
  21.   background-color: rgb(253, 77, 63);
  22.   font-family: "Verdana";
  23.   font-style: italic;
  24.   line-height: 20px;
  25. }
  26.  
  27. #three {
  28.   background-color: rgb(109, 240, 194);
  29.   font-family: "Courier";
  30.   font-weight: bold;
  31.   font-size: 16px;
  32. }
  33.  
  34. #four {
  35.   background-color: rgb(255, 199, 64);
  36.   font-family: "Arial";
  37.   font-variant: small-caps;
  38.     text-decoration: underline;
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement