style.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. @charset "utf-8";
  2. .warp-big-title {
  3. position: relative;
  4. }
  5. .ny-open {
  6. position:absolute;
  7. right:0;
  8. top:-30px
  9. }
  10. .newyear2017 {
  11. position: fixed;
  12. z-index: 999;
  13. top:-1920px;
  14. left: 0;
  15. background: url(bb.png) repeat;
  16. opacity:0
  17. }
  18. .newyear2017 .bg-l{
  19. background:url(bg-l.png) no-repeat 0 0;
  20. width:435px;
  21. height: 1080px;
  22. position: absolute;
  23. left:-100px;
  24. z-index: 200;
  25. opacity:0
  26. }
  27. .newyear2017 .bg-r{
  28. background:url(bg-r.png) no-repeat 0 0;
  29. width:435px;
  30. height: 1080px;
  31. position: absolute;
  32. right:-100px;
  33. z-index: 200;
  34. opacity:0
  35. }
  36. .newyear2017 .bg-b{
  37. background:url(bg-b.png) no-repeat 0 0;
  38. width:1920px;
  39. height:133px;
  40. position: absolute;
  41. bottom:0;
  42. left:0;;
  43. z-index: 100;
  44. opacity:0
  45. }
  46. .newyear2017 .c-l{
  47. background:url(c-l.png) no-repeat 0 0;
  48. width:477px;
  49. height:386px;
  50. position: absolute;
  51. top:50%;
  52. margin-top: -50px;
  53. left:-50px;
  54. opacity:0
  55. }
  56. .newyear2017 .c-r{
  57. background:url(c-r.png) no-repeat 0 0;
  58. width:436px;
  59. height:406px;
  60. position: absolute;
  61. top:50%;
  62. margin-top: -250px;
  63. right: -50px;
  64. opacity:0
  65. }
  66. .newyear2017 .ny-content {
  67. position: absolute;
  68. left:50%;
  69. margin-left:-393px;
  70. z-index: 300;
  71. top:30px;
  72. opacity:0;
  73. width:787px
  74. }
  75. .newyear2017 .ny-content .title{
  76. width:787px;
  77. height:340px;
  78. background:url(title.png) no-repeat 0 0
  79. }
  80. .newyear2017 .ny-content p{
  81. color:#fff;
  82. text-align: center;
  83. font-size:48px;
  84. text-shadow: 0 3px 3px #000
  85. }
  86. .ny-content .q-btn {
  87. text-align: center
  88. }
  89. .ny-content .q-btn a{
  90. display: inline-block;
  91. background:#ff2a39;
  92. color:#fff;
  93. font-size: 18px;
  94. padding:20px 30px;
  95. cursor: pointer;
  96. border:1px solid #ff2a39
  97. }
  98. .ny-content .q-btn a:hover{
  99. text-decoration: none;
  100. background:#fe404d;
  101. border:1px solid #fff;
  102. color:#ddd
  103. }
  104. /*动画*/
  105. .ny-content .animation{
  106. position:absolute;
  107. opacity:0
  108. }
  109. .newyear2017.show{
  110. top:0
  111. }
  112. .newyear2017 .bg-b{
  113. transition: all 0.8s ease-out 0s;
  114. transform: translateY(60px);
  115. transition-delay: 0.3s;
  116. }
  117. .newyear2017 .ny-content{
  118. transition: all 0.8s ease-out 0s;
  119. transform: translateY(-60px);
  120. transition-delay: 1s;
  121. }
  122. .newyear2017 .bg-l{
  123. transition: all 0.8s ease-in 0s;
  124. transform: translateX(-70px);
  125. }
  126. .newyear2017 .bg-r{
  127. transition: all 0.8s ease-in 0s;
  128. transform: translateX(70px);
  129. }
  130. .newyear2017 .c-l{
  131. transition: all 0.8s ease-in 0s;
  132. transform: translateX(-70px);
  133. transition-delay: 0.5s;
  134. }
  135. .newyear2017 .c-r{
  136. transition: all 0.8s ease-in 0s;
  137. transform: translateX(70px);
  138. transition-delay: 0.7s;
  139. }
  140. .newyear2017.show {
  141. opacity:1
  142. }
  143. .newyear2017.show .bg-b{
  144. transform: translateY(0px);
  145. opacity:1;
  146. }
  147. .newyear2017.show .ny-content{
  148. transform: translateY(0px);
  149. opacity:1;
  150. }
  151. .newyear2017.show .bg-l{
  152. transform: translateX(0px);
  153. opacity:1;
  154. }
  155. .newyear2017.show .bg-r{
  156. transform: translateX(0px);
  157. opacity:1;
  158. }
  159. .newyear2017.show .c-l{
  160. transform: translateX(0px);
  161. opacity:1;
  162. }
  163. .newyear2017.show .c-r{
  164. transform: translateX(0px);
  165. opacity:1;
  166. }