product-rollaction.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .main .about {
  2. margin-top: 100px;
  3. }
  4. .main .about .container {
  5. height: 592px;
  6. position: relative;
  7. }
  8. .main .about .item {
  9. position: absolute;
  10. width: 286px;
  11. height: 286px;
  12. background-color: pink;
  13. }
  14. .main .about .item:nth-child(3) {
  15. position: relative;
  16. width: 592px;
  17. height: 592px;
  18. margin: 0 auto;
  19. }
  20. .main .about .item:nth-child(1), .main .about .item:nth-child(2) {
  21. left: 0;
  22. }
  23. .main .about .item:nth-child(1), .main .about .item:nth-child(4) {
  24. top: 0;
  25. }
  26. .main .about .item:nth-child(4), .main .about .item:nth-child(5) {
  27. right: 0;
  28. }
  29. .main .about .item:nth-child(2), .main .about .item:nth-child(5) {
  30. bottom: 0;
  31. }
  32. .main .about .item .cover {
  33. width: 100%;
  34. height: 100%;
  35. }
  36. .main .about .item .cover img {
  37. display: block;
  38. width: 100%;
  39. height: 100%;
  40. }
  41. .main .about .item:hover .active {
  42. opacity: 1;
  43. }
  44. .main .about .item .active {
  45. opacity: 0;
  46. position: absolute;
  47. top: 0;
  48. left: 0;
  49. width: 100%;
  50. height: 100%;
  51. background: rgba(0, 0, 0, 0.5);
  52. text-align: center;
  53. display: -webkit-box;
  54. display: -ms-flexbox;
  55. display: flex;
  56. -webkit-box-pack: center;
  57. -ms-flex-pack: center;
  58. justify-content: center;
  59. -webkit-box-align: center;
  60. -ms-flex-align: center;
  61. align-items: center;
  62. -webkit-box-orient: vertical;
  63. -webkit-box-direction: normal;
  64. -ms-flex-direction: column;
  65. flex-direction: column;
  66. -webkit-transition: all 0.4s;
  67. transition: all 0.4s;
  68. }
  69. .main .about .item .active .title {
  70. font-size: 24px;
  71. color: #fff;
  72. }
  73. .main .about .item .active .line {
  74. width: 32px;
  75. height: 2px;
  76. background-color: #ffffff;
  77. margin: 40px auto;
  78. }
  79. .main .about .item .active .detail {
  80. font-size: 16px;
  81. color: #fff;
  82. line-height: 40px;
  83. padding: 0 70px;
  84. }
  85. .main .service {
  86. margin-top: 140px;
  87. }
  88. .main .service .cover {
  89. width: 568px;
  90. height: 568px;
  91. background: pink;
  92. }
  93. .main .service .cover img {
  94. display: block;
  95. width: 100%;
  96. height: 100%;
  97. }
  98. .main .service.one .content {
  99. padding-top: 113px;
  100. background-image: url(/img/service-title-bg-one.png);
  101. }
  102. .main .service.two {
  103. background: #f7f7f7;
  104. margin-top: 319px;
  105. }
  106. .main .service.two .container {
  107. position: relative;
  108. }
  109. .main .service.two .container .cover {
  110. position: absolute;
  111. bottom: 76px;
  112. left: 0;
  113. }
  114. .main .service.two .container .content {
  115. padding-top: 173px;
  116. height: 456px;
  117. background-image: url(/img/service-title-bg-two.png);
  118. background-position: left 60px;
  119. }
  120. .main .service.three .content {
  121. padding-top: 113px;
  122. background-image: url(/img/service-title-bg-three.png);
  123. }
  124. .main .service .content {
  125. width: 560px;
  126. text-align: justify;
  127. background-repeat: no-repeat;
  128. -webkit-box-sizing: border-box;
  129. box-sizing: border-box;
  130. }
  131. .main .service .content .title {
  132. font-size: 24px;
  133. font-weight: bold;
  134. }
  135. .main .service .content .line {
  136. width: 32px;
  137. height: 3px;
  138. background-color: #e8e8e8;
  139. margin: 32px 0;
  140. }
  141. .main .service .content .text {
  142. color: #999;
  143. }
  144. .main .service .content .lh40 {
  145. line-height: 40px;
  146. }