Advertisement
makispaiktis

Codecademy - Practising CSS (Example 3 - CSS Code)

Oct 19th, 2019 (edited)
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.35 KB | None | 0 0
  1. body {
  2.   background-color: rgb(239, 217, 202);
  3. }
  4.  
  5. #box {
  6.   border: 10px solid black;
  7.   width: 200px;
  8.   height: 200px;
  9.   margin: 25% auto;
  10. }
  11.  
  12. #left {
  13.   border: 5px solid red;
  14.   width: 90px;
  15.   height: 190px;
  16. }
  17.  
  18. #right {
  19.   border: 5px solid blue;
  20.   width: 90px;
  21.   height: 190px;
  22.   float: right;
  23.   position: relative;
  24.   bottom: 200px;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement