You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 548B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. html, body {
  2. overflow: hidden;
  3. position: fixed;
  4. width: 100%;
  5. height: 100%;
  6. margin: 0px;
  7. }
  8. h1 {
  9. margin-left: 20px;
  10. }
  11. #games {
  12. padding: 24px;
  13. }
  14. #games a {
  15. padding: 12px;
  16. display: block;
  17. }
  18. #overlay {
  19. transition: opacity 0.5s, transform 0.5s;
  20. opacity: 0;
  21. pointer-events: none;
  22. position: absolute;
  23. top: 0px;
  24. left: 0px;
  25. width: 100%;
  26. height: 100%;
  27. background-color: black;
  28. color: white;
  29. transform: scale(2);
  30. display: flex;
  31. align-items: center;
  32. justify-content: center;
  33. }
  34. #overlay.active {
  35. opacity: 1;
  36. transform: scale(1);
  37. }