No Description

fanpai.css 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. body {
  2. width: 100%;
  3. height: 100%;
  4. background: #fce379;
  5. /* overflow-x: hidden; */
  6. padding: 0 .1rem;
  7. }
  8. .back1 {
  9. width: 100%;
  10. position: absolute;
  11. top: 0;
  12. left: 0;
  13. z-index: 0;
  14. }
  15. .rule_content {
  16. display: none;
  17. z-index: 2;
  18. }
  19. img {
  20. display: block;
  21. margin: 0 auto;
  22. -webkit-transition: all 5s ease-in-out;
  23. transition: all 5s ease-in-out;
  24. -webkit-transform: rotateY(0deg);
  25. transform: rotateY(0deg);
  26. -webkit-animation: move 2s 6s ease-in-out forwards;
  27. animation: move 2s 6s ease-in-out forwards;
  28. }
  29. .rule {
  30. color: #3eb1fc;
  31. background: #fff;
  32. z-index: 1;
  33. }
  34. .main {
  35. width: 3.23rem;
  36. height: 3.33rem;
  37. padding-bottom: .075rem;
  38. border: .01rem solid transparent;
  39. clear: both;
  40. margin: 1.27rem auto;
  41. margin-top: 1.91rem;
  42. padding: .7rem .26rem;
  43. position: relative;
  44. }
  45. .main li {
  46. width: .79rem;
  47. height: 1.08rem;
  48. line-height: 1.08rem;
  49. text-align: center;
  50. float: left;
  51. margin-right: .15rem;
  52. margin-bottom: .15rem;
  53. background: #FAD22C;
  54. border-radius: .05rem;
  55. -webkit-transform: rotateY(0deg);
  56. transform: rotateY(0deg);
  57. background-image: url("../img/cen.png");
  58. background-size: 100% 100%;
  59. position: relative;
  60. }
  61. .main li:nth-child(3n) {
  62. margin-right: 0;
  63. }
  64. .active {
  65. width: 100%;
  66. height: 100%;
  67. position: absolute;
  68. top: .64rem;
  69. left: 0;
  70. }
  71. .active li {
  72. position: absolute;
  73. top: 1.98rem;
  74. left: .53rem;
  75. width: .79rem;
  76. height: 1.08rem;
  77. line-height: 1.08rem;
  78. text-align: center;
  79. float: left;
  80. background: #FAD22C;
  81. border-radius: .05rem;
  82. background-image: url("../img/cen.png");
  83. background-size: 100% 100%;
  84. -webkit-transform: rotateY(0deg);
  85. transform: rotateY(0deg);
  86. }
  87. .active li:nth-child(2) {
  88. left: 1.47rem;
  89. }
  90. .active li:nth-child(3) {
  91. left: 2.41rem;
  92. }
  93. .active li:nth-child(4) {
  94. top: 3.21rem;
  95. }
  96. .active li:nth-child(5) {
  97. left: 1.47rem;
  98. top: 3.21rem;
  99. }
  100. .active li:nth-child(6) {
  101. left: 2.41rem;
  102. top: 3.21rem;
  103. }
  104. .active li.animate {
  105. z-index: 2;
  106. top: 1.5rem;
  107. left: 50%;
  108. margin-left: -.395rem;
  109. -webkit-transition:all 1s;
  110. transition:all 1s;
  111. }
  112. .active li.rotate {
  113. -webkit-transform: rotateY(720deg);
  114. transform: rotateY(720deg);
  115. -webkit-transition: all 3s;
  116. transition: all 3s;
  117. }
  118. .active li.scale {
  119. top: 50%;
  120. left: 50%;
  121. margin-left: -.395rem;
  122. margin-top: -1.4rem;
  123. -webkit-transform: scale(1.5,1.5);
  124. transform: scale(1.5,1.5);
  125. -webkit-transition: all 2s;
  126. transition: all 2s;
  127. }
  128. .all {
  129. width: 100%;
  130. height: 100%;
  131. position: absolute;
  132. top: 0;
  133. left: 0;
  134. z-index: 3;
  135. display: none;
  136. }
  137. .rule_content {
  138. background-image: url("../img/rule2.png");
  139. }
  140. .rule_content button {
  141. background: #4FB9FF;
  142. }
  143. .lastTime {
  144. width: 1.2rem;
  145. height: .2rem;
  146. color: #10ABFF;
  147. text-align: center;
  148. position: absolute;
  149. top: 1.8rem;
  150. left: 50%;
  151. transform: translate(-.7rem,0);
  152. }
  153. .toast {
  154. width: 100%;
  155. height: 100%;
  156. position: absolute;
  157. top: 0;
  158. left: 0;
  159. z-index: 2;
  160. display: none;
  161. }
  162. .toast>div {
  163. position: absolute;
  164. top: 50%;
  165. left: 50%;
  166. z-index: 2;
  167. background-size: 100% 100%;
  168. }
  169. .mask1 {
  170. width: 2.23rem;
  171. height: 2.23rem;
  172. background-image: url("../img/op.png");
  173. animation: animation1 3s infinite;
  174. margin-left: -1.165rem;
  175. margin-top: -1.165rem;
  176. }
  177. .gift1 {
  178. width: 1.59rem;
  179. height: 1.59rem;
  180. background-image: url("../img/bigGift.png");
  181. margin-left: -.795rem;
  182. margin-top: -.795rem;
  183. }
  184. .lastTime img {
  185. width: 65%;
  186. height: 100%;
  187. float: left;
  188. }
  189. .lastTime span {
  190. line-height: .24rem;
  191. display: inline-block;
  192. transform: rotate(10deg);
  193. }