lottery.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. }
  39. .tips{
  40. color: #470C82;
  41. position: absolute;
  42. width: 90%;
  43. left: 5%;
  44. }
  45. .mask{
  46. position: absolute;
  47. top: 0;
  48. height: 100%;
  49. width: 100%;
  50. background-color: rgba(0, 0, 0, 0.7);
  51. z-index: 10;
  52. }
  53. .result{
  54. position: absolute;
  55. width: 100%;
  56. left: 0;
  57. top: 0;
  58. z-index: 11;
  59. }
  60. .result_failed_button{
  61. position: absolute;
  62. left: 24%;
  63. width: 52%;
  64. z-index: 12;
  65. }
  66. .result_failed_text{
  67. position: absolute;
  68. width: 100%;
  69. text-align: center;
  70. z-index: 13;
  71. color: white;
  72. font-size: 20px;
  73. }
  74. .result_success_title{
  75. position: absolute;
  76. width: 100%;
  77. text-align: center;
  78. z-index: 12;
  79. color: orange;
  80. font-size: 20px;
  81. }
  82. .result_success_logo{
  83. position: absolute;
  84. width: 30%;
  85. left: 35%;
  86. z-index: 12;
  87. }
  88. input{
  89. position: absolute;
  90. left: 24%;
  91. width: 45%;
  92. z-index: 12;
  93. height: 40px;
  94. border: orange solid 3px;
  95. border-radius: 40px;
  96. padding-left: 20px;
  97. }
  98. .result_success_button{
  99. position: absolute;
  100. left: 24%;
  101. width: 52%;
  102. z-index: 12;
  103. }
  104. /*滚动*/
  105. .case {
  106. position: absolute;
  107. width: 95%;
  108. left: 5%;
  109. height: 70px;
  110. overflow: hidden;
  111. }
  112. .case .part2 {
  113. float: left;
  114. width: 93%;
  115. height: 70px;
  116. text-indent: 1em;
  117. overflow: hidden;
  118. }
  119. #part2 ul {
  120. width: 100%;
  121. height: auto;
  122. list-style: none;
  123. padding: 0;
  124. margin: 0;
  125. }
  126. #part2 ul li {
  127. width: 100%;
  128. height: 30px;
  129. font-size: 16px;
  130. line-height: 30px;
  131. color: white;
  132. overflow: hidden;
  133. white-space: nowrap;
  134. text-overflow: ellipsis;
  135. }