@charset "UTF-8"; /*主色调*/ /*文字文本*/ /*单行省略号*/ /*多行省略号*/ /*箭头*/ /**a标签hoverboder效果**/ /**使用vw适配**/ .banner img { width: 100%; } .service { margin-top: 40px; margin-bottom: 60px; } @media (min-width: 768px) { .service { margin-top: 50px; margin-bottom: 90px; } } @media (min-width: 1200px) { .service { margin-top: 80px; margin-bottom: 120px; } } .headline { text-align: center; color: #111; font-size: 24px; } @media (min-width: 768px) { .headline { font-size: 32px; } } @media (min-width: 1200px) { .headline { font-size: 44px; } } .icon { text-align: center; margin: 30px auto; } @media (min-width: 768px) { .icon { margin: 50px auto; } } @media (min-width: 1200px) { .icon { margin: 90px auto 70px; } } .icon ul:after { content: ''; display: block; clear: both; } .icon ul li { float: left; width: 33.33%; margin-top: 20px; } @media (min-width: 768px) { .icon ul li { margin-top: 0; width: 20%; } } .icon a { display: inline-block; cursor: pointer; padding: 0 10px; } .icon a:hover img, .icon a:active img { -webkit-transform: translateY(-10px); transform: translateY(-10px); } .icon a:hover p, .icon a:active p { color: #ed4747; -webkit-transform: translateY(-15px); transform: translateY(-15px); } .icon img { width: 46px; height: 46px; -o-object-fit: contain; object-fit: contain; -webkit-transition: all .5s ease; transition: all .5s ease; } @media (min-width: 768px) { .icon img { width: 64px; height: 64px; } } .icon p { font-size: 14px; color: #666; margin-top: 10px; -webkit-transition: all .5s ease .1s; transition: all .5s ease .1s; } @media (min-width: 768px) { .icon p { margin-top: 15px; font-size: 16px; } } .list .row > div { margin-top: 20px; } @media (min-width: 768px) { .list .row > div { margin-top: 20px; } } @media (min-width: 1200px) { .list .row > div { margin-top: 50px; } } .list h2.title { padding: 15px 0; border-bottom: 1px solid #ddd; color: #111; font-size: 20px; margin-bottom: 20px; } @media (min-width: 768px) { .list h2.title { font-size: 24px; margin-bottom: 20px; } } @media (min-width: 1200px) { .list h2.title { font-size: 30px; margin-bottom: 40px; } } .list .con { position: relative; background: #f5f5f5; height: 180px; padding: 20px 15px; -webkit-transition: all .5s ease; transition: all .5s ease; } @media (min-width: 768px) { .list .con { padding: 30px 20px; height: 218px; } } .list .con:hover { background: #fff; -webkit-box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.2); box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.2); } .list .con:hover .see { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; opacity: 1; } .list .con h4 { color: #111; margin-bottom: 10px; font-size: 16px; } @media (min-width: 768px) { .list .con h4 { font-size: 20px; } } .list .con p { color: #666; line-height: 2; font-size: 14px; } @media (min-width: 768px) { .list .con p { font-size: 16px; } } .list .con p a { display: block; width: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-wrap: normal; color: #666; } .list .con p a:hover { color: #ed4747; } .list .con .see { position: absolute; right: 30px; bottom: 30px; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; opacity: 0; color: #ed4747; -webkit-transition: all .5s ease; transition: all .5s ease; } .list .con .see:hover { text-decoration: underline; } .list .con .btn-i a { position: relative; overflow: hidden; z-index: 1; margin-top: 30px; display: block; width: 160px; height: 42px; line-height: 42px; background: #ed4747; color: #fff; text-align: center; font-size: 16px; } .list .con .btn-i a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: width 0.3s, opacity 0.3s; transition: width 0.3s, opacity 0.3s; width: 0; height: 530px; top: 50%; left: 50%; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; opacity: 0; background: #f13737; -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg); transform: translate3d(-50%, -50%, 0) rotate(45deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; } .list .con .btn-i a:hover:after, .list .con .btn-i a:active:after { width: 100%; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; opacity: 1; }