game-content.component.scss 940 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. ion-item {
  2. font-size: 24px;
  3. transition: transform 0.3s;
  4. ion-label {
  5. font-size: 30px;
  6. }
  7. &.go {
  8. background-color: #FFD700; /* 金色 */
  9. }
  10. &.chess {
  11. background-color: #FF69B4; /* 粉色 */
  12. }
  13. &.junqi {
  14. background-color: #87CEEB; /* 天蓝色 */
  15. }
  16. &.more {
  17. background-color: #32CD32; /* 青绿色 */
  18. }
  19. &:hover {
  20. transform: scale(1.1);
  21. }
  22. }
  23. .circles {
  24. display: flex;
  25. justify-content: center;
  26. margin-top: 20px;
  27. .circle {
  28. width: 20px;
  29. height: 20px;
  30. background-color: #000;
  31. border-radius: 50%;
  32. margin: 0 10px;
  33. animation: pulse 2s infinite;
  34. }
  35. .circle:nth-child(2) {
  36. animation-delay: 0.4s;
  37. }
  38. .circle:nth-child(3) {
  39. animation-delay: 0.8s;
  40. }
  41. }
  42. @keyframes pulse {
  43. 0% {
  44. transform: scale(1);
  45. }
  46. 50% {
  47. transform: scale(1.5);
  48. }
  49. 100% {
  50. transform: scale(1);
  51. }
  52. }