lottery.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html {
  6. width: 100%;
  7. }
  8. .background {
  9. width: 100%;
  10. height: auto;
  11. }
  12. .pool {
  13. position: absolute;
  14. width: 84%;
  15. height: auto;
  16. left: 7%;
  17. top: 250px;
  18. }
  19. .container {
  20. display: flex;
  21. flex-wrap: wrap;
  22. justify-content: space-around;
  23. position: absolute;
  24. width: 76%;
  25. height: 90%;
  26. left: 11%;
  27. }
  28. .item {
  29. border-radius: 18px;
  30. width: 32%;
  31. }
  32. .active {
  33. box-shadow : 0 0 0 2px aqua;
  34. }
  35. .title{
  36. width: 100%;
  37. text-align: center;
  38. font-size: 20px;
  39. font-weight: 700;
  40. position: absolute;
  41. left: 0;
  42. }
  43. .tips{
  44. color: #470C82;
  45. position: absolute;
  46. width: 90%;
  47. left: 5%;
  48. }
  49. .mask{
  50. position: absolute;
  51. top: 0;
  52. height: 100%;
  53. width: 100%;
  54. background-color: rgba(0, 0, 0, 0.7);
  55. z-index: 10;
  56. }
  57. .result{
  58. position: absolute;
  59. width: 100%;
  60. left: 0;
  61. top: 0;
  62. z-index: 11;
  63. }
  64. .result_failed_button{
  65. position: absolute;
  66. left: 24%;
  67. width: 52%;
  68. z-index: 12;
  69. }
  70. .result_failed_text{
  71. position: absolute;
  72. width: 100%;
  73. text-align: center;
  74. z-index: 13;
  75. color: white;
  76. font-size: 20px;
  77. }
  78. .result_success_title{
  79. position: absolute;
  80. width: 100%;
  81. text-align: center;
  82. z-index: 12;
  83. color: orange;
  84. font-size: 20px;
  85. }
  86. .result_success_logo{
  87. position: absolute;
  88. width: 30%;
  89. left: 35%;
  90. z-index: 12;
  91. }
  92. input{
  93. position: absolute;
  94. left: 24%;
  95. width: 45%;
  96. z-index: 12;
  97. height: 40px;
  98. border: orange solid 3px;
  99. border-radius: 40px;
  100. padding-left: 20px;
  101. }
  102. .result_success_button{
  103. position: absolute;
  104. left: 24%;
  105. width: 52%;
  106. z-index: 12;
  107. }
  108. /*滚动*/
  109. .case {
  110. position: absolute;
  111. width: 95%;
  112. left: 5%;
  113. height: 70px;
  114. overflow: hidden;
  115. }
  116. .case .part2 {
  117. float: left;
  118. width: 93%;
  119. height: 70px;
  120. text-indent: 1em;
  121. overflow: hidden;
  122. }
  123. #part2 ul {
  124. width: 100%;
  125. height: auto;
  126. list-style: none;
  127. padding: 0;
  128. margin: 0;
  129. }
  130. #part2 ul li {
  131. width: 100%;
  132. height: 30px;
  133. font-size: 16px;
  134. line-height: 30px;
  135. color: white;
  136. overflow: hidden;
  137. white-space: nowrap;
  138. text-overflow: ellipsis;
  139. }