style.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. margin-top: 30px;
  82. font-size: 24px;
  83. }
  84. .end .btn{
  85. cursor: pointer;
  86. margin: 30px auto 0;
  87. display: flex;
  88. justify-content: center;
  89. align-items: center;
  90. width: 275px;
  91. height: 75px;
  92. background: url('../images/btn.png');
  93. background-size: 100% 100%;
  94. }
  95. /* 适配手机端 */
  96. @media screen and (max-width: 600px) {
  97. #ul1{
  98. width: 100vw !important;
  99. height: 100vh !important;
  100. }
  101. #ul1 li {
  102. width: calc(100vw / 7);
  103. height: calc(100vw / 7);
  104. }
  105. }