style.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. #ul1 {
  6. position: relative;
  7. margin: 0px auto;
  8. overflow: hidden;
  9. }
  10. #ul1 li {
  11. list-style: none;
  12. background-color: #164778;
  13. box-shadow: 0px 0px 3px 1px #ccc;
  14. z-index: 10 !important;
  15. }
  16. body {
  17. text-align: center;
  18. background-color: #86a7c5;
  19. }
  20. .box0 {
  21. width: 70px;
  22. height: 70px;
  23. background: url(../images/1.png) no-repeat;
  24. background-size: cover;
  25. float: left;
  26. }
  27. .box1 {
  28. width: 70px;
  29. height: 70px;
  30. background: url(../images/2.png) no-repeat;
  31. background-size: cover;
  32. float: left;
  33. }
  34. .box2 {
  35. width: 70px;
  36. height: 70px;
  37. background: url(../images/3.png) no-repeat;
  38. background-size: cover;
  39. float: left;
  40. }
  41. .box3 {
  42. width: 70px;
  43. height: 70px;
  44. background: url(../images/4.png) no-repeat;
  45. background-size: cover;
  46. float: left;
  47. }
  48. .box4 {
  49. width: 70px;
  50. height: 70px;
  51. background: url(../images/5.png) no-repeat;
  52. background-size: cover;
  53. float: left;
  54. }
  55. .box5 {
  56. width: 70px;
  57. height: 70px;
  58. background: url(../images/6.png) no-repeat;
  59. background-size: cover;
  60. float: left;
  61. }
  62. .top {
  63. display: flex;
  64. color: #fff;
  65. justify-content: center;
  66. align-items: center;
  67. height: 30px;
  68. }
  69. .left {
  70. margin-right: 50px;
  71. }
  72. .end {
  73. display: none;
  74. position: absolute;
  75. top: 45%;
  76. left: 50%;
  77. transform: translate(-50%, -50%);
  78. }
  79. .end>div {
  80. color: #fff;
  81. font-size: 24px;
  82. }
  83. .end .btn {
  84. cursor: pointer;
  85. margin: 30px auto 0;
  86. display: flex;
  87. justify-content: center;
  88. align-items: center;
  89. width: 275px;
  90. height: 75px;
  91. background: url('../images/btn.png');
  92. background-size: 100% 100%;
  93. padding-right: 20px;
  94. }
  95. .endImg{
  96. width: 300px;
  97. }
  98. .endImg img{
  99. width: 300px;
  100. }
  101. .zhezao {
  102. display: flex;
  103. justify-content: center;
  104. align-items: center;
  105. align-items: center;
  106. z-index: 999;
  107. background-color: rgba(0, 0, 0, .7);
  108. position: absolute;
  109. width: 100%;
  110. height: 100%;
  111. top: 0;
  112. left: 0;
  113. }
  114. .btnGo {
  115. cursor: pointer;
  116. font-size: 24px;
  117. color: #fff;
  118. display: flex;
  119. justify-content: center;
  120. align-items: center;
  121. width: 230px;
  122. height: 61px;
  123. background: url('../images/btn.png');
  124. background-size: 100% 100%;
  125. padding-right: 20px;
  126. }
  127. /* 适配手机端 */
  128. @media screen and (max-width: 600px) {
  129. #ul1 {
  130. width: 100vw !important;
  131. height: 100vh !important;
  132. }
  133. #ul1 li {
  134. width: calc(100vw / 7);
  135. height: calc(100vw / 7);
  136. }
  137. }