lottery.css 2.3 KB

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