碧桂园
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

73 рядки
1.1 KiB

  1. .container {
  2. width: 400rpx;
  3. height: 360rpx;
  4. position: relative;
  5. }
  6. .line {
  7. position: absolute;
  8. width: 400rpx;
  9. height: 12rpx;
  10. background: linear-gradient(90deg, rgba(243, 152, 0, 0) 0%, rgba(243, 152, 0, 1) 20%, rgba(243, 152, 0, 1) 80%, rgba(243, 152, 0, 0) 100%);
  11. top: 0;
  12. bottom: 0;
  13. margin: auto;
  14. }
  15. .text {
  16. text-align: center;
  17. font-size: 32rpx;
  18. font-weight: 600;
  19. color: #FFFFFF;
  20. text-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.5);
  21. }
  22. .loading {
  23. position: absolute;
  24. width: fit-content;
  25. height: fit-content;
  26. top: 0;
  27. bottom: 0;
  28. left: 0;
  29. right: 0;
  30. margin: auto;
  31. }
  32. .loading-ani {
  33. width: 12rpx;
  34. height: 100rpx;
  35. background: #f39800;
  36. display: inline-block;
  37. margin: 0 10rpx;
  38. animation: loading-ani linear 1s infinite;
  39. }
  40. .loading-ani:nth-child(1) {
  41. animation-delay: 0s;
  42. }
  43. .loading-ani:nth-child(2) {
  44. animation-delay: -.15s;
  45. }
  46. .loading-ani:nth-child(3) {
  47. animation-delay: -.3s;
  48. }
  49. .loading-ani:nth-child(4) {
  50. animation-delay: -.45s;
  51. }
  52. .loading-ani:nth-child(5) {
  53. animation-delay: -.6s;
  54. }
  55. @keyframes loading-ani {
  56. 0%, 100%, 60% {
  57. transform: scaleY(1)
  58. }
  59. 30% {
  60. transform: scaleY(3)
  61. }
  62. }