.transition(@transition:.4s){-webkit-transition:@transition;-moz-transition:@transition;-ms-transition:@transition;-o-transition:@transition;transition:@transition;} .transform-origin(@origin){-webkit-transform: @origin;-moz-transform: @origin;-ms-transform: @origin;-o-transform: @origin;transform: @origin;} .scale(@scale){-webkit-transform: scale(@scale);-moz-transform:scale(@scale);-ms-transform:scale(@scale);-o-transform:scale(@scale);transform:scale(@scale);} .border-radius(@border-radius){-webkit-border-radius:@border-radius;-moz-border-radius:@border-radius;-o-order-radius:@border-radius;-ms-border-radius:@border-radius;border-radius:@border-radius;} .rotate(@rotate){-webkit-transform: rotate(@rotate);-moz-transform: rotate(@rotate);-ms-transform: rotate(@rotate);-o-transform: rotate(@rotate);transform: rotate(@rotate);} .translateX(@X){-webkit-transform: translateX(@X);-moz-transform: translateX(@X);-ms-transform: translateX(@X);-o-transform: translateX(@X);transform: translateX(@X);} .translateY(@Y){-webkit-transform: translateY(@Y);-moz-transform: translateY(@Y);-ms-transform: translateY(@Y);-o-transform: translateY(@Y);transform: translateY(@Y);} @back_nav:url('../images/nav_bg.jpg') no-repeat;/*D背景*/ @back_nav_li_ah:url('../images/nav_a_bg.jpg') no-repeat top center;/*鼠标UM去背?/ @back_s_li:url('../images/x_bg.png') no-repeat;/*左侧栏li背景*/ @mainColor: #ab8238;/*主色*/ @hoverColor:#1a8fdf;/*悬Q变色*/ @thirdColor: #c4a369;/*W三个颜?/ @qt5:#fff;/*悬Q背景变色后字体颜?/ @qt6:#c5a46e;/*按钮悬Q颜色 */ @height_nav:55px; /*D条高?/ @nav_li_w:16.6%; /*D条宽?/ @nav_li_color:#fff;/*D条文字颜?/ .nav_h_color{color:#fff!important;background: rgba(255,255,255,.2); &:after{width: 36px!important;.transition();} }; /*D条文字颜?/ @ba_w1:1920px; /*滚动囄宽度*/ @ba_h1:840px; /*滚动囄高度*/ @b_w:1200px; /*|站宽度*/ .more_a(@c:#fff; @w:120px;@h:30px;@b_w:1px;@b_s:solid;@b_c:#fff;){display: block;width:@w;height:@h;line-height:@h;text-align: center;color:@c;border:@b_w @b_s @b_c;} .slh{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;} .clamp(@l:4;) {display: -webkit-box;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;-webkit-line-clamp: @l;} .left{float:left;} .right{float:right;} .off{display:none;} /*隐藏*/ //chinatextlist htmll构 .jsplit>.splitbox>h5 .splitbox{overflow: hidden; span{width: auto;display: inline-block;opacity: 0;} .active span{animation: fadeInRight 1s both;} //默认样式Q可以用其他animate.css动画 } /*----------------头部--------------*/ .header_top{width: @b_w;margin: 0 auto;position: fixed; span{float: left;} a {display: inline-block; color: #212222; &:hover { color: #0d8e0d;} } } //头部样式//////////////////////////////////////////////////// .header{margin: 0 auto;.transition();z-index: 222;position: fixed;width: 100%;box-sizing: content-box;top: 0;padding: 10px 0; .top {overflow: hidden; .logo {float: left;display: flex;height:60px;align-items: center;} .btn_language{float: right;width: 70px;margin-top:18px;margin-left: 20px; a{color: #fff; &:hover span{color: @mainColor;} } } } //底部滑块 .header_nav{float: right; li{float: left;text-align: center;line-height: @height_nav;height: @height_nav;position: relative; .a1{font-size: 16px;display: block;position: relative;color:@nav_li_color;padding: 0 .4rem; &:after{content: '';height: 3px;position: absolute;left: 0;right: 0;margin: auto;background: #ab8238;bottom: 0;width: 0;} } .ol_2{top:50px;left: 0;z-index:99;width:100%;border-radius: 0;margin-top:35px;position: absolute;background: #fff;.transition(.2s);opacity: 0;visibility: hidden;padding: 10px 0; a{padding: 10px 20px;position: relative;display: block;color: #000!important;font-size: 14px;line-height: 1; &:hover{color: @mainColor!important;} } } .nav_ol_up{margin-top: 0;opacity: 1;visibility: visible;} } #Product28 .ol_2{width: 140%;} } } .scrolling .header{padding: 3px 0;box-shadow: 0 0 4px 5px rgba(0,0,0,.1);background: rgba(0,0,0,.3); .nav .dropdown ul.dropdown-menu{padding-top:3px;} } //手机D样式////////////////////////////////////// #mobile{position: fixed;top: 0;left: 0;width: 100%;z-index: 2233;display: none; .top {line-height: 40px;height: 40px;text-align: center;-moz-box-shadow: 0 0 10px rgba(0,0,0,.2);-o-box-shadow: 0 0 10px rgba(0,0,0,.2);background: @mainColor;;position: relative;z-index: 1; .btn{width: 40px;height: 40px;cursor: pointer;cursor: hand;z-index: 1;float: left;position: relative;display: block; i{width: 23px;height: 2px;background: #fff;display: block;position: absolute;left: 50%;transform: translateX(-50%);transition: .5s;transform-origin: left center; } .ie1{top: 12px;} .ie2{top: 19px;} .ie3{top: 26px;} } .active{ .ie1{transform: translateX(-50%) rotateZ(45deg);top: 12px;margin-left: 3px;} .ie2{opacity: 0;} .ie3{transform: translateX(-50%) rotateZ(-45deg);top: 28px;margin-left: 3px;} } } .logos{margin: 0 auto;display: inline-block;width: auto; img{max-height: 25px;width: auto;display: inline-block;vertical-align: middle;position: relative;top: -2px;} } .lang {float: right;position: relative; a{margin-right: .2rem;font-size: 18px;color: #fff;} } .bottom {position: absolute;top: 0;left: 0;width: 100%;padding: 20px 15px;background: #fff;height:100vh;padding-top: 60px;overflow: auto;display: none; .m-nav{display: block;border-bottom: 1px solid #eee;margin-bottom:25px; ul{ li{ a{display: block;line-height: 40px;height: 40px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;position: relative;border-top: 1px solid #eee;font-size: 16px; i{background: url("../images/icon14.png")no-repeat center center;width: 40px;height:40px;float: right;background-size: 10px 5px;.rotate(-90deg);} } ul{display: none; a{padding-left: 10px; &:before {content: '-';font-size: 16px;padding-right: 5px;} } } } } } .m-info ul{ li {display: block;border: 1px solid #666;font-size: 14px;padding: 0 15px;margin-bottom: 10px;text-align: center;transition: .5s; a{background: url("../images/ico_tel.png")no-repeat left center;background-size:20px 20px; line-height: 36px;height: 36px;;display: inline-block;padding-left: 25px;} } li+li a{background: url("../images/ico_email.png")no-repeat left center;background-size:20px 20px;} } } } @media (max-width:1024px ) { .header .header_nav li .a1{padding: 0 .2rem} } @media (max-width: 900px) { .header {display: none;} #spotlight .header{display: block;} #mobile{display: block;} } /////////////////////////////////////banner样式/////////////////////////////////////// .banner{height:100%; .banner1{background: url("../images/banner1.jpg") top center;background-size:cover; img{float: right;max-height:60vh;margin-top:40vh;margin-right:2%;} } .banner2{background: url("../images/banner2.jpg") top center;background-size:cover; img{float: right;max-height:60vh;margin-top:40vh;margin-right:2%;} } .banner1_nr{position: absolute;top:26%; h6{.translateY(-100%);.transition();transition-delay: .5s;opacity: 0;font-weight: bold;color: #fff;font-size: 2.28rem;text-transform: uppercase;} h3{font-size:.6rem;font-weight: bold;color: #fff;.translateY(-100%);.transition();transition-delay: .4s;opacity: 0;;margin: -1.5rem 0 0 .2rem;} p{font-size:.36rem;color: #fff;.translateY(100px);.transition();transition-delay: .5s;opacity: 0;font-weight: bold;margin: 0 0 0 .2rem;} a{display: inline-block;margin:.2rem 0 0 .2rem; padding: 7px 33px;background: #fff;opacity:0;.transition();transition-delay:.6s;font-size: .18rem;.transition();border-top-left-radius: 17px;border-bottom-right-radius: 17px;color: #454545;} } .swiper-slide-active{ .banner1_nr{ h6{opacity: .3;.translateY(0)} p,h3{.translateY(-50%);opacity: 1;} a{opacity: .8;} } } .banner-pagination{right:200px;left: auto;width: 200px;font-size: 48px;color: #fff;font-weight: bold;bottom: 50px;border-bottom: 1px solid #fff;position: absolute;z-index: 3; &:before{content: '';background: url("../images/banner_i1.png")no-repeat;width: 317px;height: 14px;position: absolute;left: 0;top:30px;margin-left: 150px;} &:after{content: '';display: block;background: @thirdColor;width:0;height: 1px;position: absolute;bottom:-1px;.transition(5s);} } //大图效果 .swiper-pagination_move{ &:after{animation: an_w 5s linear} } } @keyframes an_w { 0%{width: 0;} 100%{width:100%; } } @media (max-width: 900px) { .banner{margin-top:40px;height: 6rem; .swiper-slide{ img{max-height:4rem;margin-top:1rem;} } } .banner .banner1_nr{top: 12%; h6{font-size:1.3rem;;} h3{font-size: .5rem;padding: 0; margin-top:-.5rem;} p{font-size: .3rem;} } .banner .banner-pagination:before{width: 150px;} .banner .banner-pagination{right:50px;bottom: 50px;} } @media (max-width:640px) { .banner .banner-pagination:before{margin-left: 100px;} .banner .banner-pagination{font-size:24px;bottom: 25px;width:45px;right: 30px;} .banner .banner-pagination:before{margin-left:45px;top: 13px;} } .index1{ .index1_t{background: url("../images/index1_t_bg.png")no-repeat center;overflow: hidden;box-shadow: 0px 6px .4rem 0px rgba(0, 0, 0, 0.43);padding:.4rem .5rem ;border-top-left-radius: 1.5rem;border-bottom-right-radius: 1.5rem; margin: 1rem 0; .index1_t_l{;width: 50%;float: left; h5{font-size: .36rem;color: #fff;font-weight: bold;} i{display: block;width:0;height: .05rem;background: #fff;margin: .15rem 0;.transition(1s);} i.active{width: 1.6rem;} article{text-indent: 2em;font-size: 18px;.clamp(5);line-height: 2;color: #fff;} a{float: left;width: 146px;height: 45px;display: block;border-top-left-radius: 15px;border-bottom-right-radius: 15px;background: #fff;margin:.24rem .44rem 0 0 ; span{display: block;line-height: 45px;background: url("../images/i1.png")no-repeat left 20px center;padding-left:50px;font-size: 18px;} .a2{background: url("../images/i2.png")no-repeat left 20px center;} &:hover{background: @mainColor; span{color: #fff;} .a1{background: url("../images/i1_1.png")no-repeat left 20px center;} .a2{background: url("../images/i2_2.png")no-repeat left 20px center;} } } } .index1_t_r{float: right;width: 45%;display: flex;justify-content: space-between;flex-wrap: wrap;; li{text-align: center;color: #fff;width: 48%;margin-top: .5rem; h6{font-size: .36rem;font-weight: bold; strong{font-size: .4rem;} sup{font-size:.14rem;} } p{font-size: .24rem;font-weight: bold;} } } } } @media (max-width:900px ) { .index1 .index1_t{padding-bottom: .3rem;background-size: cover; .index1_t_l{width: 100%;float: none;padding: .3rem 0;overflow: hidden;; } } .index1 .index1_t .index1_t_r{width: 100%;float: none; li{margin-top:.2rem;} } } @media (max-width:400px ) { .index1 .index1_t .index1_t_l a{width: 120px;height: 40px; span{line-height: 40px;font-size: 14px;padding-left: 40px;background-position:10px center!important;} } .index1 .index1_t .index1_t_l article{font-size: 16px;} .index1 .index1_t .index1_t_l h2{font-size: .4rem;} .index1 .index1_t .index1_t_r li p{font-size: .3rem;} } .index1_b{position: relative;background: url("../images/index1_b_bg.jpg")no-repeat;background-size: cover; .swiper-slide{text-align: center; section{display: flex;align-items: center;height: 6rem; p{font-size: .24rem;color: #fff;margin: .1rem auto .5rem;} i{width: 140px;height: 40px;display: block;border-top-left-radius: 15px;border-bottom-right-radius: 15px;background:@thirdColor;line-height: 40px;text-align: center;color: #fff;font-size: 18px;margin: 0 auto;opacity: 0;.transition();} } section:hover{ .pic{animation: rollIn .4s both;} i{opacity: 1;} } } &:after{content: '';height: 1px;width: 100%;background: #fff;position: absolute;top: 3.3rem;} } @media (max-width:900px ) { .index1_b .swiper-slide section{height: 3rem;justify-content:center; i{display: none;} img{width:.7rem;} } .index1_b .swiper-slide section p{margin-bottom: .2rem;font-size: .3rem;} } .index2_dh{position: relative;padding-top: .3rem;text-align: center;margin-bottom: .3rem; h6{font-size: .48rem;font-weight: bold;text-transform: uppercase;position: absolute;z-index: -1;left: 0;right: 0; margin:auto;top: 0;color: @mainColor;.transition(.4s);.scale(10);opacity: 0} h6.active{.scale(1);opacity: .2;} p{font-size: .3rem;color: @mainColor;} } @media (max-width:900px ) { .index2_dh p{font-size: .4rem;} } .index2{padding: .5rem 0 0rem;position: relative;; ul{ li{height: 5.6rem;border-top-left-radius: .8rem;border-bottom-right-radius: .8rem;overflow: hidden;; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } } .index2_dots{text-align: center;position: relative;bottom:.6rem;height: 150px; li{display: inline-block;width: 244px;padding: 40px 0;text-align: center;box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.28);border-top-left-radius:25px;border-bottom-right-radius:25px;background: #fff;vertical-align: bottom;;.transition(); height: 102px;cursor: pointer; p{font-size: 18px;.clamp(1);margin-bottom: .1rem;} span{display:none;font-size: 16px;} } .active{background: @mainColor;color: #fff;padding: 20px 0;height:121px;; span{display: block;.clamp(1);width: 80%;margin: 0 auto;} } } .slick-arrow{width: .4rem;height:.41rem;background-size: 100%!important; position: absolute;top:45%;z-index: 2;font-size: 0;} .slick-prev{background:url("../images/i8.png")no-repeat;;left: 0} .slick-next{background:url("../images/i9.png")no-repeat;right: 0;} } @media (max-width:900px ) { .index2 ul li{height: 4rem;} .index2 .index2_dots{height: auto;; li{display:none;margin: 0 auto;width: 100%;} .active{display: block;height: auto;; span{display: none;} } } .index2 .index2_dots .active{padding: 10px 0;} } .index3{color: #fff; .index3_t{background: url("../images/index3_t_bg.jpg")no-repeat top center;padding: 3.6rem 0 .4rem;overflow: hidden; h6{font-size: .36rem;font-weight: bold;margin-bottom: .1rem;} .swiper-button-prev3{background: url("../images/i10.png")no-repeat;width:.41rem;height: .41rem;background-size: 100%;float: left;margin: 0 20px 0 40px} .swiper-button-next3{background: url("../images/i11.png")no-repeat;width:.41rem;height: .41rem;background-size: 100%;float: left;} .index3_t_nr{width:e("calc(100% - 170px)");float: right;height: 40px;margin-top: .3rem; .swiper-slide{width: auto;padding: 0 20px;font-size: 16px;} .swiper-slide-active{font-weight: bold;} } } .index3_b{background: url("../images/index3_b_bg.jpg")no-repeat top center;padding-bottom: .6rem;background-size: cover; .index3_b_l{float: left;width:3.2rem;padding-top: 23px;padding-left:.4rem; h6{font-size: .24rem;font-weight: bold;} .com_a{width: 140px;height: 40px;display: block;border-top-left-radius: 15px;border-bottom-right-radius: 15px;background:#fff;line-height: 40px;text-align: center;font-size: 18px;.transition();color: @mainColor;margin-top: .3rem;} } .index3_b_r{width: e("calc(100% - 4rem)");float: right;margin-top: -.3rem ;padding: 0 .6rem;position: relative; .pic{width: 100%;height: 2rem;border-top-left-radius:25px;border-bottom-right-radius: 25px;overflow: hidden; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } p{text-align: center;font-size: 18px;font-weight: bold;.clamp(2);margin-top: .15rem;} } .swiper-button-prev4{background: url("../images/i10.png")no-repeat;width:.41rem;height: .41rem;background-size: 100%;position: absolute;left:.05rem;top: 35%;} .swiper-button-next4{background: url("../images/i11.png")no-repeat;width:.41rem;height: .41rem;background-size: 100%;position: absolute;right:.05rem;top: 35%;} } } @media (max-width:900px ) { .index3{background: @mainColor; .index3_t{padding: 1rem 0 3rem;} } .index3 .index3_t .index3_t_nr{width: 100%;float: none;} .index3 .index3_b{background: none;margin-top:-2.7rem; .index3_b_r{width: 100%;float: none;} } .index3 .index3_b .index3_b_l{width: 100%;float: none;} .index3 .index3_t .swiper-button-prev3{display: none;} .index3 .index3_t .swiper-button-next3{display: none;} .index3 .index3_t h6{text-align: center;margin-bottom: .3rem;} .index3 .index3_t .index3_t_nr .swiper-slide{text-align: center;padding: 0 ; a{font-size:16px;} } .index3 .index3_b .index3_b_r .pic{height: 4rem;} .index3 .index3_b .index3_b_r p{font-size: 16px;} .index3 .index3_b .index3_b_l h6{text-align: center;font-size: 16px;} .index3 .index3_b .index3_b_l .com_a{margin: 20px auto;width: 110px;font-size: 14px;} } .index4{padding: .5rem 0; .index4_l{background: url("../images/news_dh.png")no-repeat;width:2rem;height:5.9rem;float: left;background-size: 100%;} .index4_r{display: flex;align-items: center; width: e("calc(100% - 2.7rem)");float: right;height: 590px; section{border:7px solid @mainColor;border-top-left-radius:.4rem;width:100%;border-bottom-right-radius:.4rem;padding: .8rem .2rem .2rem .5rem; position: relative;; .img{float: right;width:3.4rem;height: 2.5rem;overflow: hidden; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } .txt{float: left;;width: e("calc(100% - 3.8rem)"); time{color: #656565;font-weight: bold;font-size: .24rem; strong{font-weight: normal;font-size: .18rem;margin-left: .05rem;} } h6{font-size: .24rem;font-weight: bold;color: #656565;margin: .1rem 0;.clamp(1);} article{font-size: 16px;color: #656565;height: 85px;margin-bottom: .2rem; p{.clamp(3);} } i{color: #656565;font-size: 18px;background: url("../images/i12.png")no-repeat right center;display: inline-block;padding-right: .5rem;} } .swiper-jindu{position: absolute;right: 70px; top:.4rem;display: flex;justify-content: space-between;align-items: center; .swiper-num-active{font-size: 18px;font-weight: bold;color: @mainColor;} .swiper-num-all{font-size: 16px;color: #656565;} .swiper-pagination5{width: 100px;height: 2px;position: relative;margin: 0 3px;} .swiper-pagination-progressbar{background: @mainColor;} } } } .mobile_show{display: none;} } @media (max-width:1200px ) { .index4 .index4_r section{padding: .8rem .3rem .5rem;} } @media (max-width:900px ) { .index4 .index4_l{display: none;} .index4 .index4_r{width: 100%;height: auto;} .index4 .mobile_show{display: block;} .index4 .index4_r section .img{width:100%;height: 3rem;} .index4 .index4_r section .txt{width: 100%;margin-top: .1rem; h6{font-size: .35rem;} time{font-size: .34rem; strong{font-size: .3rem;} } } .index4 .index4_r section{padding-top: 1rem; .swiper-jindu{;top: .3rem;right: 0;left: 0; margin:0 auto;width:3rem;} } .index4 .index4_r section .txt i{font-size: 14px;padding-right: .6rem;background-size: .4rem;} } //内页大图/////////////////////////////////////////////////////// .nei_banner{ max-width: 1920px;overflow: hidden;display: block;position: relative;height:0;background-size: cover!important;padding:9% 0 26%; h6{font-weight: bold;color: #fff;font-size: 2rem;text-transform: uppercase;opacity: .2!important;} h3{font-size:.5rem;font-weight: bold;color: #fff;transition-delay: .4s;margin: -1.5rem 0 0 0;} p{font-size:.3rem;color: #fff;font-weight: bold;margin: 0 0 0 0;} i{margin-top: .1rem; display: block;background: url("../images/i15.png")no-repeat;width: .72rem;height:.41rem;background-size: 100%} } .banner_company{background: url("../images/banner_company.jpg")no-repeat;} .banner_product{background: url("../images/banner_product.jpg")no-repeat;} .banner_case{background: url("../images/banner_case.jpg")no-repeat;} .banner_contact{background: url("../images/banner_contact.jpg")no-repeat;} .banner_news{background: url("../images/banner_news.jpg")no-repeat;} @media (max-width:900px ) { .nei_banner{height:3.4rem;margin-top: 40px; h6{font-size:1.2rem;} } } //面包屑导? .breadcrumbs{background: #e9e9e9;height: .55rem;margin-top: -3px;margin-bottom: .6rem; .breadcrumbs_right{text-align: right; p{background: url("../images/icon_home.png")left center no-repeat;padding-left: 20px;;background-size: 18px 18px;line-height: .55rem;;display: inline-block;font-size: 14px; a{font-size: 14px; &:hover{color: @mainColor;} } } } .breadcrumbs_left{ ul{ li{float: left;width: 1.2rem;position: relative;;text-align: center; a{font-size: 16px;line-height: .55rem;} &:after{content: '';display: block;border-right: 1px solid #050505;position: absolute;right: 0;height:.18rem;top: .2rem;} } li:last-child:after{border: none;} li:hover{ .cur } .cur{ a{color: @mainColor;} } } } } @media (max-width:1200px) { .breadcrumbs .breadcrumbs_left ul li{width:2rem;} } @media (max-width:768px) { .comapny_breadcrumbs{ .breadcrumbs_left ul li{width:25%;} .breadcrumbs_right{display: none;} } } .banner_nav{border-bottom:2px solid #fff;margin-bottom: 1.5rem; ul{display: flex;justify-content: space-around;padding-top: .1rem;width:70%;margin: 0 auto; li{color: #fff;font-size: .24rem;font-weight: bold; &:hover{opacity: .8;letter-spacing: 1;font-weight: normal;} } i{display: block;width: 2px;height:.3rem;background: #fff;} } } @media (max-width:900px ) { .banner_nav{margin-bottom: .5rem;} } @media (max-width:450px ) { .banner_nav ul li{font-size:16px;} } //公司介内? .company1{background: url("../images/company1.png")no-repeat center;;max-width: 1920px;margin: 0 auto;overflow: hidden;padding-bottom: 1rem;background-size: cover; border-top-left-radius: 1rem;border-bottom-right-radius: 1rem; .company1_l{z-index: 2;position: relative; background: url("../images/i17.png")no-repeat;background-size: cover;width: 5.21rem;height:4.22rem;float: left;margin: 0 .5rem;display: flex;align-items: center;justify-content: center; i{display: block;background: url("../images/i16.png")no-repeat;width: .8rem;height:.8rem;margin: 0 auto .1rem;background-size: 100%;} p{color: #fff;font-size: .24rem;text-align: center;} } .company1_r{color: #fff; h5{font-size: .48rem;font-weight: bold;margin-bottom: .1rem;} article{height: 3.2rem;overflow-y: auto;font-size: 18px;padding-right: .1rem; p{margin-bottom: .1rem;} } } } @media (max-width:1000px ) { .company1 .company1_l{width: 100%;margin: 0 0 .5rem 0;height:5.1rem;} .company1 .company1_r article{height: auto;font-size: 16px;padding-right: 0;} } @media (max-width:450px ) { .company1{padding-bottom: .5rem; .company1_l p{font-size: 14px;} } .company1 .company1_r h5{font-size: .36rem;} } //弹窗video .tan_video{position: fixed;z-index:33;left: 0;right: 0;bottom: 0;top: 0;display: none; .tan_video_bg{position: absolute;background: rgba(0,0,0,.8);left: 0;right: 0;bottom: 0;top: 0;} .video-js{position: absolute;left: 0;right: 0;bottom: 0;top: 0;margin: auto;width:60%;height:0;padding-bottom:34%;} .vjs-big-play-button{background:url("../images/i1.png")no-repeat!important;width:78px!important;height: 78px!important;opacity: .7;border: none!important;margin-left: -39px;margin-top: -39px; &:hover{;opacity: 1;} .vjs-icon-placeholder:before{display: none;} } .vjs-paused .vjs-big-play-button, .vjs-paused.vjs-has-started .vjs-big-play-button { display: block !important; } } @media (max-width:768px ) { .tan_video{ .video-js{width: 90%;padding-bottom:51%;} } } .company2{max-width: 1920px;background: url("../images/company2.jpg")no-repeat center;background-size: cover;margin: 0 auto;color: #fff;overflow: hidden;border-bottom-left-radius: 1rem;padding-bottom: .7rem; .company2_l{float: left;width: 50%; .company2_l_t{margin-top: -.5rem; .company2_l_t_t{ h6{font-size: .48rem;font-weight: bold;} p{font-size:.36rem;margin: 0 0 .1rem;font-weight: bold;} } article{font-size: 18px;} } .company2_l_b{position: relative;z-index: 1; ul{display: flex;justify-content: space-around;align-items: center;padding-top: .1rem; li{padding: 0 10%;text-align: center; h6{font-size:.3rem;} p{font-size: .18rem;} sup{font-size:.14rem;} } i{display: block;width: 2px;height: .8rem;background:#fff;} } &:before{position: absolute;content: '';width: 9.6rem;margin-left:-2.6rem;background: #c9a96f;border-bottom-right-radius:.72rem;height: 1rem;z-index: -1;} } } .company2_r{float:right;width: 8.6rem;margin-right: -2.6rem;overflow: hidden;position: relative; .swiper-container{overflow: visible;} .swiper-slide{height: 4.7rem;background: @thirdColor;.border-radius(.3rem); .txt{display: flex;flex-direction: column;justify-content: space-between;height: inherit;padding: .8rem .4rem 1.2rem; h6{text-align: center;font-weight: bold;font-size: .3rem;} p{font-size: 16px;} } } .swiper-button-next{background: url("../images/i18.png")no-repeat;width: 31px;height: 31px;background-size: 100%;position: absolute;bottom: .5rem;left:4.7rem;top: auto; } } } @media (max-width:1200px ) { .company2 .company2_l{ .company2_l_t p{font-size: 16px;} } .company2 .company2_l .company2_l_b{margin-top: .4rem;} } @media (max-width:1000px ) { .company2 .company2_r .swiper-slide .txt h6{margin-bottom: .2rem;} .company2 .company2_r .swiper-slide{height: auto;} .company2 .company2_l{margin-top: 1rem;} .company2 .company2_l .company2_l_t .company2_l_t_t h6{font-size:.36rem;} .company2 .company2_l .company2_l_t .company2_l_t_t p{font-size: .3rem;} .company2{ .company2_l{width: 100%;float: none;} } .company2 .company2_l .company2_l_t p{height: auto;} .company2 .company2_l .company2_l_b{width: 80%;} .company2 .company2_l .company2_l_b:before{width: 8.5rem;} .company2 .company2_r{width: 100%;margin:.5rem 0 0 0 ;float: none;} .company2 .company2_r .swiper-slide .txt{padding: .4rem .2rem;} .company2 .company2_r .swiper-button-next{bottom: .2rem;} } @media (max-width:450px ) { .company2 .company2_r .swiper-slide{ .txt h6{font-size: .36rem;} } .company2 .company2_l .company2_l_t p{font-size: 14px;} .company2 .company2_r .swiper-slide .txt p{font-size: 14px;} } .company3{padding: .3rem 0;background: url("../images/company3_bg.jpg")no-repeat center;background-size: cover;max-width: 1920px;margin: 0 auto; h6{text-align: center;color: #696969;font-size: .36rem;font-weight: bold;line-height: 1.4;} .company3_nr{position: relative;padding-bottom: .6rem; .swiper-slide{padding: .4rem 0;} .img{width: 100%; height: 3.5rem;;overflow: hidden;box-shadow: 0px 11px 43px 0px rgba(0, 0, 0, 0.15);background: #fff; img{width: 100%;height: 100%;object-fit: contain;font-family: 'object-fit: contain;';} } p{text-align: center;color: #696969;margin: .2rem 0 .1rem;font-size: 16px;} i{width:70%;height: 2px;background: #bfbfbf;display: block;margin: 0 auto;} .swiper-button-prev2{background: url("../images/i20.png")no-repeat center;width:.6rem;height: .6rem;left: 50%;margin-left: -.7rem;position: absolute;bottom: 0;cursor: pointer;background-size: .22rem .37rem;} .swiper-button-next2{background: url("../images/i21.png")no-repeat center;width:.6rem;height: .6rem;background-size:100%;left: 50%;;position: absolute;bottom: 0;margin-left: .1rem;cursor: pointer;background-size: .22rem .37rem;} } } @media (max-width:900px ) { .company3 .company3_nr{padding-bottom: .5rem; .img{height: 4rem;} } .company3 .company3_nr p{font-size: 14px;} } .development1{background: url("../images/development1_bg.jpg")fixed no-repeat center;color: #fff;overflow: hidden;background-size: cover; margin: .5rem 0; .development1_left{width: 60%;float: left;position: relative;padding-top: .5rem;z-index:2;height: 9rem; .development1_left_dh{margin-bottom: .5rem; h6{font-size: .6rem;text-transform: uppercase;line-height: 1.2;} p{font-size: .48rem;} } .development1_nr{padding-right:10%;padding-bottom: .9rem; section{overflow-y: auto;height:5.6rem;} .active{display: block;} } .development1_left_bg{position: absolute;background: rgba(0,0,0,.4);right: 0;top: 0;bottom: 0;left:-260px;z-index:-1;} } .development1_right{width: 40%;float: right;height: 9rem;padding-top:2.5rem; ul{display: flex;justify-content: flex-end;flex-wrap: wrap;flex-direction: column;padding-bottom: 1rem; li{;margin-top: .6rem;position: relative;height: .7rem;line-height: .7rem;padding-left:.3rem;z-index: 1;cursor: pointer;width: 2.1rem;font-size:18px; &:before{content: '';position: absolute;left: 0;height: inherit;width:5px;background: #fff;z-index: -1;.transition();} } .active{color: #fff;font-size:24px;font-weight: bold; &:before{width: 100%;background: @thirdColor;} } } } } @media (max-width:1450px ) { .development1 .development1_left{padding-left: .2rem;} } @media (max-width:1000px ) { .development1 .development1_left .development1_left_dh h6{font-size: .42rem;} .development1 .development1_left .development1_left_dh p{font-size: .36rem;} .development1 .development1_right{width: 2.2rem;} .development1 .development1_left{width: e("calc(100% - 2.2rem)");} .development1 .development1_right ul { li{font-size: 14px;} .active{font-size: 14px;} } .development1 .development1_left .development1_nr{padding-right: 5%;} } @media (max-width:400px ) { .development1 .development1_right ul .active{padding-left: .1rem;} .development1 .development1_left .development1_nr section{ p,span{font-size: 14px!important;} } } .com5_dh{font-size: .36rem;text-align: center;margin: 1rem 0 .5rem; span{text-transform: uppercase;color: #373737;} p{color: #373737;width: 90%;max-width:1000px;font-size: 18px;margin:.2rem auto;} } @media (max-width:900px ) { .com5_dh p{font-size: 16px;} } @media (max-width:500px ) { .com5_dh p{font-size: 14px;} .com5_dh{margin-top: .5rem;} } .spirit1_dh{text-align: center;margin: .5rem 0 .3rem; p{font-weight: bold;font-size: .36rem;color:#dfdfdf;text-transform: uppercase;line-height: 1;} h6{color: #1b1b1b;font-size: .48rem;line-height: 1.2;} } @media (max-width:1000px ) { .spirit1_dh h6{font-size: .36rem;} .spirit1_dh p{font-size: .32rem;} } .spirit1{padding: .8rem 0;background: @thirdColor; article{max-width: 12rem;font-size: .24rem; width: 100%;color: #fff;margin: 0 auto;} } .spirit2{margin: .8rem 0 .4rem; .spirit2_l{float:left;width:43%; .spirit1_dh{;text-align: left;margin-top:.2rem;} article{position: relative;color: #fff;font-size: 18px;display: flex;align-items: center;height: 2rem;padding-right: .5rem; &:after{content: '';width: 8.6rem;background: #1b1b1b;height: inherit;position: absolute;left: 0;top: 0;margin-left:-2.6rem;border-bottom-left-radius:1.1rem;z-index: -1;} } } .spirit2_r{float: right;width:57%;height:5.2rem;overflow: hidden; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } } @media (max-width:1000px ) { .spirit2 .spirit2_l article{height: 3rem;} } @media (max-width:640px ) { .spirit2 .spirit2_l{width: 100%;float: none; background:#1b1b1b;padding:.5rem .3rem; .spirit1_dh h6{color: #fff;} article{font-size:14px;height: auto;padding: 0; &:after{display: none;} } } .spirit2 .spirit2_r{width: 100%;float: none;} } .nei_type1{background: #eceff3;padding: 1px 0 1rem;margin-bottom: -.5rem; ul{ li{background: #fff;box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);overflow: hidden;margin-bottom: .5rem; .li_txt{padding: 1.2rem 1.2rem .7rem;float: left;width:50%; h3{font-weight: bold;font-size: .24rem;background: url("../images/i38.png")no-repeat left center;padding-left: .35rem;margin-bottom: .1rem;background-size: .3rem} span{font-size: 16px;color: #454545;} article p{margin:.1rem 0 .2rem;text-indent: 2em;.clamp(5);font-size: 16px;color: #454545;} i{display: block;width: 132px;height: 40px;line-height: 40px;text-align: center;background: @mainColor;color: #fff;} } .img{float:right;width:50%;height: 5.2rem;overflow: hidden;position: relative;border-bottom-left-radius: 1.5rem; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';.transition();position: absolute;left: 0;} .img1{opacity: 1;} .img2{opacity: 0;} .btn_faguang{position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);width: .2rem;;height:.2rem;background:rgba(255,255,255,.4);border-radius: 50%;border: 1px solid #fff;padding: 2px;box-sizing: content-box;.transition(); &:before{width: 100%;height: 100%;content: '';display: block;position: absolute;top: 0;left: 0;border-radius: inherit;background: rgba(255, 255, 255, 0.5);animation: ks 2s linear infinite;z-index: -1;} } &:hover{ .img1{opacity:0;} .img2{opacity: 1;} .btn_faguang{opacity: .1;} } } } li:nth-of-type(2n){ .li_txt{float: right;} .img{float:left;border-bottom-left-radius:0;border-bottom-right-radius: 1.5rem;} } li:hover{background: @mainColor;color: #fff; .li_txt{ h3{background: url("../images/i38_1.png")no-repeat left center;} span,p{color: #fff;} i{background: #fff;color: @mainColor;} } } } } @-webkit-keyframes ks { from { -webkit-transform: scale(1); transform: scale(1); opacity: 0; } 10% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } 80% { -webkit-transform: scale(2); transform: scale(2); opacity: .3; } to { -webkit-transform: scale(2); transform: scale(2); opacity: 0; } } @media (max-width:900px ) { .nei_type1 ul li .img{width: 100%;height: 4rem;} .nei_type1 ul li .li_txt{width: 100%;padding: .5rem .3rem .5rem .4rem;} } @media (max-width:500px ) { .nei_type1 ul li .li_txt h3{font-size: .35rem;} } .product1{background: #eceff3;padding: 1px 0 1rem;margin-bottom: -.5rem; ul{ li{background: #fff;width: 30%;margin:1.5%;float: left; .img{height:3.2rem;overflow: hidden;position: relative; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} .img1{opacity: 1;.transition();} .img2{position:absolute;left: 0;right: 0;opacity: 0;.transition();} } .img_txt{padding: .2rem; h3{font-size:18px;.clamp(1);} } } li:hover{ .img{ .img1{opacity:0;} .img2{opacity: 1;} } } } } @media (max-width:900px ) { .product1 ul li{width: 47%;margin-bottom:5%;} } @media (max-width:640px ) { .product1 ul li{width: 98%; .img{height: 5rem;} .img_txt h3{font-size: 16px;} } } //案例/////////////////// .nei_dh{text-align: center;position: relative;margin-bottom: 50px; h3{font-size: 30px;color: #777;margin: 40px 0 10px;} .line{width:1920px;height: 1px;background:#e5e5e5;position: absolute;bottom:16px;} .nei_dh_nr{text-align: center;padding: 0 30px;background: #fff;display: inline-block;position: relative;;z-index: 3; li{display: inline-block;height:40px;padding: 0 20px;margin: 0 10px;line-height:40px;background: #a6a6a6;color: #fff;font-size: 16px; &:hover{.active;} } .active{background: @mainColor;} li:nth-of-type(1){background: #a6a6a6 url("../images/i51.png")10% center no-repeat;padding-left:35px;background-size: auto 50%!important;} li:nth-of-type(1).active{background: @mainColor url("../images/i51.png")10% center no-repeat;} } } @media (max-width:768px ) { .nei_dh .nei_dh_nr{width: 100%; padding: 0; li{width: 48%;margin: 1%;float: left;} } .nei_dh{margin-bottom: 20px; h3{font-size: 20px;} .line{display: none;} } } .case1{ ul{ li{width: 32%;margin-right:2%;float: left;margin-bottom: 40px;.transition();cursor: pointer;background:#000; .img{height: 0; padding-bottom:75%; overflow: hidden;position: relative; b{position: absolute;bottom: 10px;right: 10px;color: #fff;} img{.transition();width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';position: absolute;} } article{border-left: 1px solid #f2f2f2;border-right: 1px solid #f2f2f2;border-bottom: 1px solid #f2f2f2;padding: 10px 20px;height:90px;color: #666;position: relative;;background: #fff; h3{font-size: 20px;.clamp(1);} p{color: #666;margin-bottom: 10px;.clamp(1);} } } li:nth-of-type(3n){margin-right: 0;} } ul:hover{ li:not(:hover) img{opacity: .4;} li:hover {box-shadow: 0 0 10px rgba(0,0,0,.1); img{opacity: .9;.scale(1.1);}; article{color: @mainColor;} } } } @media (max-width:1200px) { .case1 ul li .img{height: 220px;} } @media (max-width:900px) { .case1 ul li{width: 48%;margin: 1%;} .case1 ul li:nth-of-type(3n){margin: 1%;} } @media (max-width:600px) { .case1 ul li{width: 100%;margin: 1% 0!important; article{height: auto; h3{font-size: 16px;} } } } table{word-break: break-word;width: 100% !important;height: auto !important;display: block;overflow: auto; tbody{display: table;width: 100% !important; td{width: auto !important;word-break: keep-all;} } } //产品详情 .info1{ h6{font-size: .48rem;color: #d5d5d5;font-weight: bold;width:100%;max-width: 9.5rem;line-height: 1.2;text-transform: uppercase;margin: .5rem 0 .1rem;} h2{color: #454545;font-weight: bold;font-size: .38rem;} .img{height: 0;position: relative;padding-bottom:40%;margin: .3rem 0; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';position: absolute;} } strong{font-size: .24rem;color: #454545;font-weight: bold;margin-bottom: .1rem;display: block;} article{margin-bottom: .4rem; p{color: #454545;font-size:16px;line-height:2; em{background: @mainColor;padding: 5px 10px;border-bottom-right-radius:15px;color: #fff;} } table{border-spacing:0px 10px;border-collapse:separate; tr{ td{height:40px;vertical-align: middle;font-size: 16px; word-break:keep-all!important;padding: 0 .1rem; p{font-size: inherit;} } td:first-child{text-align: center;background:#999999;color: #fff;font-size: 16px; p{color: inherit;text-align: inherit;line-height: inherit;} } td:not(:first-child){.rowspan2_1} .rowspan2{height:80px;} .rowspan3{height:120px;} .rowspan4{height:160px;} .rowspan5{height:200px;} .rowspan2_1{text-indent: 10px!important;background:#f3f3f3!important;color: #000!important;text-align: left!important;border-right:1px solid #Fff;} } } } } .info2_dh{text-align: center;font-size: .23rem;padding:.15rem 0;border-top: 1px solid #626262;border-bottom: 1px solid #626262;} .info2{ .swiper-container{margin: .5rem 0; .img{height: 0;padding-bottom: 100%;position: relative;; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';position: absolute;} } p{font-size: 18px;text-align: center;margin-top: .2rem;} } } .info3{color: #454545; ul{display: flex;justify-content: space-between;flex-wrap:wrap;padding: .6rem 0; li{width:19%;margin:0 4% .3rem 0; h6{font-size: 18px;font-weight: bold;position: relative;padding-bottom: .1rem; &:after{content: '';width:100%;height: 1px;background: #454545;bottom: 0;position: absolute;left: 0;} } a{margin-top: .1rem;display: block;} } li:nth-of-type(4n){margin-right: 0;} } } @media (max-width:1000px ) { .info3 ul{ li{width: 27%;margin-right: 4%!important;} li:nth-of-type(3n){margin-right: 0!important;} } } @media (max-width:900px ) { .info1 h6{font-size: .35rem;} .info1 h2{font-size: .32rem;} .info1 strong{font-size: 16px;} .info1 article p{font-size:14px;} .info2_dh{font-size: .32rem;} .info2 .swiper-container p{font-size: 16px;} .info3 ul li{width:26%;margin-right: 0;} } @media (max-width:640px ) { .info2 .swiper-container .img{padding-bottom: 80%;} .info3 ul{padding: .6rem 0 .3rem; li{width:100%;margin-right: 0!important; h6{font-size: 16px;background: url("../images/jia.jpg")no-repeat right 5px center;} ol{display: none;} } li:empty{display: none;} } } .product3{background:#eceff3;margin-bottom: -.5rem; } //荣誉证书honor面///////////////////////// .honor_list{overflow: hidden;margin-top: .4rem; li{float: left;width:24%;margin-right: 1.3%;margin-bottom: .3rem;text-align: center;cursor:pointer; .img{border: 1px solid #dcdcdc;padding: 6px;height: 2.6rem;box-sizing: border-box;text-align: center;display: flex;align-items: center;justify-content: center; img{max-height: 100%;max-width: 100%;} } h4{line-height: 2;} } li:nth-of-type(4n){margin-right: 0;} } @media (max-width:768px) { .honor_list{ li{width:49%;margin-right: 2%;} li:nth-of-type(2n){margin-right: 0;} } } //新闻详情///////////////////////// .news_info_bg{background:#f9f9f9;padding: .5rem 0;margin-bottom: -.5rem;} .news_info1{background: #fff;padding: 30px;overflow: hidden;; .news_info1_l{float: left;width: e("calc(100% - 340px)"); .news_title{text-align: center;margin:.1rem 0; h1{padding-bottom: .2rem;font-weight: bold;border-bottom: 2px solid @mainColor;margin-bottom: .2rem;} span{font-size: 14px;color:#707070;margin: 0 10px;} } .neirong_container{padding:.4rem 0;overflow: hidden; article{border-bottom: 1px solid #cccccc;min-height: 5rem; //span,p{text-indent: 0!important; line-height: 1.8!important;font-size: 14px!important;font-family:'微Y雅黑'!important;} p{margin-top: 10px;} img{width:100%;} video{width: 100%;} table{width: 100%;border-collapse:separate;border-spacing: 0; .firstRow{background: #f0f0f0;} tr{height: 33px;line-height: 33px; td { text-align: center; border: 1px solid #cccccc; p{line-height: 33px!important;} img{display: inline-block;} } } } } .newsPage{font-family: 宋体;margin-top: .2rem; .page-a{margin: .15rem 0;} a{font-family: 宋体;} } .fanhui{width:130px;height:40px;line-height: 40px;.border-radius(5px);color: #fff; float: right;background: #184f90;text-align: center;margin-top: .3rem;} } } .news_info1_r{width:300px;float: right; .news_info1_r_t{color: #fff;height: 46px;line-height: 46px;padding-left: 30px;background: @mainColor;} section{background: #f9f9f9;margin-top: 10px;padding-bottom: 1px; header{position: relative;overflow: hidden; .img{position: absolute;left: 0;top: 0;width: 100%; height: 200px; background: #000;opacity: 0;.transition();overflow: hidden; img{width: 100%;opacity: .5;;height: 100%;object-fit: cover;} } aside{padding:20px 20px 0;position: relative;;z-index: 2;height: 178px; .time{ time{font-size: 20px;} time+time{font-size:14px;margin-left: 5px;} } h4{margin: 10px 0;font-size:16px;.slh();} article{ p{color: #a6a6a6;line-height:1.5;height: 42px;overflow: hidden;} } i{width: 100%;height: 1px;background: #ccc;display: block;margin-top:40px;} } } a{display: block;;color: #a6a6a6;margin:10px 0 10px 20px;height: 36px;line-height: 36px; position: relative;overflow: hidden;; &:after{content: '';width:36px;height: 36px;position: absolute;right: -50px;border: 1px solid rgb(196, 196, 196);.border-radius(50%);.transition();background: url("../images/ni_i1.png")no-repeat center center;background-size: 30px;} } } section:hover{ header { .img {opacity: 1} aside{ .time,h4,article p{color: #fff;} } } a{color: @mainColor; &:after{right: 20px;} } } } } @media (max-width:900px) { .news_info1 .news_info1_l{width: 100%;} .news_info1 .news_info1_r{display: none;} } //联系我们内页 .contact1{background:#e9e9e9;padding: .14rem .92rem;overflow: hidden;margin-top: .4rem; img{float: left;margin-right: .6rem;} h3{margin: .25rem 0 .15rem;} p{font-family: 宋体;} } @media (max-width: 768px) { .contact1{padding: .14rem .3rem; display: -webkit-flex;display: flex;justify-content: center;-webkit-box-align: center;align-items: center; img{width: 1rem;height: 1rem;margin-right: .3rem;} } } @media (max-width: 500px) { .contact1{display: none;} } .contact2{margin: .45rem 0;overflow: hidden;; .contact2_left{width:7.8rem;float: left;border: 1px solid #e5e5e5;padding: .2rem;box-sizing: border-box;height: 2.3rem; section{float: left;box-sizing: border-box;width: 50%;padding-left: .26rem; li{background: url("../images/contact_i2.png")left center no-repeat;background-size: .4rem .41rem;padding-left: .64rem;margin-top: .2rem; p{font-size: 14px;color: #666;} } li+li{margin-top: .4rem;background: url("../images/contact_i3.png")left center no-repeat;padding-bottom: .25rem;background-size: .37rem .35rem;} } section+section{border-left: 1px dashed #dddddd; li{background: url("../images/contact_i6.png")left center no-repeat;background-size: .4rem .4rem;} li+li{background: url("../images/contact_i4.png")left center no-repeat; background-size: .39rem .36rem;} } } .contact2_right{width:e("calc(100% - 8.4rem)");float: right;border: 1px solid #e5e5e5;box-sizing: border-box;padding: .35rem;height: 2.3rem; img{float: left;margin-right: .34rem;width: 1.6rem;height: 1.6rem;} h3{margin: .1rem 0;} p{font-size: 14px;} i{background: url('../images/contact_i5.png')no-repeat;width:.36rem;height: .36rem;background-size: 100% 100%;display: inline-block;margin-top: .2rem;} } } @media (max-width: 1300px) { .contact2{ .contact2_left,.contact2_right{width: 100%;overflow: hidden;height: auto;} } } @media (max-width: 500px) { .contact2{margin:0 0 .2rem;} .contact2 .contact2_left{ section{width: 100%;} section+section{border-left: none;} } .contact2 .contact2_right{padding: .2rem; img{width: 1.2rem;height: 1.2rem} } } .contact4{background:#e9e9e9;padding: .5rem 0; h3{text-align: center;} p{text-align: center;margin: .3rem 0 ;line-height:1.8;} a{width: 96px;height:40px;text-align: center;line-height:40px;border: 1px solid #cccccc;.transition();font-size: 14px;display: block;margin:.3rem auto 0; &:hover{color: #fff;} } } .contact5{margin: .3rem 0 ; h3{text-align: center;margin: .2rem 0 .3rem} ul{overflow: hidden;; li{float: left;width: 49%;height:50px;line-height:50px;border: 1px solid #ccc;margin-bottom: 20px; input{height: 100%;color: #000;text-indent:2em;background: none;font-size: 14px;width: 100%;} input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #666; } input:-moz-placeholder, textarea:-moz-placeholder { color: #666; } input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #666; } } .yanzhengma{position: relative; img{position: absolute;height: 30px;top: 10px;right: 10px;} } .liuyan_content{width: 100%;height: 200px; textarea{line-height:1.8;text-indent: 2em;padding: 10px 0;width: 100%;height: 100%;} } .tijiao{background: @mainColor;border: none; input{color: #fff;padding-left: 0;} } li:nth-of-type(2n){float: right;} } } @media (max-width:640px ) { .contact5 ul li{width: 100%; textarea,input{text-indent: 1em!important;} } } .contact3{height: 4rem;width: 100%;margin-top: .8rem;position: relative;margin-bottom: -.5rem; #gaodeMap{width: 100%;height: 100%;} } @media (max-width:640px ) { .contact3{margin-top: .1rem;} } //产品列表?//////////////////////////////////// .neiye_prodcut{background:#e9e9e9;margin-top: -0.59rem;padding-top: .3rem; ul{overflow: hidden; li{width:23%;margin:1%;float: left;background: #fff; .neiye_pic{height:3rem;padding: .2rem; display: flex;align-items: center;justify-content: center;overflow: hidden; img{align-items: center;.transition();max-width: 100%;max-height: 100%;} } .neiye_pic_txt{height:1.5rem;border-top:1px solid #e9e9e9;padding: .2rem;position: relative; h2{margin-bottom: .1rem;.transition();} p{line-height:1.8;height: 75px;overflow: hidden;} i{display: block;width: .1rem;height: .1rem;position: absolute;right: 0;bottom: 0;background: @mainColor;.transition();} } } li:hover{ .neiye_pic{ img{.scale(1.1);} } .neiye_pic_txt{ h2{color: @mainColor;} i{width: 100%;height: 1px;} } } } } @media (max-width: 1300px) { .neiye_prodcut ul li .neiye_pic_txt{height: 2rem; p{height: 50px;} } } @media (max-width: 1024px) { .neiye_prodcut ul li{width: 31.3%;} } @media (max-width: 768px) { .neiye_prodcut ul li{width: 48%; .neiye_pic_txt p{font-size: 12px;height: 40px;} } } //////////////产品详情?////////////////////////////////// .product_info1_left{margin-top: 40px;width: 45%;float: left;overflow: hidden;; .product_info1_left_t{height:520px;border: 1px solid #bfbfbf;display: flex;align-items: center;justify-content:center;box-sizing: border-box;;padding: 10px;overflow: hidden;; .gallery-top{height: 100%;width: 100%; .swiper-slide{height: 100%;display: flex;align-items: center;justify-content:center; img{max-width: 100%;max-height: 100%;} } .arrow-left {background: url(../images/index_tab_l.png) no-repeat left top;position: absolute;left: 10px;top: 50%;margin-top: -25px;width: 28px;height: 51px;z-index: 10; } .arrow-right {background: url(../images/index_tab_r.png) no-repeat left bottom;position: absolute;right: 10px;top: 50%;margin-top: -25px;width: 28px;height: 51px;z-index: 10; } } } .product_info1_left_b{margin-top: 30px;position: relative; .gallery-thumbs{width: e("calc(100% - 100px)");margin: 0 auto; .swiper-slide{border: 1px solid #bfbfbf;height:100px;display: flex;align-items: center;justify-content:center;cursor: pointer; img{max-width: 100%;max-height: 100%;} } .active-nav{border: 1px solid @mainColor;} } .arrow-left{position: absolute;left:0;top: 0;width:30px;height: 100%;z-index: 10;background: #ccc url(../images/feel3.png) no-repeat center; } .arrow-right {position: absolute;right: 0;top: 0;;width:30px;height: 100%;z-index: 10;background: #ccc url(../images/feel4.png) no-repeat center; } } } .product_info1_right{width: 45%;float: right;padding-top: 60px; h1{letter-spacing: 4px;color: @mainColor;} article{margin: 40px 0 0; p{line-height: 2;} .p1{background: url("../images/pi_i6.jpg")no-repeat left center;padding-left: 40px;} .p2{background: url("../images/pi_i7.jpg")no-repeat left center;padding-left: 40px;} } } @media (max-width: 1200px) { .product_info1_left{width: 55%;} .product_info1_right{width: 40%;} } @media (max-width: 800px) { .product_info1_left{width: 100%;} .product_info1_right{width: 100%;} } @media (max-width: 640px) { .product_info1_right{padding: 20px 0; h1{letter-spacing: 0;} } .product_info1_right article{margin-top: 20px;} .product_info1_left .product_info1_left_b{ .slick-arrow{top: 12px;} .ul2 li{height: 70px;} .gallery-thumbs{width: e("calc(100% - 50px)"); .swiper-slide{height: 50px;padding: 0;} } .gallery-top{ .arrow-left{width: 20px;left: 0;background-size: 100%;} .arrow-right{width: 20px;right: 0;background-size: 100%;} } .arrow-left{width:20px;} .arrow-right{width:20px;} } .product_info1_left .product_info1_left_t{height: 4rem;} } @media (max-width: 400px) { .product_info1_left .product_info1_left_t{height:3rem;} } .product_info2{margin: 30px 0 10px;padding-top: 30px; .product_info2_dh{padding: 0 20px;height: 50px;line-height: 50px;color: #fff;background: @thirdColor;display: inline-block; h3{font-size: 18px;} } article{min-height: 300px;border: 1px solid #bfbfbf;padding:20px;margin: 20px 0; span{font-size: inherit;} img{max-width: 100%;} table{width: 100%!important; td{border: 1px solid #ccc;padding: 5px; text-align: center;} } } } @media (max-width: 640px) { .product_info2{margin:0;} .product_info2 .product_info2_dh{height: 40px;line-height: 40px;width: 100%;text-align: left;padding-left: 20px;} .product_info2 article{min-height:0;} } .product_info_fanhui{margin-top: 20px;display: inline-block;padding: 0 20px; height: 26px;color: #fff;background: @mainColor;text-align: center;line-height: 26px;margin-bottom: 30px;cursor: pointer;} .news2{margin-top: .5rem; ul{ li{box-shadow: 0px 8px 9px 0px rgba(0, 0, 0, 0.17);height: 320px; padding: 0 0 0 146px;position: relative;margin-bottom: .4rem; .img{float: right;width:35%;overflow: hidden;height: 100%; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } aside{width: 61%;float: left; h3{line-height: 3;color:@mainColor;.transition();.clamp(1)} article{.clamp(5);overflow: hidden;height: 132px;margin-bottom: 20px;} p{color: #373737;font-size: 16px;line-height: 1.6;.transition();text-indent: 2em;} .time{width: 114px;;position: absolute;color: #fff;text-align: right;padding: 15px 9px 15px 0;background:#c4a369;top: 0;left: 0; time{display: block;} } i{background:@mainColor;width: 140px;height: 50px;line-height: 50px;text-align: center;color: #fff;display: block;.border-radius(25px);float: right;margin-right: .3rem;font-size: 16px;.transition();} } } li:hover{ aside{ p,h3{color: #fff;} i{background: #fff;color: @mainColor;} } } } } @media (max-width:900px ) { .news2 ul li{padding-left: 10px;} .news2 ul li aside .time{display: none;} } @media (max-width:640px ) { .news2 ul li{height: auto;padding-left: 0; .img{width: 100%;height: 220px;} } .news2 ul li aside .time{display: block;width: 75px;} .news2 ul li aside{width: 100%;padding:3%;} .news2 ul li aside article{.clamp(1);height: auto;} .news2 ul li aside p{font-size: 14px;} .news2 ul li aside h3{line-height: 2;} .news2 ul li aside i{width: 110px;height: 36px;line-height: 36px;} } // 发展内页////////////////////////////////////////// .development_list{padding-left:2rem;padding-bottom: 1rem; li{padding: 40px 75px 30px 66px;border-left: 1px solid @mainColor;position: relative; .d_year{position: absolute;left: -150px;top: 31px;font-size: 40px;color: @mainColor;} .i_circle{display: block;width: 11px;height: 11px;background: #fff url(../images/icon_02.png) no-repeat;position: absolute;left: -6px;top:50px;} .i_jiantou{display: block;width: 16px;height: 7px;background: url(../images/icon_04.png) no-repeat;position: absolute;left: -9px;top: -2px; } .d_detail{font-size: 16px;color: #000000;line-height: 32px;} } } @media (max-width: 1200px) { .development_list{padding-left: 3rem;} } @media (max-width: 900px) { .development_list li{padding: 20px 17px 15px 30px; .i_circle{top: 31px;} .d_year{top: 10px;} } } @media (max-width: 600px) { .development_list{padding-left:2rem; li{ .d_year{left: -1.8rem;} } } } .picture{ float:left; width:193px; height:173px; overflow:hidden; display:inline;position: relative; .picture1 a{ width: 193px; height:173px; text-align:center; vertical-align:middle;background-color:#FFFFFF; border:1px solid #cccccc; overflow:hidden; display:table-cell; *display: block; img{ vertical-align:middle; border:0;} } .picture2{line-height: 20px; height:20px; text-align:center; } } .title{background:#eee; padding-left:10px;margin-bottom: 20px; span,a{color: #333;} } ///ntitle3的样?///////////////////// .title3{margin-bottom: 20px; span,a{color: #333;} } .title3_top{ h2{font-size: 24px;color: #000;} p{margin-top: 5px;} .title_tel{background: url("../images/title_tel.png")no-repeat left center; float: right;padding-left: 50px; span{font-size:24px;font-style: italic;} } } /////////////////////////////////////////////////////////////////////////////// .container_left4{width: 220px;float: left;; h3{font-size: 16px; height: 60px; line-height: 60px; background: #666666; padding: 0 20px; color: #FFF; text-shadow: #333 2px 2px 2px;} .class_nr{ ul{ li{margin-bottom: 1px; a{ display: block;background: #EEE;padding: 10px 20px;.transition();} } li:hover a{background:@qt6;color: #fff;} .cura{background:@qt6;color: #fff;} } } } .neiye_banner{height: 300px;max-width: 100%;display: none; li{height: 100%;} } .container_left5{width: 230px;margin-bottom: 30px;float: left; h3{} .class_nr{ ul{margin-top: 15px;margin-bottom: 27px; li{ a{display: block;border-bottom: 1px solid #e1e1e1;line-height: 41px;margin-bottom: 3px; margin-top: 0;padding-left:46px; &::before{content: ">";width: 5px;height: 8px; float: left;display:block;margin-left: -16px;} } } li:hover{background:@qt6;color: #fff; a{color: #fff;} } .cura{background:@qt6;color: #fff; a{color: #fff;} } } } .sider_fenlei{margin-top: 16px; li{display: inline-block;margin-right: 3px;margin-top: 12px; a{color: #a3a3a3;display: block; text-transform: uppercase;border: 1px solid #e2e2e2; padding: 10px 22px;.transition();} } li:hover a{background: @qt6;color: #fff;} } .sider_news{margin-top: 27px;margin-bottom: 28px; li{color: #999;margin-bottom: 16px; a{display: block;color: #37474f;border-bottom: 1px solid #e1e1e1;padding-bottom: 17px;margin-top: 12px;.transition(); time{color: #999;line-height: 20px;margin-bottom: 5px;font-size: 12px;} } } li:hover a{color: @qt6;} } } .com_sider{position: relative;padding-bottom: 10px;font-size: 18px; &::after{content: "";width: 35px;height: 2px;background: #d68b37; position: absolute; bottom: -1px;left: 0;} } .neiye_article{line-height: 24px;padding: 30px; h2{font-size: 18px;margin-bottom: 10px; small{font-size: 12px;color: #999;} } } //sidebar3横向内页D样式 .sidebar3{ .class_nr{padding-bottom:5px;border-bottom: 1px solid #ccc; ul{background: #f7f7f7; height: 68px;width:@b_w; li{display: inline-block;line-height: 68px;width: 145px;text-align: center;.transition(); &:hover{background: @qt6; a{color: #fff;} } } .cura{background: @qt6;display: block;color: #fff;} } } } .search{ form{margin: 7px 0 0 0;} .text{color: #a0a0a0;background: #dadada;padding: 0;margin: 0;width: 189px!important;height: 22px!important;border: none;color: #a0a0a0;text-indent: 5px;} .anan{background: #020202;margin: 0;padding: 0;width: 44px!important;height: 22px!important;color: #fff;border: none;} } .message{width: 279px;border-bottom: 1px dashed #929292;padding: 11px 0; .message_title{min-height: 17px; line-height: 17px;color: #666666; img{float: left;margin-right: 6px;} } .message_text{margin-top: 10px;line-height: 23px;color: #666666; img{float: left;margin-right: 6px;margin-top: 2px;} } } .newsList { width:205px; margin:0 auto; padding-top:5px; .newsList_li { background: url('../images/n.jpg') no-repeat 10px 50%; border-bottom: 1px dashed #7d7d7d; line-height:33px; height: 33px; padding-left: 20px; a{color: #00315a;} } } .productsList { width:205px; margin:0 auto; padding-top:5px; li{background: url('../images/f.jpg') no-repeat 10px 50%; border-bottom: 1px dashed #7d7d7d; line-height:33px; height: 33px; padding-left: 30px; a{color: #00315a;} } } .newsList1{line-height: 30px; li{border-bottom: 1px dotted #deabab; a{background:url('../images/news_tb2.jpg')no-repeat center left;text-indent: 10px;display: block;} } } #Mleft{float: left;} #Mright{margin:0 0px 0 auto;width:949px;float: right;min-height: 300px;} .container_left{width: 220px;float: left;; .class_neiye{background:@hoverColor;padding-top: 5px;margin-bottom: 20px; h3{text-align:center;color: #fff;font-size: 24px;padding:10px 0 10px 0;border-bottom: 1px solid #fff; -webkit-font-smoothing: antialiased; /*chrome、safari*/ -moz-osx-font-smoothing: grayscale;/*firefox*/ } .class_nr{padding: 5px 5px 15px 5px; li{line-height: 40px;text-align: center; .transition(all .7s); a{color: #fff;font-size: 16px;} &:hover{background:@thirdColor;border-bottom: none;padding-left: 5px;} } img{border-top: 1px solid #fff;padding-top: 10px;} h4{text-align: center;color: #fff;font-size: 20px;margin: 10px 0 10px 0;} .contact_p{color: #fff;text-align: center;font-size: 14px;} } } } /********消除动
*********/ .clear2{background: none;border: 0;clear: both;display: block;float: none;font-size: 0;margin: 0;padding: 0;overflow: hidden;visibility: hidden;width: 0;height: 0; &:after {content: ".";display:block;height: 0;clear: both;visibility:hidden;} } .news-btn-1 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .news-btn-1:before {.transition(all .6s);content: '';width: 0;height: 0;.rotate(360deg);border-style: solid;border-width: 0 0 0 0;border-color:@qt6 transparent transparent transparent;position: absolute;top: 0;left: 0;z-index: -1;} .news-btn-1:hover:before {border-width: 1330px 1330px 0 0;} .neiye_news_list{padding-left: 20px;margin-right: -30px;padding-top: 20px; li{width: 180px;float: left;padding: 5px 10px 10px 10px;height: 220px;border: 1px solid #ccc;margin-right: 30px;margin-bottom: 20px;text-align: center; img{border:1px solid #ccc; vertical-align:middle;} .a1{text-align: center;margin-top: 10px;border-bottom: 1px solid #ccc;padding-bottom: 3px; a:hover{color: #00c9ff;} } } } .page{clear: both;margin:.2rem 0;text-align: center;font-size: 16px;display: flex;justify-content: space-between; #page_num{width: 50px;} a{display:inline-block;border-bottom:1px solid #DBDBDB;padding:0 2px 0;color:#000; &:hover{color:@mainColor} } select{vertical-align: top;height:22px;} } #page_num{border: 1px solid #ccc;} //详情上一条和下一? .pn{ font-size: 14px; margin:25px 0; position: relative; li{margin-bottom: .1rem; a{display: block;text-decoration: none;color:#383737; .slh(); &:hover{color:@mainColor;} i{float: left;} span{bottom: 1px;margin: 0 10px;.slh;display: block;} } } } input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #fff; } input:-moz-placeholder, textarea:-moz-placeholder { color: #fff; } input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #fff; } //囄点击攑֤取消和自q冲突样式 #spotlight{ .footer{margin: 0;background: none;} .title{background: none;padding-left: 0;margin: 0;} .header{ div{margin-right:10px;} } } .footer{margin-top: .4rem; background: url("../images/footer_bg.jpg")no-repeat center right 40%;color: #fff;padding:.4rem 0 .1rem;background-size:cover; .main1400_b{display: flex;justify-content: space-between;} section{width:19%; h6{font-size: .3rem;margin-bottom: .2rem;font-weight: bold;} p{font-size: .24rem;line-height: 2; &:hover{color: @mainColor;} } li{font-size: 16px;margin-bottom: 10px;} form{ input{border: 1px solid #fff;border-right: 0;color:#fff;line-height: 40px;padding-left:5px;float: left;height: 40px;width: 70%;} #button{background: @thirdColor;width:30%;height: 40px;line-height: 40px;text-align: center;color: #fff;float: left;padding-left: 0;} } } .s1{border-right: 1px solid @mainColor;padding-right:3%;width: 22%; p{font-size:18px;margin-bottom: 5px;} } .s4{width: 16%;border-right: 1px solid @mainColor; p{font-size: 18px;} } .s3{margin-left: 10%;width: 24%; span{font-size: 18px;} .erweima{position: relative;float: left;margin-right: .2rem; .tubiao{width: 80px;text-align: center;margin: .2rem 0 0; i{background: url("../images/i14.png")no-repeat;width: 46px;height: 37px;background-size: 100%;display: block;margin: 0 auto;} } img{position: absolute;opacity:0;left:70px;top: -20px;width: 1rem;height: 1rem;} } .a1{display:block;float: left; margin:.2rem 0;background: #fff url("../images/i13.png")17px center no-repeat;.transition();font-size: 18px;.transition();border-top-left-radius: 17px;border-bottom-right-radius: 17px;width: 140px;padding-left:53px;height: 40px;line-height: 40px;color: @mainColor;} } .ffff{width: 500px;margin-top: .2rem; .zhexing{float: right; svg{.translateY(2px)} } } } @media (max-width:1200px ) { .footer .s1 p{font-size: 16px;} .footer .s4 p{font-size: 16px;} } @media (max-width:1000px ) { .footer{background-position:40% bottom;padding-top: .2rem; .s1,.s2,.s4{display: none;} .s3{width: 100%;margin-left: 0; .erweima{ .tubiao{display: none;} img{opacity: 1;width:2rem;height: 2rem;position: static;} } .a1{display: none;} } } .footer section{padding-bottom:0;} .footer section li{font-size: 14px;} } @media (max-width:400px ) { .footer section h6{font-size: 18px;} .footer .s3 span{font-size: 16px;} } /////////////////////////////////////////人才招聘///////////////////////////////// .job{overflow: hidden;} .job_tab_dh{height: 60px;line-height: 60px; li{width: 25%;float: left;background: #000000;text-indent:5%;color: #fff;font-weight: bold;} } .job_tab_nr{border: 1px solid #ccc; li{ .nei_rong{ background: #fff;line-height: 60px;height: 60px;cursor: pointer; p{width: 25%;float: left;text-indent: 5%;.slh; i{float: right;margin-right: 30px;} } } section{text-indent: 5%;padding-top: 2%;display: none;background: #e9e9e9;} } li+li{border-top:1px solid #ccc;} } @media (max-width:840px) { .job_tab_dh li{text-indent: 1em;} .job_tab_nr li .nei_rong p{text-indent: 1em;} } @media (max-width:600px) { .job_tab_dh li{width: 33.3%;} .job_tab_dh li:nth-of-type(3){display: none;} .job_tab_nr li .nei_rong p:nth-of-type(3){display: none;} .job_tab_nr li .nei_rong p{width: 33.3%;} .job_tab_nr li .nei_rong,.job_tab_dh{height: 40px;line-height: 40px;} } .job_contact{background: #ffffff;margin-bottom: 20px;overflow: hidden;;padding: 20px 50px;box-sizing: border-box;; li{width:33.3%;float: left;box-sizing: border-box;;padding-left:10%; section{margin: 0 auto; p{line-height: 1.75;} i{display: block;background: url("../images/j1.png")no-repeat;width: 50px;height: 50px;margin-right: 10px;float: left;} } } li:nth-of-type(2) section i{background: url("../images/j2.png")} li:nth-of-type(3) section i{background: url("../images/j3.png")} } @media (max-width:1050px) { .job_contact{ li{width: 33.3%;margin-bottom: 20px; section{width:200px;} } } } @media (max-width:680px) { .job_contact{padding: 10px; li{width: 50%; section{ i{width: 25px;height: 25px;background-size: 100%!important;margin-top: 10px;} p{line-height: 1.7;} } } li:last-child{margin-bottom: 0;} } } .btn-0 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-0:before { background:@mainColor;content: '';.transition(all .6s);position: absolute;top: 0;left: 0;width: 0;height: 100%;z-index: -1;} .btn-0:hover:before {width: 100%;} .btn-1 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-1:before {.transition(all .6s);content: '';width: 0;height: 0;.rotate(360deg);border-style: solid;border-width: 0 0 0 0;border-color:@mainColor transparent transparent transparent;position: absolute;top: 0;left: 0;z-index: -1;} .btn-1:hover:before {border-width: 330px 330px 0 0;} .btn-2 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-2:before {content: '';position: absolute;bottom: 0;left: 0; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;border-color: transparent transparent transparent @mainColor;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-2:after {border-style: solid;content: '';width: 0;height: 0;border-width: 0 0 0 0;border-color: transparent @mainColor transparent transparent;position: absolute;right: 0;top: 0;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-2:hover:before {border-width: 165px 0 0 165px;} .btn-2:hover:after {border-width: 0 165px 165px 0;} .btn-3 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-3:before {content: '';position: absolute;bottom: 0;left: 0; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;border-color: transparent transparent transparent @mainColor;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-3:after {border-style: solid;content: '';width: 0;height: 0;border-width: 0 0 0 0;border-color: transparent transparent @mainColor transparent;position: absolute;right: 0;bottom: 0;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-3:hover:before {border-width: 222px 0 0 222px;} .btn-3:hover:after {border-width: 0 0 222px 222px;} .btn-4 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-4:before, .btn-4:after {position: absolute;top: 50%;content: '';width: 20px;height: 20px;background: @mainColor;.border-radius(50%);z-index: -1;} .btn-4:before {left: -20px;-webkit-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);-o-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);transform: translate(-50%, -50%); } .btn-4:after {right: -20px;-webkit-transform: translate(50%, -50%);-moz-transform: translate(50%, -50%);-mz-transform: translate(50%, -50%);-o-transform: translate(50%, -50%);transform: translate(50%, -50%);} .btn-4:hover:before {-webkit-animation: criss-cross-left 0.8s both;-moz-animation: criss-cross-left 0.8s both;-o-animation: criss-cross-left 0.8s both;-ms-animation: criss-cross-left 0.8s both;animation: criss-cross-left 0.8s both;} .btn-4:hover:after {-webkit-animation: criss-cross-right 0.8s both;-moz-animation: criss-cross-right 0.8s both;-ms-animation: criss-cross-right 0.8s both;-o-animation: criss-cross-right 0.8s both;animation: criss-cross-right 0.8s both;} @-webkit-keyframes criss-cross-left { 0% {left: -20px;} 50% {left: 50%;width: 20px;height: 20px;} 100% {left: 50%;width: 375px;height: 375px;} } @keyframes criss-cross-left { 0% {left: -20px;} 50% {left: 50%;width: 20px;height: 20px;} 100% {left: 50%;width: 375px;height: 375px;} } @-webkit-keyframes criss-cross-right { 0% {right: -20px;} 50% {right: 50%;width: 20px;height: 20px;} 100% {right: 50%;width: 375px;height: 375px;} } @keyframes criss-cross-right { 0% {right: -20px;} 50% {right: 50%;width: 20px;height: 20px;} 100% {right: 50%;width: 375px;height: 375px;} } .btn-5 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-5:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;right: 0;border-color: transparent @mainColor transparent transparent;} .btn-5:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;bottom: 0;left: 0;border-color: transparent transparent transparent @mainColor;} .btn-5:hover:before, .btn-5:hover:after {border-width:80px 433px;} .btn-6 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-6:before, .btn-6:after {content: '';position: absolute;top: 0;left: 0;width: 250px;height: 0;background:@mainColor;.transition(all .6s);z-index: -1;} .btn-6:after {top: auto;bottom: 0;} .btn-6:hover:before, .btn-6:hover:after {height: 40px;} .btn-7{position:relative;transform-style:preserve-3d;transition:0.4s;} .btn-7:hover{transform:translateZ(20px) rotateX(360deg) scale(1.1);} .btn-8{position:relative;transform-style:preserve-3d;transition:0.4s;} .btn-8:hover{transform:rotateY(360deg) scale(1.1);} .btn-9{position: relative;z-index: 1; &::after{position: absolute; content: "";width: 100%;height: 100%;left: 0;top: 0;background: @mainColor;transition: transform .4s cubic-bezier(.4,0,.2,1);transform-origin:right bottom;transform: scaleX(0);z-index: -1;} } .btn-9:hover::after{transform: scaleX(1); transform-origin: left bottom;} .btn-9-1{position: relative;z-index: 1; &::after{position: absolute; content: "";width: 100%;height: 100%;left: 0;top: 0;background: @mainColor;transition: transform .4s cubic-bezier(.4,0,.2,1);transform-origin:left bottom;transform: scaleY(0);z-index: -1;} } .btn-9-1:hover::after{transform: scaleY(1); transform-origin: right top;} .btn-10{position: relative;} .btn-10::before{content: ""; display: block; width: 100%; height: 100%; background:@mainColor; position: absolute; left: 0; top: 0; z-index: 3; transform: translateY(-100%);animation: 1.4s ease;animation-fill-mode: both; backface-visibility: visible !important;animation-name: fadedown;} .animate-delay-1::before{animation-delay:.8s;} @keyframes fadedown { from { transform: translateY(-100%); } 60% { transform: translateY(0); } to { transform: translateY(100%);} } //btn-span-1标签 .btn-span-1 {position: relative;overflow: hidden;.transition(all .6s);display: block;width: 100%;height: 100%;z-index: 1;} .btn-span-1:before {content: '';position: absolute;bottom: 0;left: 0; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;border-color: transparent transparent transparent @mainColor;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-span-1:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;right: 0;border-color: transparent @mainColor transparent transparent;} .btn-span-1 span:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;bottom: 0;right: 0;border-color: transparent transparent @mainColor transparent;} .btn-span-1 span:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;left: 0;border-color: @mainColor transparent transparent transparent;} .btn-span-1:hover:before {border-width: 165px 0 0 165px;} .btn-span-1:hover:after {border-width: 0 165px 165px 0;} .btn-span-1:hover span:before {border-width: 0 0 165px 165px;} .btn-span-1:hover span:after {border-width: 165px 165px 0 0;} //btn-span-2标签 .btn-span-2{position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-2:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;right: 0;border-color: transparent @mainColor transparent transparent;} .btn-span-2:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;bottom: 0;left: 0;border-color: transparent transparent transparent @mainColor;} .btn-span-2:before, .btn-span-2:after {border-color:@mainColor;} .btn-span-2span:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;left: 0;border-color: @mainColor transparent transparent transparent;} .btn-span-2span:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;right: 0;bottom: 0;border-color: transparent transparent @mainColor transparent;} .btn-span-2span:before, .btn-span-2span:after {border-color: @mainColor;} .btn-span-2:hover:before {border-width: 30px 62.5px;} .btn-span-2:hover:after {border-width: 30px 62.5px;} .btn-span-2:hover span:before {border-width: 20px 62.5px;} .btn-span-2:hover span:after {border-width: 20px 62.5px;} //btn-span-3标签 .btn-span-3 {position: relative;overflow: hidden;.transition(all .6s);display: block;;z-index: 1;} .btn-span-3 span:after {content: ''; position: absolute;display: block;width: 0;height: 0;.border-radius(50%);background: @mainColor;z-index: -1; -webkit-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);-o-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);transform: translate(-50%, -50%);-webkit-transition:width 0.4s, height 0.4s;-moz-transition:width 0.4s, height 0.4s;-ms-transition:width 0.4s, height 0.4s;-o-transition:width 0.4s, height 0.4s;transition:width 0.4s, height 0.4s;} .btn-span-3:hover span:after {width: 562.5px;height: 562.5px;} //btn-span-4标签 .btn-span-4 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-4:before, .btn-span-4:after,.btn-span-4 span:before,.btn-span-4 span:after {content: '';position: absolute;top: 0;width: 63.5px;height: 0;background: @mainColor;.transition(all .6s);z-index: -1;} .btn-span-4:before {left: 0;} .btn-span-4:after {left: 125px;} .btn-span-4 span:before, .btn-span-4 span:after {top: auto;bottom: 0;} .btn-span-4 span:before {left: 62.5px;} .btn-span-4 span:after {left: 187.5px;} .btn-span-4:hover {color: #c0d3c1;} .btn-span-4:hover:before, .btn-span-4:hover:after,.btn-span-4:hover span:before,.btn-span-4:hover span:after {height: 80px;} //btn-span-5(luo)签 .btn-span-5 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-5:before, .btn-span-5:after,.btn-span-5 span:before,.btn-span-5 span:after {content: '';position: absolute;left: 0;top: 0;width: 100%;height: 0;background:fade(@mainColor,50%);.transition(all .6s);z-index: -1;} .btn-span-5:after,.btn-span-5 span:before {top: auto;bottom: 0;} .btn-span-5 span:before,.btn-span-5 span:after { -webkit-transition-delay: 0.4s;-moz-transition-delay: 0.4s;-ms-transition-delay: 0.4s;-o-transition-delay: 0.4s;transition-delay: 0.4s;z-index: -1;} .btn-span-5:hover:before, .btn-span-5:hover:after,.btn-span-5:hover span:before,.btn-span-5:hover span:after {height: 80px;} //btn-span-6标签 .btn-span-6 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-6:before, .btn-span-6:after,.btn-span-6 span:before,.btn-span-6 span:after {content: '';position: absolute;top: 0;left: 0;width: 0;height: 80px;background: fade(@mainColor,25%);.transition(.4s);z-index: -1;} .btn-span-6:after,.btn-span-6 span:before {left: auto;right: 0;} .btn-span-6 span:before,.btn-span-6 span:after {-webkit-transition-delay: 0.4s; -ms-transition-delay: 0.4s;-o-transition-delay: 0.4s;-moz-transition-delay: 0.4s;transition-delay: 0.4s;} .btn-span-6:hover:before, .btn-span-6:hover:after,.btn-span-6:hover span:before,.btn-span-6:hover span:after {width: 250px;} //btn-span-7(luo)(yun) .btn-span-7 {.transition(.5s);position: relative;overflow: hidden;display: block;} .btn-span-7 span {.transition(.3s);} .btn-span-7:hover{background-color:@mainColor;} .btn-span-7:hover > span{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0px,-40px);transform: translate(0px,-40px);} .btn-span-7::after{position: absolute;content: attr(data-text);-webkit-transform: translate(0, 30%);transform: translate(0, 30%);width: 100%;height: 100%;top: 0;left: 0;opacity: 0;filter: alpha(opacity=0);.transition(.3s);} .btn-span-7:hover::after{opacity: 1;filter: alpha(opacity=100);-webkit-transform: translate(0, 0);transform: translate(0, 0);} //btn-span-7-1标签 .btn-span-7-1 {.transition(.5s);position: relative;overflow: hidden;display: block;} .btn-span-7-1 span {.transition(.3s);} .btn-span-7-1:hover{background-color:@mainColor;} .btn-span-7-1:hover > span{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0px,40px); transform: translate(0px,40px);} .btn-span-7-1::after{position: absolute;content: attr(data-text);-webkit-transform: translate(-30%,0);transform: translate(-30%,0);width: 100%;height: 100%;top: 0;left: 0;opacity: 0;filter: alpha(opacity=0);.transition(.3s); } .btn-span-7-1:hover::after{-webkit-transform: translate(0, 0);opacity: 1;filter: alpha(opacity=100);transform: translate(0, 0);} //btn-span-7-2标(yun) .btn-span-7-2 {.transition(.5s);position: relative;overflow: hidden;display: block;} .btn-span-7-2 span {.transition(.3s);} .btn-span-7-2:hover{background-color:@mainColor;} .btn-span-7-2:hover > span{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0px,40px); transform: translate(0px,40px);} .btn-span-7-2::after{position: absolute;content: attr(data-text);-webkit-transform: translate(-30%, -50%) rotate(-30deg); transform: translate(-30%, -50%) rotate(-30deg); width: 100%;height: 100%;top: 0;left: 0;opacity: 0;filter: alpha(opacity=0);.transition(.3s); } .btn-span-7-2:hover::after{-webkit-transform: translate(0, 0);opacity: 1;filter: alpha(opacity=100);transform: translate(0, 0);} //btn-span-8标签 @keyframes jello { from, 11.1%, to {-webkit-transform: none;transform: none;} 22.2% {-webkit-transform: skewX(-12.5deg) skewY(-12.5deg);transform: skewX(-12.5deg) skewY(-12.5deg);} 33.3% {-webkit-transform: skewX(6.25deg) skewY(6.25deg);transform: skewX(6.25deg) skewY(6.25deg);} 44.4% {-webkit-transform: skewX(-3.125deg) skewY(-3.125deg);transform: skewX(-3.125deg) skewY(-3.125deg);} 55.5% {-webkit-transform: skewX(1.5625deg) skewY(1.5625deg);transform: skewX(1.5625deg) skewY(1.5625deg);} 66.6% {-webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);transform: skewX(-0.78125deg) skewY(-0.78125deg);} 77.7% {-webkit-transform: skewX(0.390625deg) skewY(0.390625deg);transform: skewX(0.390625deg) skewY(0.390625deg);} 88.8% {-webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);transform: skewX(-0.1953125deg) skewY(-0.1953125deg);} } .btn-span-8{.transition(.5s);position: relative;display: block;} .btn-span-8:hover{background-color:fade(@mainColor,20%); -webkit-animation-name: jello;animation-name: jello;-webkit-animation-duration: 1s;animation-duration: 1s;-webkit-animation-fill-mode: both;animation-fill-mode: both;} //btn-span-9(luo)签 .btn-span-9{.transition(.5s);position: relative;display: block;width: 100%;height: 100%;} .btn-span-9 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-9::before{content: '';position: absolute;top: 0;left: 0;-webkit-transform: scale(0.5, 1);transform: scale(0.5, 1);width: 100%; height: 100%; z-index: 1; opacity: 0;filter: alpha(opacity=0); background-color: @mainColor;.transition(.4s);} .btn-span-9:hover::before{ opacity: 1;filter: alpha(opacity=100); -webkit-transform: scale(1, 1); transform: scale(1, 1);} //btn-span-9-1标(yun) .btn-span-9-1{.transition(.5s);position: relative;display: block;width: 100%;height: 100%;} .btn-span-9-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-9-1::before{content: '';position: absolute;top: 0;left: 0;-webkit-transform: scale(1,0.5);transform: scale(1,0.5);width: 100%; height: 100%; z-index: 1; opacity: 0;filter: alpha(opacity=0); background-color: @mainColor;.transition(.4s);} .btn-span-9-1:hover::before{ opacity: 1;filter: alpha(opacity=100); -webkit-transform: scale(1, 1); transform: scale(1, 1);} //btn-span-10标签 .btn-span-10{.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-10 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-10::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; opacity: 0;filter: alpha(opacity=0); background-color: @mainColor;.transition(.4s);} .btn-span-10:hover::before{transform: skewX(-180deg) scale(0.6,1);opacity: 1;filter: alpha(opacity=100);-webkit-transform: skewX(-180deg) scale(0.6,1);} //btn-span-11标签 .btn-span-11{.transition(.5s);position: relative;} .btn-span-11 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-11::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background:@mainColor;.transition(.4s); } .btn-span-11::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1;.transition(.5s); background:@mainColor;} .btn-span-11:hover::before{.rotate(-45deg);background-color: fade(@mainColor,50%);} .btn-span-11:hover::after{.rotate(45deg);background-color:fade(@mainColor,50%);} //btn-span-12(luo)签 .btn-span-12{.transition(.5s);position: relative;display: block;width: 100%;height: 100%;perspective: 2000px;} .btn-span-12 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-12::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background:@mainColor;.transition(.4s);} .btn-span-12::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1;.transition(.5s); border: 1px solid fade(@mainColor,50%); background:@mainColor} .btn-span-12:hover::before{-webkit-transform: rotateX(60deg) translate(0px,40px);transform: rotateX(60deg) translate(0px,40px) ;background:fade(@mainColor,50%);} .btn-span-12:hover::after{-webkit-transform: rotateX(-60deg) translate(0px,-40px) ;transform: rotateX(-60deg) translate(0px,-40px);background:fade(@mainColor,50%);} //btn-span-13标(yun) .btn-span-13 {.transition(.5s);position: relative;display: block;} .btn-span-13 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-13::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,100%);;.transition(.4s);} .btn-span-13:hover::before{opacity: 0;filter: alpha(opacity=0);-webkit-transform: scale(1.2,1.2);transform: scale(1.2,1.2);} .btn-span-13::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1;.transition(.5s); border: 1px solid fade(@mainColor,100%); background: fade(@mainColor,100%);filter: alpha(opacity=0);opacity: 0;-webkit-transform: scale(0.5,0.5);transform: scale(0.5,0.5);} //btn-span-13-1标签 .btn-span-13-1{.transition(.5s);position: relative;} .btn-span-13-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-13-1::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background-color: rgba(255,255,255,0.25);.transition(.4s);background-color: rgba(255,255,255,0.25);.transition(.3s);} .btn-span-13-1:hover::before{opacity:0 ;filter: alpha(opacity=0);-webkit-transform: scale(0.5,0.5);transform: scale(0.5,0.5);} .btn-span-13-1::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1;opacity:0 ;filter: alpha(opacity=0);.transition(.3s);-webkit-transform: scale(1.2,1.2);transform: scale(1.2,1.2);border: 1px solid rgba(255,255,255,0.5);} .btn-span-13-1:hover::after{opacity:1 ;filter: alpha(opacity=100);-webkit-transform: scale(1,1);transform: scale(1,1);} //btn-span-14标签 .btn-span-14 {.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-14 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14::before, .btn-span-14::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);.transition(.3s);-webkit-transform: translate(0,-100%);transform: translate(0,-100%);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14:hover::before, .btn-span-14:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-1标(yun) .btn-span-14-1{.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-14-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-1::before, .btn-span-14-1::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(-100%,0);transform: translate(-100%,0);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-1::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-1:hover::before, .btn-span-14-1:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-2标签 .btn-span-14-2 {.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-14-2 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-2::before, .btn-span-14-2::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(-13%,-190%) rotate(-30deg);transform: translate(-13%,-190%) rotate(-30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-2::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-2:hover::before, .btn-span-14-2:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-3(luo)签 .btn-span-14-3 {.transition(.3s);position: relative;display: block;overflow: hidden;} .btn-span-14-3 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-3::before, .btn-span-14-3::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(13%,190%) rotate(-30deg);transform: translate(13%,190%) rotate(-30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-3::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-3:hover::before, .btn-span-14-3:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-4标签 .btn-span-14-4 {.transition(.3s);position: relative;display: block;overflow: hidden;} .btn-span-14-4 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-4::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);.transition(.3s);-webkit-transform: translate(13%,190%) rotate(-30deg);transform: translate(13%,190%) rotate(-30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-4::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);.transition(.3s);-webkit-transform: translate(-13%,-190%) rotate(-30deg);transform: translate(-13%,-190%) rotate(-30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-4::before{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-4:hover::before, .btn-span-14-4:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-5标签 .btn-span-14-5 {.transition(.3s);position: relative;display: block;overflow: hidden;} .btn-span-14-5 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-5::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(13%,-190%) rotate(30deg);transform: translate(13%,-190%) rotate(30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-5::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);.transition(.3s);-webkit-transform: translate(-13%,-190%) rotate(-30deg);transform: translate(-13%,-190%) rotate(-30deg);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-5::before{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-5:hover::before, .btn-span-14-5:hover::after{transform: translate(0,0);-webkit-transform: translate(0,0);} //btn-span-15标签 .btn-span-15 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,50%);.transition(.3s);opacity: 1;transform: translate(0,-105%);border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: fade(@mainColor,25%);background: fade(@mainColor,50%);} .btn-span-15:hover::before{opacity: 0;transform: translate(0,0);} //btn-span-15-1(luo)签 .btn-span-15-1{.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-1::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,50%);;.transition(.3s);opacity: 1;transform: translate(-105%,0);border-right-width: 1px;border-right-style: solid;border-right-color: rgba(255,255,255,1);background: fade(@mainColor,50%);} .btn-span-15-1:hover::before{opacity: 0;transform: translate(0,0);} //btn-span-15-2标签 .btn-span-15-2 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-2 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-2::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,50%);.transition(.5s);opacity: 1;transform: translate(-13%,-190%) rotate(-30deg);border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: rgba(255,255,255,1);background: fade(@mainColor,50%);} .btn-span-15-2:hover::before{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-15-3标签 .btn-span-15-3 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-3 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-3::before, .btn-span-15-3::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,50%);.transition(.5s);opacity: 1;transform: translate(0,-105%);border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: rgba(255,255,255,1);background-color: fade(@mainColor,50%);} .btn-span-15-3::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-15-3:hover::before, .btn-span-15-3:hover::after{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-15-4标(yun) .btn-span-15-4 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-4 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-4::before, .btn-span-15-4::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background-color: fade(@mainColor,50%);.transition(.5s);opacity: 1;transform: translate(-105%,0);border-right-width: 1px;border-right-style: solid;border-right-color: rgba(255,255,255,1);background-color:fade(@mainColor,50%);} .btn-span-15-4::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-15-4:hover::before, .btn-span-15-4:hover::after{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-15-5(luo)签 .btn-span-15-5 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;} .btn-span-15-5 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-15-5::before, .btn-span-15-5::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background-color: fade(@mainColor,50%);;.transition(.5s);opacity: 1;filter: alpha(opacity=100);-webkit-transform: translate(-13%,-190%) rotate(-30deg);transform: translate(-13%,-190%) rotate(-30deg);border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: rgba(255,255,255,1);background-color: fade(@mainColor,50%);;} .btn-span-15-5::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-15-5:hover::before, .btn-span-15-5:hover::after{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-16标签 .btn-span-16 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;border: 1px solid @mainColor;} .btn-span-16:hover{border: 1px solid rgba(255,255,255,0);} .btn-span-16::before{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 1px;z-index: 1;.transition(.5s); -webkit-transform: translate(-100%, -600%) rotate(30deg);transform: translate(-100%, -600%) rotate(30deg);background-color: @mainColor;transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-16:hover::before{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-17标签 .btn-span-17 {.transition(.3s);position: relative;display: block;overflow: hidden;} .btn-span-17 span{position: relative;.transition(.3s);z-index:2;letter-spacing:0;} .btn-span-17::before{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 100%;z-index: 1;opacity: 0;filter: alpha(opacity=0);.transition(.3s);border-top-width: 1px;border-bottom-width: 1px;border-top-style: solid;border-bottom-style: solid;border-top-color: rgba(255,255,255,0.5);border-bottom-color: rgba(255,255,255,0.5);-webkit-transform: scale(0.1, 1);transform: scale(0.1, 1);} .btn-span-17:hover span{letter-spacing: 2px;} .btn-span-17:hover::before{filter: alpha(opacity=100);opacity: 1;-webkit-transform: scale(1, 1);transform: scale(1, 1);} .btn-span-17::after{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 100%;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.25);} .btn-span-17:hover::after{opacity: 0;filter: alpha(opacity=0);-webkit-transform: scale(0.1, 1);transform: scale(0.1, 1);} //btn-span-18标签 translate Y轴高度取决于a标签的一半高? .btn-span-18 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;border-right-width: 1px;border-left-width: 1px;border-right-style: solid;border-left-style: solid;border-right-color: rgba(255,255,255,0.5);border-left-color: rgba(255,255,255,0.5);} .btn-span-18 span{.transition(.3s);letter-spacing:0;} .btn-span-18:hover span{letter-spacing: 2px;} .btn-span-18:hover{ border-right-color: rgba(255,255,255,0);border-left-color: rgba(255,255,255,0);} .btn-span-18::before{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 1px;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-18:hover::before{transform: translate(0,-45px) rotate(-45deg);} .btn-span-18::after{content: '';position: absolute;top: 0;left: 0;width: 100%;height: 1px;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-18:hover::after{transform: translate(0,45px) rotate(45deg);} //btn-span-19标签 .btn-span-19 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;border-top-width: 1px;border-bottom-width: 1px;border-top-style: solid;border-bottom-style: solid;border-top-color: rgba(255,255,255,0.5);border-bottom-color: rgba(255,255,255,0.5);} .btn-span-19 span{.transition(.3s);letter-spacing:0;} .btn-span-19:hover span{letter-spacing: 2px;} .btn-span-19:hover{border-top-color: rgba(255,255,255,0);border-bottom-color: rgba(255,255,255,0);} .btn-span-19::before{content: '';position: absolute;top: 0;right: 0;width: 1px;height: 100%;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-19:hover::before{-webkit-transform: translate(-94.9845px,0) rotate(270deg);-moz-transform: translate(-94.9845px,0) rotate(270deg);transform: translate(-94.9845px,0) rotate(270deg);} .btn-span-19::after{content: '';position: absolute;top: 0;left: 0;width: 1px;height: 100%;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-19:hover::after{-webkit-transform: translate(94.9845px,0) rotate(180deg);-moz-transform: translate(94.9845px,0) rotate(180deg);transform: translate(94.9845px,0) rotate(180deg);} //btn-span-20标(yun) 文字上ȝ效果 .btn-span-20{position: relative;overflow: hidden;;display: block; span{display: block;.transition(.4s);margin: 0 auto;} span::before{content:attr(data-hover);position: absolute;top: 100%;.transition(.4s); margin:auto;} } .btn-span-20:hover{ span{transform: translateY(-100%);} } //囄攑֤效果
.hover-img-1{overflow: hidden; img{.scale(1);.transition(.4s);} &:hover{ img{.scale(1.1);} } } //囄攑֤Q外面的框羃? .imgd-h-1{.transition(); img{.transition();} &:hover{.scale(.97); img{.scale(1.15)} } } .imgd-h-2{overflow: hidden;position: relative; &:before,&:after,.zhezhao:before,.zhezhao:after{content: '';background: linear-gradient(transparent,rgba(0,0,0,0.9));height: 100%;width: 25%;transform: translateY(-100%);position: absolute;left: 0;top: 0;z-index: 1;.transition(.3s);} &:after{left: 25%;} .zhezhao{width: 100%;height: 100%;position: absolute;bottom: 0;left: 0;.transition(.2s); p{color: #fff;font-size: 30px;opacity: 0;bottom: -30px;position: absolute;.transition();z-index: 22;width: 100%;text-align: center;} &:before{left:50%;} &:after{left:75%;} img{.transition(.3s);} } &:hover{ &:before,&:after,.zhezhao:before,.zhezhao:after{transform: translateY(0);} &:before{transition-delay: 0.225s;} &:after{transition-delay: 0.075s;} .zhezhao:before{transition-delay: 0.15s;} .zhezhao p{opacity: 1;bottom: 20px;transition-delay: 0.15s;} img{filter: grayscale(100%);} } } //|站开屏效? .fixedmb{position: fixed;top: 0;left: 0;width: 100%;height: 100%;z-index: 9999; &:before,&:after{content: '';position: absolute;width: 50%;height: 100%;background: white;-webkit-transition-delay: .3s;transition-delay: .3s;-webkit-transition: 1.2s;transition: 1.2s;-webkit-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);} } .fixedmb_active{-webkit-transition-delay: .5s;transition-delay: .5s;visibility: hidden; &:before{right: 0;width: 0;} &:after{left: 0;width: 0;} } .chinalist{ span{font-size: inherit;opacity: 0;color: inherit;} } .chinalist.active{ span{animation: fadeInRight 1s forwards;display:inline-block} } .animates .ani-fadeInUpBig,.animates.ani-fadeInUpBig{animation: 1s fadeInUpBig forwards;} .animates .ani-fadeInUp,.animates.ani-fadeInUp{animation: 1s fadeInUp forwards;} .animates.ani-fadeInLeftBig,.animates .ani-fadeInLeftBig{animation: 1s fadeInLeftBig forwards;} .animates.ani-fadeInRightBig,.animates .ani-fadeInRightBig{animation: 1s fadeInRightBig forwards;} .animates.ani-width,.animates .ani-width{animation: 1s widthlong forwards;} @keyframes widthlong { from {width: 0;} to {width:100%;} } .animates.ani-fadeIn,.animates .ani-fadeIn{animation: 1s fadeIn forwards;} @keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } } //水L炚w?只需要给lidrandomdotsc, .randomdots{z-index: 1;position: relative;overflow: hidden;} .randomdot {cursor: pointer;width: 0;height: 0;padding-top: 0;position: absolute;background:@mainColor;border-radius: 50%;transform: translate(-50%, -50%);z-index: -1; } .randomdot.active {width: 100%;padding-top: 100%;transform: translate(-50%, -50%) scale(3);transition: .5s;transition-timing-function: linear;}