main.css 749 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #light,
  2. #pedestrianLight {
  3. display: flex;
  4. flex-direction: column;
  5. justify-content: space-around;
  6. align-items: center;
  7. width: 100px;
  8. height: 200px;
  9. margin: 20px;
  10. box-shadow: 0 0 0 1px #000;
  11. }
  12. #light div,
  13. #pedestrianLight div {
  14. width: 50px;
  15. height: 50px;
  16. box-shadow: 0 0 0 1px #000;
  17. border-radius: 40px;
  18. }
  19. #btn {
  20. width: 40px;
  21. height: 40px;
  22. border: 3px solid #000;
  23. border-radius: 45%;
  24. margin: 20px;
  25. background-color: #7dfd5d;
  26. transition: all 0.3s ease;
  27. }
  28. #btn:hover {
  29. background-color: #4efa23;
  30. transform: scale(1.05);
  31. }
  32. #btn:active {
  33. transform: scale(0.95);
  34. }
  35. #btn:disabled {
  36. transform: scale(1);
  37. background-color: #999;
  38. border-color: #7c7c7c;
  39. }