style.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. body{
  2. background: #ccc;
  3. }
  4. header{
  5. height: 100px;
  6. background: #000;
  7. color:white;
  8. }
  9. footer{
  10. height: 100px;
  11. background: #000;
  12. color:white;
  13. }
  14. .box{
  15. position: relative;
  16. width: 100px;
  17. height: 100px;
  18. text-align:center;
  19. font-size:50px;
  20. }
  21. #box1{
  22. background: blueviolet;
  23. width:300px; height:300px;
  24. margin: 100px 0 0 100px;
  25. }
  26. #box2{
  27. background: lavender;
  28. width:220px; height:220px;
  29. margin: 30px 0 0 200px;
  30. }
  31. #box3{
  32. background: forestgreen;
  33. width:200px; height:200px;
  34. margin: 20px 0 0 300px;
  35. }
  36. #box4{
  37. background: gold;
  38. width:360px; height:360px;
  39. margin: 100px 0 0 400px;
  40. }
  41. #box5{
  42. background: orangered;
  43. width:220px; height:220px;
  44. margin: 100px 0 0 500px;
  45. }
  46. #box6{
  47. background: lightsalmon;
  48. width:120px; height:120px;
  49. margin: 100px 0 0 300px;
  50. }
  51. #box7{
  52. background: papayawhip;
  53. width:370px; height:370px;
  54. margin: 100px 0 0 200px;
  55. }
  56. #box8{
  57. background: lime;
  58. width:210px; height:210px;
  59. margin: 20px 0 0 400px;
  60. }
  61. #box9{
  62. background: deeppink;
  63. width:330px; height:330px;
  64. margin: 100px 0 0 100px;
  65. }
  66. #box10{
  67. background: dimgray;
  68. width:100px; height:100px;
  69. margin: 30px 0 0 200px;
  70. }