styles.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. body {
  2. display: flex;
  3. flex-direction: column;
  4. align-items: center;
  5. }
  6. #light1 {
  7. width: 100px;
  8. height: 300px;
  9. padding: 10px;
  10. border-radius: 40px;
  11. display: flex;
  12. flex-direction: column;
  13. background-color: black;
  14. margin: 10px;
  15. }
  16. #light2{
  17. width: 100px;
  18. height: 200px;
  19. padding: 10px;
  20. border-radius: 40px;
  21. display: flex;
  22. flex-direction: column;
  23. background-color: black;
  24. margin: 10px;
  25. }
  26. .red {
  27. width: 100px;
  28. height: 100px;
  29. border-radius: 50%;
  30. background-color: red;
  31. visibility: visible;
  32. }
  33. .yellow {
  34. width: 100px;
  35. height: 100px;
  36. border-radius: 50%;
  37. background-color: yellow;
  38. visibility: hidden;
  39. }
  40. .green {
  41. width: 100px;
  42. height: 100px;
  43. border-radius: 50%;
  44. background-color: green;
  45. visibility: hidden;
  46. }
  47. .btn {
  48. background-color: coral;
  49. border-radius: 50%;
  50. width: 100px;
  51. height: 100px;
  52. display: flex;
  53. text-transform: uppercase;
  54. justify-content: center;
  55. align-items: center;
  56. border: 1px solid black;
  57. margin: 20px;
  58. }