services.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. @charset "UTF-8";
  2. /*主色调*/
  3. /*文字文本*/
  4. /*单行省略号*/
  5. /*多行省略号*/
  6. /*箭头*/
  7. /**a标签hoverboder效果**/
  8. /**使用vw适配**/
  9. .banner img {
  10. width: 100%;
  11. }
  12. .service {
  13. margin-top: 40px;
  14. margin-bottom: 60px;
  15. }
  16. @media (min-width: 768px) {
  17. .service {
  18. margin-top: 50px;
  19. margin-bottom: 90px;
  20. }
  21. }
  22. @media (min-width: 1200px) {
  23. .service {
  24. margin-top: 80px;
  25. margin-bottom: 120px;
  26. }
  27. }
  28. .headline {
  29. text-align: center;
  30. color: #111;
  31. font-size: 24px;
  32. }
  33. @media (min-width: 768px) {
  34. .headline {
  35. font-size: 32px;
  36. }
  37. }
  38. @media (min-width: 1200px) {
  39. .headline {
  40. font-size: 44px;
  41. }
  42. }
  43. .icon {
  44. text-align: center;
  45. margin: 30px auto;
  46. }
  47. @media (min-width: 768px) {
  48. .icon {
  49. margin: 50px auto;
  50. }
  51. }
  52. @media (min-width: 1200px) {
  53. .icon {
  54. margin: 90px auto 70px;
  55. }
  56. }
  57. .icon ul:after {
  58. content: '';
  59. display: block;
  60. clear: both;
  61. }
  62. .icon ul li {
  63. float: left;
  64. width: 33.33%;
  65. margin-top: 20px;
  66. }
  67. @media (min-width: 768px) {
  68. .icon ul li {
  69. margin-top: 0;
  70. width: 20%;
  71. }
  72. }
  73. .icon a {
  74. display: inline-block;
  75. cursor: pointer;
  76. padding: 0 10px;
  77. }
  78. .icon a:hover img, .icon a:active img {
  79. -webkit-transform: translateY(-10px);
  80. transform: translateY(-10px);
  81. }
  82. .icon a:hover p, .icon a:active p {
  83. color: #ed4747;
  84. -webkit-transform: translateY(-15px);
  85. transform: translateY(-15px);
  86. }
  87. .icon img {
  88. width: 46px;
  89. height: 46px;
  90. -o-object-fit: contain;
  91. object-fit: contain;
  92. -webkit-transition: all .5s ease;
  93. transition: all .5s ease;
  94. }
  95. @media (min-width: 768px) {
  96. .icon img {
  97. width: 64px;
  98. height: 64px;
  99. }
  100. }
  101. .icon p {
  102. font-size: 14px;
  103. color: #666;
  104. margin-top: 10px;
  105. -webkit-transition: all .5s ease .1s;
  106. transition: all .5s ease .1s;
  107. }
  108. @media (min-width: 768px) {
  109. .icon p {
  110. margin-top: 15px;
  111. font-size: 16px;
  112. }
  113. }
  114. .list .row > div {
  115. margin-top: 20px;
  116. }
  117. @media (min-width: 768px) {
  118. .list .row > div {
  119. margin-top: 20px;
  120. }
  121. }
  122. @media (min-width: 1200px) {
  123. .list .row > div {
  124. margin-top: 50px;
  125. }
  126. }
  127. .list h2.title {
  128. padding: 15px 0;
  129. border-bottom: 1px solid #ddd;
  130. color: #111;
  131. font-size: 20px;
  132. margin-bottom: 20px;
  133. }
  134. @media (min-width: 768px) {
  135. .list h2.title {
  136. font-size: 24px;
  137. margin-bottom: 20px;
  138. }
  139. }
  140. @media (min-width: 1200px) {
  141. .list h2.title {
  142. font-size: 30px;
  143. margin-bottom: 40px;
  144. }
  145. }
  146. .list .con {
  147. position: relative;
  148. background: #f5f5f5;
  149. height: 180px;
  150. padding: 20px 15px;
  151. -webkit-transition: all .5s ease;
  152. transition: all .5s ease;
  153. }
  154. @media (min-width: 768px) {
  155. .list .con {
  156. padding: 30px 20px;
  157. height: 218px;
  158. }
  159. }
  160. .list .con:hover {
  161. background: #fff;
  162. -webkit-box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.2);
  163. box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.2);
  164. }
  165. .list .con:hover .see {
  166. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  167. opacity: 1;
  168. }
  169. .list .con h4 {
  170. color: #111;
  171. margin-bottom: 10px;
  172. font-size: 16px;
  173. }
  174. @media (min-width: 768px) {
  175. .list .con h4 {
  176. font-size: 20px;
  177. }
  178. }
  179. .list .con p {
  180. color: #666;
  181. line-height: 2;
  182. font-size: 14px;
  183. }
  184. @media (min-width: 768px) {
  185. .list .con p {
  186. font-size: 16px;
  187. }
  188. }
  189. .list .con p a {
  190. display: block;
  191. width: auto;
  192. overflow: hidden;
  193. text-overflow: ellipsis;
  194. white-space: nowrap;
  195. word-wrap: normal;
  196. color: #666;
  197. }
  198. .list .con p a:hover {
  199. color: #ed4747;
  200. }
  201. .list .con .see {
  202. position: absolute;
  203. right: 30px;
  204. bottom: 30px;
  205. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  206. opacity: 0;
  207. color: #ed4747;
  208. -webkit-transition: all .5s ease;
  209. transition: all .5s ease;
  210. }
  211. .list .con .see:hover {
  212. text-decoration: underline;
  213. }
  214. .list .con .btn-i a {
  215. position: relative;
  216. overflow: hidden;
  217. z-index: 1;
  218. margin-top: 30px;
  219. display: block;
  220. width: 160px;
  221. height: 42px;
  222. line-height: 42px;
  223. background: #ed4747;
  224. color: #fff;
  225. text-align: center;
  226. font-size: 16px;
  227. }
  228. .list .con .btn-i a:after {
  229. content: '';
  230. position: absolute;
  231. z-index: -1;
  232. -webkit-transition: width 0.3s, opacity 0.3s;
  233. transition: width 0.3s, opacity 0.3s;
  234. width: 0;
  235. height: 530px;
  236. top: 50%;
  237. left: 50%;
  238. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  239. opacity: 0;
  240. background: #f13737;
  241. -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg);
  242. transform: translate3d(-50%, -50%, 0) rotate(45deg);
  243. -webkit-backface-visibility: hidden;
  244. backface-visibility: hidden;
  245. }
  246. .list .con .btn-i a:hover:after, .list .con .btn-i a:active:after {
  247. width: 100%;
  248. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  249. opacity: 1;
  250. }