drop.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. html,body{height: 100%;}
  2. .model-mask{
  3. width: 100%;
  4. height: 100%;
  5. background-color: rgba(0,0,0,.5);
  6. display: none;
  7. position: absolute;
  8. top: 0;
  9. left: 0;
  10. z-index: 999;
  11. }
  12. .model-mask .rules{
  13. width: 2.86rem;
  14. height: 3rem;
  15. position: absolute;
  16. top: 1.57rem;
  17. left: 0.42rem;
  18. }
  19. .model-mask .gameOver{
  20. width: 3.2rem;
  21. height: 3.2rem;
  22. position: absolute;
  23. top: 2rem;
  24. left: 0.41rem;
  25. background-size: 100% 100%;
  26. }
  27. .model-mask .again,
  28. .model-mask .goNext{
  29. width: 1rem;
  30. height: 0.4rem;
  31. position: absolute;
  32. top: 1.3rem;
  33. }
  34. .model-mask .text{
  35. width: 2rem;
  36. height: 0.5rem;
  37. position: absolute;
  38. bottom: 0.5rem;
  39. left: 0.6rem;
  40. z-index: 100;
  41. }
  42. .model-mask .again{
  43. left: 0.34rem;
  44. }
  45. .model-mask .goNext{
  46. left: 1.81rem;
  47. }
  48. .score {
  49. position: absolute;
  50. top: 20px;
  51. left: 20px;
  52. background: #2B669A;
  53. color: #000000;
  54. font-size: 25px;
  55. padding: 5px;
  56. }
  57. .top-time{
  58. width: 2.27rem;
  59. height: 0.92rem;
  60. background-image: url(../images/p2-time_02.png);
  61. background-size: 100% 100%;
  62. position: absolute;
  63. top: 0;
  64. left: 0.72rem;
  65. /*opacity: 0;*/
  66. }
  67. #scoreNum,.time{
  68. position: absolute;
  69. font-size: 0.2rem;
  70. display: block;
  71. width: 0.3rem;
  72. text-align: center;
  73. font-weight: bold;
  74. }
  75. #scoreNum{
  76. left: 0.5rem;
  77. top: 0.55rem;
  78. }
  79. .time{
  80. left: 1.6rem;
  81. top: 0.55rem;
  82. }
  83. .bottom{
  84. /*opacity: 0;*/
  85. width: 100%;
  86. height: 3.02rem;
  87. position: absolute;
  88. bottom: 0;
  89. left: 0;
  90. }
  91. .model-person,
  92. .model-startBtn,
  93. .model-yun,
  94. .model-qiu{
  95. background-size: 100% 100%;
  96. position: absolute;
  97. }
  98. .model-person{
  99. width: 1.21rem;
  100. height: 1.37rem;
  101. background-image: url(../images/p2-person_03.png);
  102. bottom: 1.65rem;
  103. left: 1.27rem;
  104. }
  105. .model-startBtn{
  106. width: 1.62rem;
  107. height:0.68rem;
  108. background-image: url(../images/p2-btn_03.png);
  109. bottom: 0.94rem;
  110. left: 1.08rem;
  111. z-index: 10;
  112. }
  113. .model-yun{
  114. width: 100%;
  115. height: 1.15rem;
  116. background-image: url(../images/p2-rules_02.png);
  117. bottom: 0;
  118. left: 0;
  119. }
  120. .model-qiu{
  121. width: 0.34rem;
  122. height: 0.46rem;
  123. background-image: url(../images/p2-qiu_03.png);
  124. bottom: 1.01rem;
  125. right: 0.43rem;
  126. z-index: 10;
  127. }
  128. #bag{
  129. width: 1.21rem;
  130. height: 1.39rem;
  131. position: absolute;
  132. bottom: 0.05rem;
  133. left: 33%;
  134. display: none;
  135. }
  136. #top{
  137. position: relative;
  138. width:3.1rem;
  139. margin: 0 auto;
  140. height: 100%;
  141. overflow: hidden;
  142. }
  143. #top .drop{
  144. z-index: 99;
  145. top:0.9rem;
  146. position:absolute;
  147. width: 70px;
  148. }
  149. #top .person{
  150. width: 70px;
  151. }