/* * Core Owl Carousel CSS File * v1.24 */ /* 代码整理:懒人之家 www.lanrenzhijia.com */ /* clearfix */ .model_c{width:100%;height:300px;margin:0 auto;} .model_c{margin:0 auto;height:450px;} .model_c ul{ overflow:hidden; zoom:1; } .model_c ul li { margin-right:0px; } .model_c ul li .tit span{width:100%;height:240px;margin:75px auto 0;display: block;} .model_c ul li .tit a{width:117px;height:34px;background:#8bc543;border-radius:17px;text-align:left;line-height:34px;color:#fff;display:block;margin:25px auto 0;text-transform:uppercase;} .model_c .li_box {padding: 35px 30px 35px 35px;} .model_c .li_box img {transition: 0.3s all ease; width:100%;} .model_c .li_box:hover img {transform: scale(1.1, 1.1);} .model_c .li_box.j:hover .more {color: #ffffff;background: #016CBE ;} .model_c .li_box.j:hover .more .jt {background: url(../images/white_jt.png);} .model_c .li_box.o:hover .more {color: #ffffff;background: #016CBE;} .model_c .li_box.o:hover .more .jt {background: url(../images/white_jt.png);} .model_c .li_box.j {background: #f2f2f2;} .model_c .li_box.o {background: #fff;} .model_c .li_box .pic_area {} .model_c .li_box .title{font-size: 18px;color: #34495e;font-weight: bold;margin-bottom: 15px;} .model_c .li_box .dec{font-size: 16px;color: #0165AF;line-height: 2;margin-bottom: 18px; margin-top:15px;} .model_c .li_box .more{font-size: 14px;text-transform: uppercase;display: inline-block;background: #ffffff;line-height: 47px;} .model_c .li_box .more .jt{display: inline-block;width: 5px;height: 11px;background: url(../images/jt.png);margin-left: 16px;} .model_c .li_box.o .more {background: #F2F2F2;} @media screen and (max-width: 1023px) and (min-width:0px) { .model_c .li_box {padding:30px;} } .list{ margin-bottom:45px; position: relative; width:96%; margin-left:auto; margin-right: auto;} .list li{float: left;height:300px; margin:0 10px;cursor: pointer;position: relative;} .list li .font{text-align: center;width: 100%;position: absolute;left: 0; padding:10px 0;background: #f3f3f3;z-index: 2;transition: height 0.3s;} .list li h2{font-size: 18px;color: #333;line-height: 38px;} .list li .pic{height:200px;overflow: hidden; position: relative;z-index: 1;transition: width 0.3s;} .list li img{max-width: 100%;transition:all 0.5s;} .list li:hover img{transform: scale(1.1, 1.1);} .list li.even .font{bottom:0;} .list li.odd .font{bottom:0;} .list li:hover .one{display: none;} .list li:hover .two{display: inline;display: inline-block;} .list li:hover h2{color: #016CBE} .list .hd a{width: 50px;height: 50px;position: absolute;top:50%;display: block;margin-top: -25px;transition: all 0.3s;z-index: 2} .list .hd a.prev{background: url(../images/btn05.png) no-repeat center;left:-100px} .list .hd a.next{background: url(../images/btn06.png) no-repeat center;right:-100px} .list .hd a.prev:hover{background: url(../images/btn05_h.png) no-repeat center} .list .hd a.next:hover{background: url(../images/btn06_h.png) no-repeat center} @media screen and (max-width: 1023px) and (min-width:0px) { .list li{float: left;height:280px; margin:0 10px 0 15px;cursor: pointer;position: relative;} .list li .pic{height:200px;overflow: hidden; position: relative;z-index: 1;transition: width 0.3s;} } .owl-carousel .owl-wrapper:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;} /* display none until init */ .owl-carousel{ display: none; position: relative; width: 100%; -ms-touch-action: pan-y; } .owl-carousel .owl-wrapper{ display: none; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); } .owl-carousel .owl-wrapper-outer{ overflow: hidden; position: relative; width: 100%; } .owl-carousel .owl-wrapper-outer.autoHeight{ -webkit-transition: height 500ms ease-in-out; -moz-transition: height 500ms ease-in-out; -ms-transition: height 500ms ease-in-out; -o-transition: height 500ms ease-in-out; transition: height 500ms ease-in-out; } .owl-carousel .owl-item{ float: left; } .owl-controls .owl-page, .owl-controls .owl-buttons div{ cursor: pointer; } .owl-controls { -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } /* mouse grab icon */ .grabbing { cursor:url(grabbing.png) 8 8, move; } /* fix */ .owl-carousel .owl-wrapper, .owl-carousel .owl-item{ -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); } /* CSS3 Transitions */ .owl-origin { -webkit-perspective: 1200px; -webkit-perspective-origin-x : 50%; -webkit-perspective-origin-y : 50%; -moz-perspective : 1200px; -moz-perspective-origin-x : 50%; -moz-perspective-origin-y : 50%; perspective : 1200px; } /* fade */ .owl-fade-out { z-index: 10; -webkit-animation: fadeOut .7s both ease; -moz-animation: fadeOut .7s both ease; animation: fadeOut .7s both ease; } .owl-fade-in { -webkit-animation: fadeIn .7s both ease; -moz-animation: fadeIn .7s both ease; animation: fadeIn .7s both ease; } /* backSlide */ .owl-backSlide-out { -webkit-animation: backSlideOut 1s both ease; -moz-animation: backSlideOut 1s both ease; animation: backSlideOut 1s both ease; } .owl-backSlide-in { -webkit-animation: backSlideIn 1s both ease; -moz-animation: backSlideIn 1s both ease; animation: backSlideIn 1s both ease; } /* goDown */ .owl-goDown-out { -webkit-animation: scaleToFade .7s ease both; -moz-animation: scaleToFade .7s ease both; animation: scaleToFade .7s ease both; } .owl-goDown-in { -webkit-animation: goDown .6s ease both; -moz-animation: goDown .6s ease both; animation: goDown .6s ease both; } /* scaleUp */ .owl-fadeUp-in { -webkit-animation: scaleUpFrom .5s ease both; -moz-animation: scaleUpFrom .5s ease both; animation: scaleUpFrom .5s ease both; } .owl-fadeUp-out { -webkit-animation: scaleUpTo .5s ease both; -moz-animation: scaleUpTo .5s ease both; animation: scaleUpTo .5s ease both; } /* Keyframes */ /*empty*/ /* 代码整理:懒人之家 www.lanrenzhijia.com */ @-webkit-keyframes empty { 0% {opacity: 1} } @-moz-keyframes empty { 0% {opacity: 1} } @keyframes empty { 0% {opacity: 1} } @-webkit-keyframes fadeIn { 0% { opacity:0; } 100% { opacity:1; } } @-moz-keyframes fadeIn { 0% { opacity:0; } 100% { opacity:1; } } @keyframes fadeIn { 0% { opacity:0; } 100% { opacity:1; } } @-webkit-keyframes fadeOut { 0% { opacity:1; } 100% { opacity:0; } } @-moz-keyframes fadeOut { 0% { opacity:1; } 100% { opacity:0; } } @keyframes fadeOut { 0% { opacity:1; } 100% { opacity:0; } } @-webkit-keyframes backSlideOut { 25% { opacity: .5; -webkit-transform: translateZ(-500px); } 75% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); } 100% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); } } @-moz-keyframes backSlideOut { 25% { opacity: .5; -moz-transform: translateZ(-500px); } 75% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); } 100% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); } } @keyframes backSlideOut { 25% { opacity: .5; transform: translateZ(-500px); } 75% { opacity: .5; transform: translateZ(-500px) translateX(-200%); } 100% { opacity: .5; transform: translateZ(-500px) translateX(-200%); } } @-webkit-keyframes backSlideIn { 0%, 25% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(200%); } 75% { opacity: .5; -webkit-transform: translateZ(-500px); } 100% { opacity: 1; -webkit-transform: translateZ(0) translateX(0); } } @-moz-keyframes backSlideIn { 0%, 25% { opacity: .5; -moz-transform: translateZ(-500px) translateX(200%); } 75% { opacity: .5; -moz-transform: translateZ(-500px); } 100% { opacity: 1; -moz-transform: translateZ(0) translateX(0); } } @keyframes backSlideIn { 0%, 25% { opacity: .5; transform: translateZ(-500px) translateX(200%); } 75% { opacity: .5; transform: translateZ(-500px); } 100% { opacity: 1; transform: translateZ(0) translateX(0); } } @-webkit-keyframes scaleToFade { to { opacity: 0; -webkit-transform: scale(.8); } } @-moz-keyframes scaleToFade { to { opacity: 0; -moz-transform: scale(.8); } } @keyframes scaleToFade { to { opacity: 0; transform: scale(.8); } } @-webkit-keyframes goDown { from { -webkit-transform: translateY(-100%); } } @-moz-keyframes goDown { from { -moz-transform: translateY(-100%); } } @keyframes goDown { from { transform: translateY(-100%); } } @-webkit-keyframes scaleUpFrom { from { opacity: 0; -webkit-transform: scale(1.5); } } @-moz-keyframes scaleUpFrom { from { opacity: 0; -moz-transform: scale(1.5); } } @keyframes scaleUpFrom { from { opacity: 0; transform: scale(1.5); } } @-webkit-keyframes scaleUpTo { to { opacity: 0; -webkit-transform: scale(1.5); } } @-moz-keyframes scaleUpTo { to { opacity: 0; -moz-transform: scale(1.5); } } @keyframes scaleUpTo { to { opacity: 0; transform: scale(1.5); } }