step1.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. .wrap {
  2. display: flex;
  3. justify-content: center;
  4. align-items: center;
  5. position: relative;
  6. /* 背景渐变色 */
  7. text-align: center;
  8. text-decoration: none;
  9. text-transform: uppercase;
  10. background-image: linear-gradient(to right, #134392, #132FBB, #5F38C1, #134392);
  11. /* 背景渐变色大小 */
  12. background-size: 300%;
  13. box-shadow: none;
  14. animation: light 10s infinite;
  15. animation-direction: alternate;
  16. }
  17. /* 下面设计 发光效果 */
  18. .wrap::before {
  19. content: '';
  20. position: absolute;
  21. top: -6px;
  22. bottom: -6px;
  23. left: -6px;
  24. right: -6px;
  25. border-radius: 60px;
  26. /* 背景渐变色 */
  27. background-image: linear-gradient(to right, rgba(48,114,229,0.15), rgba(48,114,229,0.15));
  28. /* 背景渐变色大小 */
  29. background-size: 300%;
  30. /* 元素的位置 底层或者顶层 -值表示底层 + 值表示顶层 */
  31. z-index: -1;
  32. /* 设置模糊度 显示发光效果 */
  33. filter: blur(20px);
  34. }
  35. @keyframes light {
  36. 100% {
  37. background-position: -100% 0;
  38. }
  39. }
  40. .section {
  41. height: 100%;
  42. z-index: 11;
  43. position: absolute;
  44. background: rgba(34, 34, 34, 0.6);
  45. border-radius: 36px 36px 36px 36px;
  46. backdrop-filter: blur(20px);
  47. -webkit-backdrop-filter: blur(20px);
  48. }
  49. .logo {
  50. width: 186px;
  51. height: 70px;
  52. margin-bottom: 20px;
  53. transition: all 0.3s;
  54. cursor: pointer;
  55. }
  56. .logo:hover {
  57. transform: scale(1.1);
  58. }
  59. .bottom {
  60. color: #5A487D;
  61. width: 110px;
  62. height: 32px;
  63. background: #FFFFFF;
  64. border-radius: 137px 137px 137px 137px;
  65. font-size: 14px;
  66. line-height: 32px;
  67. margin: 0 auto;
  68. margin-top: 20px;
  69. cursor: pointer;
  70. text-align: center;
  71. /*font-size: 400px;*/
  72. transition: all 0.3s;
  73. }
  74. .bottom:hover {
  75. box-shadow: 0 2px 25px rgba(0, 234, 250, 0.5);
  76. }
  77. .bottom .btn {
  78. display: block;
  79. width: 100%;
  80. height: 100%;
  81. font-weight: 600;
  82. }
  83. .more-text {
  84. background: linear-gradient(to right, #134392 0%, #363A8A 100%);
  85. -webkit-background-clip: text;
  86. color: transparent;
  87. }
  88. .agreement {
  89. height: 21px;
  90. margin: 6px 0 10px 0;
  91. }
  92. .agreements {
  93. color: #A8CDE7;
  94. }
  95. .solgen {
  96. position: absolute;
  97. width: 364px;
  98. height: 16px;
  99. bottom: 45px;
  100. left: 218px;
  101. }
  102. .radio-box {
  103. border: 1px solid #fff;
  104. border-radius: 50%;
  105. width: 14px;
  106. height: 14px;
  107. position: relative;
  108. margin-right: 10px;
  109. font-size: 14px;
  110. }
  111. .is-shock {
  112. animation: shock 0.5s infinite;
  113. }
  114. .agreement span {
  115. line-height: 14px;
  116. }
  117. .radio-box img {
  118. position: absolute;
  119. left: -1px;
  120. top: -1px;
  121. width: 16px;
  122. height: 16px;
  123. animation: show 0.3s;
  124. }
  125. @keyframes show {
  126. 0% {
  127. transform: scale(0);
  128. -moz-transform: scale(0);
  129. -webkit-transform: scale(0);
  130. }
  131. 100% {
  132. transform: scale(1);
  133. -moz-transform: scale(1);
  134. -webkit-transform: scale(1);
  135. }
  136. }
  137. @keyframes shock {
  138. 0% {
  139. margin-top: 0px;
  140. }
  141. 20% {
  142. margin-bottom: 10px;
  143. }
  144. 40% {
  145. margin-bottom: 0px;
  146. }
  147. 60% {
  148. margin-bottom: 8px;
  149. }
  150. 70% {
  151. margin-bottom: 0px;
  152. }
  153. 90% {
  154. margin-bottom: 4px;
  155. }
  156. 100% {
  157. margin-bottom: 0px;
  158. }
  159. }