product-rollaction.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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: flex;
  54. justify-content: center;
  55. align-items: center;
  56. flex-direction: column;
  57. transition: all 0.4s;
  58. }
  59. .main .about .item .active .title {
  60. font-size: 24px;
  61. color: #fff;
  62. }
  63. .main .about .item .active .line {
  64. width: 32px;
  65. height: 2px;
  66. background-color: #ffffff;
  67. margin: 40px auto;
  68. }
  69. .main .about .item .active .detail {
  70. font-size: 16px;
  71. color: #fff;
  72. line-height: 40px;
  73. padding: 0 70px;
  74. }
  75. .main .service {
  76. margin-top: 140px;
  77. }
  78. .main .service .cover {
  79. width: 568px;
  80. height: 568px;
  81. background: pink;
  82. }
  83. .main .service .cover img {
  84. display: block;
  85. width: 100%;
  86. height: 100%;
  87. }
  88. .main .service.one .content {
  89. padding-top: 113px;
  90. background-image: url(/img/service-title-bg-one.png);
  91. }
  92. .main .service.two {
  93. background: #f7f7f7;
  94. margin-top: 319px;
  95. }
  96. .main .service.two .container {
  97. position: relative;
  98. }
  99. .main .service.two .container .cover {
  100. position: absolute;
  101. bottom: 76px;
  102. left: 0;
  103. }
  104. .main .service.two .container .content {
  105. padding-top: 173px;
  106. height: 456px;
  107. background-image: url(/img/service-title-bg-two.png);
  108. background-position: left 60px;
  109. }
  110. .main .service.three .content {
  111. padding-top: 113px;
  112. background-image: url(/img/service-title-bg-three.png);
  113. }
  114. .main .service .content {
  115. width: 560px;
  116. text-align: justify;
  117. background-repeat: no-repeat;
  118. box-sizing: border-box;
  119. }
  120. .main .service .content .title {
  121. font-size: 24px;
  122. font-weight: bold;
  123. }
  124. .main .service .content .line {
  125. width: 32px;
  126. height: 3px;
  127. background-color: #e8e8e8;
  128. margin: 32px 0;
  129. }
  130. .main .service .content .text {
  131. color: #999;
  132. }
  133. .main .service .content .lh40 {
  134. line-height: 40px;
  135. }