.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);} @mainColor:#1e3988;/*主色*/ @hoverColor:#1a8fdf;/*悬Q变色*/ @thirdColor:#099f52;/*W三个颜?/ @qt5:#fff;/*悬Q背景变色后字体颜?/ @qt6:#c5a46e;/*按钮悬Q颜色 */ @height_nav:55px; /*D条高?/ @nav_li_color: #dadada;/*D条文字颜?/ .nav_h_color{color:#fff!important;font-size: 18px!important; &:after{} }; /*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;} /*隐藏*/ .pos_r{position: relative;} //chinatextlist htmll构 .jsplit>.splitbox>p.h5.splitbox-fadeInUp //span.animatext1 会一直触? .splitbox{overflow: hidden; span{min-width:.5em;;display: inline;opacity: 0;margin: 0 1px;} .splitbox-fadeInUp.active span{animation: fadeInUp 1s both;} //可以使用其他animate.css动画 .splitbox-fadeInDown.active span{animation: fadeInDown 1s both;} //可以使用其他animate.css动画 .splitbox-fadeInLeft.active span{animation: fadeInLeft 1s both;} .splitbox-fadeInRight.active span{animation: fadeInRight 1s both;} } *::-webkit-scrollbar-thumb{ //滚动条颜? background-color: @mainColor; } /*----------------头部--------------*/ .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:.2rem 0; .top{ .logo{float: left;display: block;font-size: 0; img{.transition();height: 50px;} } } .btn_language{float: right;background: url("../images/i1_1.png")left center no-repeat;padding-left:37px;height:25px;position: relative;cursor: pointer; i{color: #fff;background: url("../images/i2_1.png")right center no-repeat;padding-right: 15px;} ul{display: none;position: absolute;left: 0;top:30px;background: #fff;border-bottom: 2px solid @mainColor;width: 100%;padding: 10px; a{height: 30px;line-height: 30px;display: block;color:#000; &:hover{color: @mainColor} } } } //底部滑块 .header_nav{ float: left;margin-left:1.5rem;width: 10rem; li{float: left;text-align: center;line-height: @height_nav;height: @height_nav;position: relative;width: 14%; .a1{font-size: 16px;display: block;position: relative;color:@nav_li_color;.transition(.2s); &:after{content: '';height: 3px;position: absolute;left: 0;right: 0;margin: auto;background: #ffd633;bottom: 0;width: 0;} } .ol_2{display: none;; top:50px;left: 0;z-index:99;width:130%;margin-left: -15%; 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%;} } .header_r{float: right;color: #fff;margin-top:15px;} } .nei_header{background: rgba(0,0,0,.3)} .scrolling .header{padding: 10px 0 ;box-shadow: 0 0 4px 5px rgba(0,0,0,.1);background:#000; .nav .dropdown ul.dropdown-menu{padding-top:3px;} .logo img{height: 40px;} .header_nav li{height: 40px;line-height: 40px;} .header_r{margin-top: 10px;} } ///////////////搜烦按钮////////////// .btn_search{width:20px;height: 20px;;float: right;cursor: pointer;margin-right: .1rem;margin-bottom: -10px;display: flex;align-items: center;justify-content: center;margin-left: .15rem; svg{width: 100%;height:100%; path{fill: #fff;} } } .search_kh{position: fixed;left: 0;right: 0;bottom: 0;top:0;margin: auto;background: rgba(0,0,0,.6);z-index: 999;display: none; .search_kh_bg{position: fixed;left: 0;right: 0;bottom: 0;top:0;margin: auto; } form{position: absolute;left: 0;right: 0;top: 0;bottom: 0;margin: auto; width:100%; max-width: 700px;height:50%;max-height:300px; box-shadow: none; -webkit-appearance: none; border-bottom: 2px solid #eee;; background: #fff; padding:2rem 5% .5rem; .i_btn_close{position: absolute;right:0;top: 0;width: 33px;height: 33px;background: rgba(178, 178, 178, .5);display: flex;align-items: center;justify-content: center; svg{width: 20px;height: 20px;} } input{background: none;float: left;width: e("calc(100% - 70px)");line-height:48px;color:#ccc;border: 1px solid #ccc;padding-left: 1em;border-bottom-left-radius: 5px;border-top-left-radius: 5px;} input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #ccc; } input:-moz-placeholder, textarea:-moz-placeholder { color: #ccc; } input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #ccc; } button{background: @mainColor;float: right;width:70px;height: 50px;cursor: pointer;color: #fff;border-bottom-right-radius: 5px;border-top-right-radius: 5px;} } } //手机D样式////////////////////////////////////// #mobile{position: relative;top: 0;left: 0;width: 100%;z-index: 2233;display: none; .top {line-height:60px;height:60px;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);position: relative;z-index: 1;background: #fff; .btn{width: 40px;height: 40px;cursor: pointer;cursor: hand;z-index: 1;margin-top: 10px;position: relative;display: block;float: right;; i{width: 23px;height: 2px;background: #000;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;float: left;margin-left: 10px; img{max-height: 38px;width: auto;display: inline-block;vertical-align: middle;position: relative;top: -2px;} } .lang {float: right;position: relative;color: #000; a{margin-right: .2rem;font-size: 18px;} } .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: 1500px) { .header .header_nav{margin-left:.2rem;} } @media (max-width:1000px) { .header {display: none;} #spotlight .header{display: block;} #mobile{display: block;} } /////////////////////////////////////banner样式/////////////////////////////////////// .banner{max-width: 1920px;text-align: center;height: 0;padding-bottom:46%;position: relative;; .swiper-slide{ .banner1{width: 100%;.transition(2s);;} .banner1_img{position: absolute;left: 0;right: 0;top:64%;opacity: 0; margin: auto;.transition();transition-delay: .3s;} } .banner-prev{position: absolute;top:50%;left:-60px;cursor: pointer;z-index: 2; background: url("../images/prev_btn.png")no-repeat;width: 60px;height: 60px;.transition();} .banner-next{position: absolute;top:50%;right:-60px;cursor: pointer;z-index: 2; background: url("../images/prev_btn.png")no-repeat;width: 60px;height: 60px;.transition();.rotate(180deg)} .banner-pagination{position: absolute;left: 0;right: 0;bottom: 10px;z-index: 2; .swiper-pagination-bullet{width: 12px;height: 12px;.border-radius(6px;);;background: #fff;opacity:1;.transition();} .swiper-pagination-bullet-active{width:30px;} } .swiper-slide-active,.swiper-slide-duplicate-active{z-index: 3; .banner1{.scale(1.05);} } &:hover{ .banner-prev{left:1%;} .banner-next{right:1%;} } } @media (max-width: 640px) { .banner{padding-bottom:52%;} .swiper-button-next1, .swiper-button-prev1{display: none;} .banner .banner-pagination .swiper-pagination-bullet{width: 5px;height: 5px;} } .index1{margin: 1rem 0; .index1_dh{border-bottom: 1px solid #f6f6f6;padding-bottom: .2rem; p{font-size: 16px;} } .index1_nr{display: flex;flex-flow: row wrap;justify-content: space-between;align-items: flex-start;padding-top: .6rem; .index1_1{width: 48.75%; h6{font-size: .42rem;line-height: 1.4;font-weight: bold; strong{color: @mainColor;} span{margin: 0;;} } article{line-height: 2;margin-top:.6rem; color: #555;font-size: 16px;font-weight: bold; } } ul{padding-top: .4rem;width: 27%; li{padding: .2rem 0;border-bottom: 1px solid #f0f0f0;display: flex;flex-flow: row wrap;justify-content: space-between;align-items: flex-start; h6{width: 35%;line-height: 1.2;font-weight: bold; strong{font-size: .48rem;font-family: beba;} sup{top: .08rem;line-height: 1;font-size:20px;position: relative;vertical-align: baseline;} } h5{width: 60%;text-align: right; line-height: 1.6;font-weight: bold;} } } } } @media (max-width:1000px ) { .index1{margin: .7rem 0;} .index1 .index1_nr .index1_1 h6{font-size: .32rem;} .index1 .index1_nr .index1_1{width: 60%;} } @media (max-width:800px ) { .index1 .index1_nr .index1_1{width: 100%;margin-bottom: .2rem;} .index1 .index1_nr ul{width: 100%;} .index1 .index1_nr .index1_1 article{font-size: 14px;margin-top: .2rem;} } @media (max-width: 420px) { .index1 .index1_nr ul li h6 sup{font-size: 16px;} .index1 .index1_nr ul{margin-top: 0;} } .company_a{display: block;background: @mainColor;} .com_a{width: 211px;height: 47px;line-height: 47px;border-top-left-radius: 10px;border-bottom-right-radius: 10px;background: #626262;display: block;;color: #fff;font-size: 16px;text-align: center;margin-top: .8rem;.transition(); span{width: 80%;} i{background: url("../images/i1.png")no-repeat;width: 9px;height: 18px;display: inline-block;vertical-align: middle;margin-left: 20px;} } .com_a:hover{.scale(1.05);} @media (max-width: 640px) { .com_a{width: 150px;height: 40px;line-height: 40px;font-size: 14px;} } .index2{display: flex;flex-wrap: wrap;margin: 0 -5px;overflow: hidden; .item{margin-top: 10px;padding: 0 10px;width: 50%;height: 7.2rem;position: relative; overflow: hidden; .img{height: 100%;width: 100%;position: absolute;z-index: -1;overflow: hidden;; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';.transition();} } .txt{text-align: center;color: #fff;display: flex;justify-content: center;flex-direction: column;height: 100%;padding-left: 62%;padding-bottom: 10%;.transition(.5s); h3{font-weight: bold;padding-bottom: 20px;text-align: left;font-size: .48rem;.transition(); } a{width: 137px;height: 45px;line-height: 45px;font-size: 18px;border: 1px solid #fff;display: block;.transition(); &:hover{.scale(1.05);} } } &:hover{ .img img{.scale(1.05)!important;} .txt h3 {.scale(.9)} } } .index2_1:hover{ .txt h3 {.scale(.9);transform-origin: left center} } .item:nth-of-type(1) {width: 100%;} .index2_2{ .txt{padding-left: 0;;justify-content: flex-start;padding-top:5%; h3{text-align: center;} a{margin: 0 auto;} } } .index2_3{ .txt{padding-left: 0;;justify-content: flex-start;padding-top:5%; h3{text-align: center;} a{margin: 0 auto;} } } //入场动画Q配合JS. 囄到大,外面最后div~小 .imgd-in-1{clip-path:polygon(40% 40%, 60% 40%, 60% 60%, 40% 60%);} } @media (max-width:1000px ) { .index2 .item{height: 5rem;} } @media (max-width:768px ) { .index2 .index2_2{width: 100%;} .index2 .index2_3{width: 100%;} .index2 .item{height:4rem;} .index2 .item .txt {padding-left: 0;} .index2 .item .txt h3{text-align: center;} .index2 .item .txt a{margin: 0 auto;} .index2{margin: 0;} .index2 .item{padding: 0;} } .index3{display: flex;margin:20px 0; .btnBox{width: 300px;position: relative;z-index: 2;background: #f0f4f7; li{width:100%;height: 180px;display: flex;align-items: center;justify-content: center;flex-direction: column;cursor: pointer;border-bottom: 1px solid #e2e8f0;transition: all .3s; .ico{width:85px;height:75px;position: relative;overflow: hidden; img{.translateY(-50%);.transition();width: 100%;} } h6{font-size: 18px;color: @mainColor;font-weight: 300;display: inline-block;margin-top: 10px;transition: all .3s;.transition();} } .on{background: @mainColor; h6{color: #fff;} .ico img{.translateY(0);} } } .switchBox{width: e("calc(100% - 300px)");height: 720px; .switch{display: none;height: 100%;position: relative;background-repeat: no-repeat;background-position: center center;-webkit-background-size: cover;background-size: cover; >.img{position: absolute;left: 0;right: 0;top: 0;bottom: 0;height: 100%;width: 100%;overflow: hidden; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } .box{position: absolute;width: 400px;top:0;right: 10%;bottom: 0;margin: auto; text-align: center;background-color: rgba(247, 247, 247, 0.9);padding: 45px;height:600px; .text{ h3{font-size:.36rem;font-weight: 300;color: #000000;padding-bottom: 15px;} p{ color: #000000;font-size: 16px;line-height:2;.clamp(3);} a{display: inline-block;width: 160px;height: 44px;line-height: 42px;text-align: center;color: #000000;font-size: 16px;font-weight: 300;margin: 15px 0;border: 1px solid #000000;} } .img{line-height: 0;text-align: center;margin-top: .2rem;height: 0;padding-bottom: 85%;position: relative;; img{position: absolute;left: 0%;top: 0%; width: 100%;height:100%;object-fit: contain;font-family: 'object-fit: contain;';} } } } .on{display: block;} } } @media (max-width:1200px ) { .index3 .btnBox{width: 100%;display: flex;} .index3 .switchBox{width: 100%;height: 7rem;} .index3{flex-direction: column;} .index3 .switchBox .switch .box .img{display: none;} .index3 .switchBox .switch .box{height: 70%;} } @media (max-width:800px ) { .index3 .btnBox li .ico{width: 43px;height: 38px;} .index3 .btnBox li h6{font-size: 14px;} .index3 .btnBox li{height: 100px;} .index3 .switchBox .switch .box{width: 80%;} .index3 .switchBox .switch .box .text p{font-size: 14px;} } @media (max-width: 600px) { .index3 .switchBox{height: 5rem;} .index3 .switchBox .switch .box{padding: .3rem;} .index3 .switchBox .switch .box .text p{.clamp(2);} .index3 .switchBox .switch .box .text a{width: 120px;height: 40px;line-height: 40px;font-size: 14px;} } .index4{margin: .8rem 0; .index4_dh{float: left; h6{color: #333333;font-size: .4rem;position: relative;display: inline-block; i{width: 20px;overflow: hidden;height: 20px;display: block;position: absolute;right: -20px;top: -20px;background: url(../images/i2.png) no-repeat;} } p{font-size:.2rem;color: #333333;margin-top: 10px;} } .com_a{float: right;margin-top: .4rem;} ul{margin: .5rem 0 .2rem; li{width: 24%;margin-right: 1.3%;float: left;margin-bottom: .3rem; a{display: flex;flex-direction: column;;justify-content:space-between;height: 5.4rem;background: #dbe1e7;padding: .5rem .2rem;.border-radius(10px);position: relative;.transition();} .img{position: absolute;left: 0;top: 0;width: 100%;height: 100%;opacity: .1; img{width: 100%;height: 100%;object-fit: contain;font-family: 'object-fit: contain;';} } .l1_t{ h4{font-size:.24rem;height: .7rem; color: #333333;overflow: hidden;.clamp(2);} object{width: 100%;;margin-top: .25rem;overflow: hidden;.clamp(3);line-height: 1.8;font-size: 16px;color: #333;} } .time{border-top: 1px #fff solid;padding: .2rem 0;overflow: hidden; time{width: 50%;height: auto !important;font-size:.4rem;color:#20234e;display: inline-block;vertical-align: bottom;text-align: left;} span{line-height: 1;font-size: 18px;color: #333;display: inline-block;text-align: right;width: 50%;float: right;margin-top: .2rem;} } } li:nth-of-type(4){margin-right: 0;} li:hover a{background: @mainColor;color: #fff; .l1_t{ h4{color: #fff;;} object{color: #fff;;} } .time{ time,span{color: #fff;} } } } } @media (max-width: 1000px) { .index4 ul li{width:48%;margin: 1%;} .index4 .index4_dh p{font-size: 14px;} } @media (max-width: 640px) { .index4{margin-bottom: .4rem;} .index4 ul li a{height: 4.1rem;padding-bottom: 0;} .index4 .index4_dh{float: none;} .index4 .com_a{float: left;} .index4.news1 ul li{width: 100%;margin: 2% 0;} } @media (max-width:450px ) { .index4.news1 ul li a{height: 5rem;} .index4 ul li .l1_t h4{font-size: 16px;height: 52px;} .index4 ul li .l1_t object{font-size: 14px;margin-top: .12rem;} .index4 ul li .time time{font-size: 14px;} .index4 ul li .time span{font-size: 12px;} } .index5_bg{background: url("../images/index5_bg.jpg")no-repeat top center fixed; padding-top: .3rem;margin-bottom: -.2rem; .index5_dh{border-bottom: 1px solid #f6f6f6;padding-bottom: .2rem;margin-bottom: .5rem;; p{font-family:MiSans-Regular; font-size: 18px;} } .index5_1{ h6{font-size: .42rem;line-height: 1.4;font-weight: bold;; strong{color: @mainColor;display: inline-block;float: left;} lable{display: inline-block;float: left;} } } .index5_2{overflow: hidden;padding-bottom: 1.8rem; ul{float: right;display: flex;;justify-content: right; li{height:420px;text-align: center;background: rgba(255,255,255,.6);box-shadow: 0 0 5px 5px rgba(0,0,0,.03);.border-radius(10px);padding: .7rem .35rem;width:320px;margin-right: .5rem; i{display: block;background: url("../images/i8.png")no-repeat;width: 48px;;height: 51px;margin: 0 auto;} span{display: block;width: 57px;height: 1px;margin: 10px auto;background:#cacacb; } h6{font-size: .24rem;font-weight: bold;;color: @mainColor;margin-bottom: .3rem;;} p{line-height: 2;} } li:nth-of-type(2) i{background: url("../images/i9.png")no-repeat;} } } } @media (max-width:1000px ) { .index5_bg .index5_2{margin-top: .5rem;} } @media (max-width:800px ) { .index5_bg .index5_2 ul{justify-content: space-between; li{width: 48%;margin-right: 0;height: auto} } .index5_bg .index5_2{padding-bottom: .8rem;;} } @media (max-width:640px ) { .index5_bg .index5_2 ul li h6{font-size: .36rem;} } //内页大图/////////////////////////////////////////////////////// .nei_banner{position: relative;height: 5rem;display: flex;align-items: center;justify-content: left;width: 100%; .txt{color: #fff;width: 100%; .main1600_b{position: relative} i{font-size: .7rem;font-family: Impact;opacity: 0.1;text-transform: uppercase;position: absolute; top:-17%;} h2{font-size:.4rem;} p{font-size: 14px;line-height: 50px;padding-top: .1rem; a{color: #fff;padding: 0 5px;} } } } .banner_company{background: url("../images/banner_company.jpg")no-repeat right center;background-size: cover;} .banner_contact{background: url("../images/banner_contact.jpg")no-repeat;background-size: cover} .banner_server{background: url("../images/banner_server.jpg")no-repeat;background-size: cover} .banner_news{background: url("../images/banner_news.jpg")no-repeat;background-size: cover} .banner_jishu{background: url("../images/banner_jishu.jpg")no-repeat;background-size: cover} .banner_product{background: url("../images/banner_product.jpg")no-repeat;background-size: cover} //面包屑导? .breadcrumbs{height: auto;background: #f5f5f5; ul{overflow: hidden; li{float: left;height: auto;padding: 15px 2%;text-align: center;color: #cccccc;font-size: 14px;position: relative; a{display: inline-block;border-radius: 5px;padding: 0 10px;height: 40px;line-height: 40px;color: #666;transition: 0.3s;} &:before{position: absolute;right: 0;top: 40%;content: '';width: 1px;height: 20%;background: #ccc;} } li:last-child::before{display: none;} .cur a{color: @mainColor} } } @media (max-width:1000px ) { .nei_banner{height: 4rem;} } .download1{background: #e9e9e9;.border-radius(5px);display: flex;margin: .8rem 0; .download1_1{text-align: center;border-right: 1px solid #fff;width: 2rem;padding-top: .4rem; img{width: 1rem;} p{color: @mainColor;} } .download1_2{flex: 1;padding: .5rem; li{border-bottom: 1px solid #ddd;text-align: center;background: #fff; p{width: 19%;display:inline-block;padding:10px 0;color: #545454;} } li:nth-of-type(1){ p{font-weight: bold;font-size: 16px;} } li:nth-of-type(n+1) a:hover{color: @mainColor;} li:hover{background: #f5f5f5} } } @media (max-width:640px) { .download1{display: block} .download1 .download1_1{width: 100%;} .download1 .download1_2{padding: .3rem;} .download1 .download1_2 li p{width: 63%;} .download1 .download1_2 li p:nth-of-type(2){width:35%;} .download1 .download1_2 li p:nth-of-type(n+3){display:none;} .download1 .download1_2 li:nth-of-type(1) p{font-size: 14px;} } //售后服务//////////////////////////////////// .server1{margin:.5rem 0 ; .server1_dh{text-align: center;margin-bottom: .5rem; h4{font-size: .3rem;margin-bottom: .2rem; } p{color: #333;font-size: 16px;line-height: 1.8;} } ul{ li{overflow: hidden; .img{width: 50%;overflow: hidden;height:4rem;float: left;; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } .txt{width: 50%;font-size: 14px;line-height: 24px;color: #777;padding-left: .5rem;padding-top: .4rem;float: right; h3{font-size: .24rem;padding-bottom: 26px;color: #000;margin-bottom: .2rem;position: relative; &:before{background: @mainColor none repeat scroll 0 0;content: "";left: 0;bottom: 0;position: absolute;height: 4px;width: 10%;} &:after{position: absolute;content: "";bottom: 0;left: 11%;height: 4px;width: 15px;background: #ddd none repeat scroll 0 0;} } p{margin-bottom: .1rem;} } } li:nth-of-type(2n){ .img{float: right;} .txt{float: left;padding: .4rem .5rem 0 0;} } } } @media (max-width: 640px) { .server1 ul li .img{width: 100%;} .server1 ul li .txt{width: 100%;margin-bottom: .5rem;} .server1 ul li .txt{padding: .4rem 0 0 0!important;} .server1 .server1_dh p{font-size: 14px;} .server1 ul li .txt h3{font-size: .36rem;} } //公司介内? .company1{padding: .7rem 0; .company1_dh{font-size: .42rem;line-height: 1.2;font-weight: bold;margin-bottom: .6rem;} .company1_1{width: 50%;float: left;; h6{margin-bottom: .36rem;font-size: .24rem; span{color: @mainColor;} } h5{font-size: .6rem;margin-bottom: 4px;font-weight: bold;line-height: 1.2;} } .company1_2{width: 50%;line-height: 2;font-size: 16px;float: right} } @media (max-width:1000px) { .company1 .company1_1{width: 100%;} .company1 .company1_2{width: 100%;margin-top: .5rem;} .company1 .company1_dh{margin-bottom: .25rem;} } @media (max-width:450px ) { .company1 .company1_2{font-size: 14px;} } .company2{position: relative;padding: 1rem 0;width: 100%;height: auto;z-index: 0;;margin: .5rem 0;overflow: hidden; .map{width:40%;position: absolute;left: 0;top: 5%;z-index: -1;height: auto; img{width: 100%;} } .company2_dh{width: 35%;float: left;height: auto; h6{color: #333333;font-size:.36rem;position: relative;display: inline-block;} } .company2_1{width:50%;float: right; .txt-c{font-size: 16px;color: #333333;line-height: 2; } ul{width: 100%;height: auto;font-size: 0;margin-top: 8%; li{display: inline-block;width: 50%;vertical-align: top;margin-bottom: 55px;padding-right: 3%; .infont{background: @mainColor;width: 50px;height: 3px;position: relative; &:before{content: "";position: absolute;background: @mainColor;left: 0;top: -4px;width: 10px;height: 10px;} } h6{line-height: 1.1;margin-top: 20px;font-size: 16px;color: @mainColor; span{font-size:.8rem;line-height:1;} b{font-size: .36rem;} } p{font-size: 16px;margin-top: 10px;color: #666; } } } } } @media (max-width: 1000px) { .company2{padding: 0;} .company2 .map{display: none;} .company2 .company2_1{width: 100%;} .company2 .company2_dh h6{margin-bottom: .2rem;} } @media (max-width:450px ) { .company2 .company2_1 .txt-c{font-size: 14px;} .company2 .company2_1 ul li p{font-size: 14px;;} } .company3{background: #f0f4f7;padding: .7rem 0; .company3_dh{text-align: center; h6{color: #333333;font-size:.4rem;position: relative;display: inline-block;font-weight: bold;margin-bottom: .25rem;} p{font-size: 16px;color: #333333;max-width: 1300px;width: 96%;margin: 0 auto;} } .company3_nr{ ul{margin-top: .5rem;display: flex;justify-content: space-between; li{border-right: 15px solid #fff;text-align: center;background: #FFFFFF;border-radius: 10px;padding: 55px 3%;border-bottom-right-radius: 0;width: 33%;vertical-align: top;margin-right: 30px;display: inline-block; i{margin: 0 auto;width: 60px;height: 60px;background: url("../images/i3.png")no-repeat;display: block;.transition();} span{font-size: 16px;color: #666;margin-top: 20px;} .txt-c{width: 100%;height: auto;color: #000000;margin-top: 10px; p{font-size:18px;line-height: 2;} } } li:hover{background: @mainColor;color: #fff; i{background-position-y: 100% !important;} .txt-c,span{color: #fff;} } li:nth-of-type(2) i{background: url("../images/i4.png")no-repeat;} li:nth-of-type(3) i{background: url("../images/i5.png")no-repeat;} } } } @media (max-width: 800px) { .company3 .company3_dh p{font-size: 14px;;} .company3 .company3_nr ul li{width: 100%;margin-bottom: .2rem;} .company3 .company3_nr ul{display: block;} .company3 .company3_nr ul li .txt-c p{font-size: 16px;} } ////////厂房讑֤/////////////////// .news_com_dh{ h3{font-weight: 700;text-align: center;padding:.5rem 0 .2rem;border-bottom: 1px solid #eee;} } @media (max-width:640px) { .news_com_dh h3{padding-top: .1rem;} } .factory1{ .factory1_nr{display: flex;justify-content: space-between;margin-top: .5rem; .factory1_1{width:50%;overflow: hidden; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';.transition();} &:hover{ img{.scale(1.05);} } } .factory1_2{width:50%;background-color: rgba(242, 242, 242, 1);display: flex;flex-direction: column;;justify-content: center;padding: .5rem; span{color: #333;font-size: .32rem;} h6{font-size: .26rem;margin: 0 0 .1rem;} i{display: block;background: @mainColor;height: 3px;width: 50px;} p{line-height: 2;color: #666;font-size: 16px;margin-top: .2rem;} } } } @media (max-width:800px) { .factory1 .factory1_nr{display: block;} .factory1 .factory1_nr .factory1_1{width: 100%;} .factory1 .factory1_nr .factory1_2{width: 100%;} } @media (max-width: 450px) { .factory1 .factory1_nr .factory1_2 h6{font-size: .32rem;} .factory1 .factory1_nr .factory1_2 p{font-size: 14px;} } .factory2{margin-bottom: .5rem; ul{ li{text-align: center;width: 32%;margin-right: 2%;margin-top: 4%;float: left;; .img{height: 0;padding-bottom: 75%;position: relative;overflow: hidden;; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';position: absolute;left: 0;top: 0;.transition();} } p{line-height: 2;.clamp(1);padding: .2rem 0;color: #666;font-size: 16px;background: #f0f0f0;} } li:nth-of-type(3n){margin-right: 0;} li:hover{ .img{ img{.scale(1.05);} } p{color: @mainColor;} } } } @media (max-width:800px ) { .factory2 ul li{width: 49%;} .factory2 ul li:nth-of-type(3){margin-right: 2%;} .factory2 ul li:nth-of-type(2){margin-right: 0!important;} } //荣誉证书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;.clamp(1)} } 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;} .news_info1{background: #fff;padding: .3rem;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;} } @media (max-width:400px ) { .news_info1 .news_info1_l .news_title span{margin-left: 0;} .news_info1 .news_info1_l .news_title span:nth-of-type(2n){margin-right: 0;} } .zhuzhi1{margin: .8rem 0; img{width: 100%;} } ///////联系我们/////////////////////////// #gaodeMap{height:5rem; .amap-logo{display: none!important;} } .contact1{margin: 50px 0; ul{overflow: hidden; li{width: 33.3%;float: left;text-align: center;box-sizing: border-box;;padding: 0 15px; i{background: url("../images/ci11.png")no-repeat;width: 32px;height: 31px;display: block;margin: 0 auto;} h5{font-weight: bold;color: #666;margin: 10px 0 10px;} p{font-size: 16px;} } li:nth-of-type(2){position: relative; i{background: url("../images/ci12.png")no-repeat;width: 32px;height: 31px;} &:before{content: '';position: absolute;left: 0;height: 30px;width: 1px;background: #ccc;top: 50%;margin-top: -15px;} &:after{content: '';position: absolute;right: 0;height: 30px;width: 1px;background: #ccc;top: 50%;margin-top: -15px;} } li:nth-of-type(3) i{background: url("../images/ci13.png")no-repeat;} } } @media (max-width: 768px) { .contact1 ul li{width: 100%;text-align: left;margin-bottom: 20px; i{float: left;margin-right: 5px;} h5{margin: 0;line-height: 1;} p{padding-left: 42px;} } .contact1 ul li:nth-of-type(2){ &:before,&:after{display: none;} } .contact1{margin: 30px 0 20px;} } .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;padding-left: 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: 768px) { .contact5 ul li{width: 100%;} } /////////生实力///////////////////////////////////////////////////// .strength1_dh{text-align: center;margin-top: .5rem; p{font-size: .36rem;} h6{color: @mainColor;font-size: .3rem;} } .strength1{ p{color: #454545;font-size:18px;;line-height: 2;margin: .4rem 0 1rem;} } @media (max-width:1000px ) { .strength1 p{font-size: 14px;} } .strength2{overflow: hidden;; ul{ li{display: flex;justify-content: space-between;flex-direction: row-reverse;margin-bottom:1rem; .txt{margin-right: .5rem;width: 45%; header{position: relative;background: url("../images/i_strength1.png")no-repeat;padding-left: .7rem;height: .43rem;background-size: auto .43rem!important;margin: .5rem 0 .3rem; h6{font-size: .24rem;padding-top: .1rem;color: #454545;} span{font-size: .4rem;font-weight: bold;color: #f7f7f7;position: absolute;top:0;left: .9rem;line-height: 1;z-index: -1;} } p{font-size:18px;;color: #454545;} } .img{width:50%;flex-shrink:0;overflow: hidden;height:4rem; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } } li:nth-of-type(2){flex-direction: row; .txt{margin:0 0 0 .5rem; header{background: url("../images/i_strength2.png")no-repeat;} } } } } @media (max-width: 1200px) { .strength2 ul li .txt p{font-size: 14px;} } @media (max-width:800px ) { .strength2 ul li{flex-direction: column!important;margin-bottom: .4rem; .img{width: 100%;height:0;padding-bottom: 50%;position: relative;; img{position: absolute;} } .txt{margin: 0!important;} } .strength2 ul li .txt{width: 100%;} } @media (max-width: 400px) { .strength2 ul li .txt header h6{font-size: .3rem;} } //产品列表?//////////////////////////////////// .neiye_prodcut{padding-top: .3rem; ul{overflow: hidden; li{width:31.3%;margin:1%;float: left;background: #fff;padding: 10px;position: relative;box-shadow: 1px 0 2px rgba(0,0,0,.2);overflow: hidden;.transition(); .neiye_pic{position: relative;width: 100%;height:3.8rem;overflow: hidden;display: flex;align-items: center;justify-content:center; img{width: 100%;height: 100%;object-fit: contain;font-family: 'object-fit: contain;';} .mask{width: 100%;height: 100%;display: block;position: absolute;left: 0;top: 0;background:rgba(0,0,0,.4);transition: all ease-out .5s;opacity: 0; span{position: absolute;left: 50%;margin-left: -22px;top: 50%;margin-top:0;transition: all ease 0.36s;z-index: 2;display: block;width: 45px;height: 45px;text-align: center;background:#fff url(../images/p_i1.png) no-repeat center center;opacity: 0;background-size:25px 25px;.border-radius(50%);} } } .neiye_pic_txt{border-top:1px solid #e9e9e9;padding:.2rem 0 .1rem ;position: relative;display: flex;align-items: center;justify-content:center; h2{float: left;width: e("calc(100% - 100px)");.slh();} span{float: right;width: 88px;height: 24px;border: 1px solid @mainColor;display: block;text-align: center;border-radius: 3px;margin-right: 10px;color:@mainColor;line-height: 22px;cursor: pointer;z-index: 22;} } } li:hover{box-shadow: 1px 0 5px rgba(0,0,0,.3); .neiye_pic{ img{} .mask{opacity: 1; span{margin-top: -22px;opacity: 1;} } } .neiye_pic_txt{ span{background: @mainColor;color: #fff;} } } } } @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;} } } @media (max-width:640px) { .neiye_prodcut ul li .neiye_pic_txt{ span{display: none;} } .neiye_prodcut ul li .neiye_pic_txt h2{width: 100%;} } //////////////产品详情?////////////////////////////////// .product_type{width: 3rem;float: right; .search_kh1{ form{position: relative; input{width: 100%;line-height:.5rem;height: .5rem;padding: 0 .6rem 0 .15rem;background: #eee;font-size: 16px;color: #333;border: none;} 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; } button{width:.5rem;position: absolute;right: 0;top: 0;padding: 0;background: url(../images/icon-zoom.png) center center no-repeat @mainColor;height: .5rem;} } } h4{margin:.6rem 0 .2rem;font-size:.24rem;color: #181818;line-height: 1; &:after{content: '';width:.56rem;height: 2px;background: #f00331;margin-top:.15rem;display: block;} } .type_list{ li{padding:.1rem 0;border-bottom: 1px solid #dcdcdc;font-size: 16px;position: relative;; &:after{content: '';width: 9px;height: 2px;background: #f00331;position: absolute;top: 22px;right: 0;opacity: 0;.transition()} } li:hover{color: @mainColor; &:after{opacity: 1;} } } .hot_list{ li{padding:.2rem 0;border-bottom: 1px solid #dcdcdc; a{display: flex;justify-content: space-between;} .img{display: inline-block;width:40%;display: inline-block;vertical-align: middle;position: relative;font-size: 0;height:1rem; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} &:after{content: '';width: 100%;height: 100%;position: absolute;top: 0;left: 0;background: rgba(240,3,49,.85) url(../images/icon-right.png) center center no-repeat;opacity: 0;.transition()} } div{flex: 1;padding-left: 15px;font-size: 16px;color: #181818;line-height: 1.2;font-weight: 700;height:1rem;align-items: center;display: flex; p:after{content: '';width: 43px;height: 2px;background: #f00331;margin-top: 10px;display: block;} } } li:hover{ .img{ &:after{opacity: 1;} } } } } @media (max-width:1000px ) { .product_type{display: none;} } .product1{width:e("calc(100% - 3.2rem)");margin:.5rem 0;} .product1_ul{ li{width: 33.3%;display: inline-block;padding:0 .1rem .2rem; a{border: 1px solid #dcdcdc;.transition();display: block; } .img{position: relative;overflow: hidden;font-size: 0; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} &:after{content: '';width: 100%;height: 90%;position: absolute;bottom: 0;left: 0;opacity: 0; background: linear-gradient(to bottom,transparent,fade(@mainColor,50%));.transition();} } .txt{padding: .2rem; h3{font-size: .2rem;} span{width:.46rem;height: 2px;background:@mainColor;display: block;margin-top: .1rem;} i{line-height:.3rem;height:.3rem;padding: 0 15px;background: @mainColor;font-size:.16rem;color: #fff;.transition();border-radius: 5px;display: inline-block;margin-top:.2rem; } } } li:hover{ a{box-shadow: 0 3px 13px rgba(0,0,0,.19);} .img{ &:after{opacity: 1;} } } } @media (max-width:1000px ) { .product1{width: 100%;} } @media (max-width:640px ) { .product1_ul li{width: 50%;} } @media (max-width:450px ) { .product1_ul li{width:100%;} .product1_ul li .txt i{height: .4rem;line-height: .4rem;} } //////////////产品详情?////////////////////////////////// .info_kh{width: e("calc(100% - 3.5rem)");margin-top:.5rem;} .info1{display: flex; .info1_l{width: 50%; .gallery-top{ .img{height:0;padding-bottom:90%; overflow: hidden;position: relative;cursor: pointer;border: 1px solid #dedede; img{width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';.transition();position: absolute;} i{position: absolute;width:50px;height:50px;background: url(../images/icon-zoom.png) center center no-repeat @mainColor;top:.2rem;right:.2rem} } .img:hover{ img{.scale(1.1)} } } .product_info1_left_b{margin-top: 10px; .swiper-slide{border: 1px solid #d5d5d5; .img{position: relative;overflow: hidden;cursor: pointer;height: 0;padding-bottom: 100%; img{position: absolute; width: 100%;height: 100%;object-fit: cover;font-family: 'object-fit: cover;';} } } } } .info1_r{padding-left:.5rem;width: 50%; h6{font-size:.22rem;color: @mainColor;display: inline-block;line-height: 1; &:before{margin-right:.1rem;content: '';width: .8rem;height: 2px;display: inline-block;vertical-align: middle;background:@mainColor;} } h1{font-size:.3rem;color: #181818;line-height: 1.5;margin-top: .15rem;} article{margin:.4rem 0 .7rem;font-size: 18px;color: #181818;line-height: 1.6;} ul{ li{display: inline-block; margin-right:.1rem;width:.45rem;height:.45rem;line-height:.45rem;border-radius: 2px;background: #eee;font-size: 18px;color: #000;-webkit-transition: .5s;-moz-transition: .5s;transition: .5s;text-align: center; &:hover{color: #fff;background:@mainColor;} } } .a1{ ;padding:.1rem .24rem;border-radius: 2px;background: @mainColor;color: #fff;font-size: 15px;.transition();display: inline-block;margin-top: .5rem; &:hover{background: @mainColor;} } .share{ a{display: block;height: 100%; i{font-size: .24rem;} } } } } @media (max-width:1000px ) { .info_kh{width: 100%;} } @media (max-width:640px ) { .info1{flex-wrap: wrap; .info1_l{width: 100%;} .info1_r{width: 100%;padding-left: 0; h6{;margin-top: .3rem;} } } .info1 .info1_r article{font-size: 16px;} .info1 .info1_r .a1{padding: .15rem .4rem;} } .info2_dh{margin: .5rem 0; h3{;padding:.1rem .2rem;background:@mainColor;color: #fff;font-size:18px;display: inline-block;position: relative; &:after{content: '';border-top: 9px solid @mainColor;border-left: 7px solid transparent;border-right: 7px solid transparent;position: absolute;top: 100%;left: 50%;.translateX(-50%);} } } .info2{ table{margin-top: .2rem;word-break: break-word;width: 100% !important;height: auto !important;display: block;overflow: auto; tbody{display:table;width: 100% !important;} tr{width: auto !important;height: auto !important;} tr:nth-of-type(-n+1){background: @mainColor;color: #fff;} td{text-align: center;border: 1px solid #ccc; width: auto !important;height: auto !important;word-break: keep-all;padding: 5px ; span{background: none!important;} } } } .info3{ .slick-track{float:left;} } .info4{margin-bottom: 1rem; .form{padding:.3rem .45rem;border: 1px solid #eee;background: #fff; h6{font-size:.26rem;color: #181818;line-height: 1.2;padding-bottom: .2rem;border-bottom: 1px solid #dcdcdc;margin-bottom:.28rem} } form{ ul{overflow: hidden;; li{padding: .1rem 0;width:48%;float: left;; label{font-size: .2rem;color: #181818;line-height: 1;margin-bottom: 10px;display: block; em{color: #f00331;} } input{width: 100%;line-height: 1.5;padding: .1rem .15rem;background: #ededed;color: #333;.transition();border: none;font-size:16px;} textarea{width: 100%;line-height: 1.5;padding:.1rem .15rem;background: #ededed;color: #333;.transition();border: none;font-size: 18px;height: 2rem;} } li:nth-of-type(2n){float: right;} .liuyan_content{width: 100%;} .tijiao{float: right; input{background: @mainColor;color: #fff;} } .yanzhengma{float: left!important;position: relative;; img{height:.3rem;position: absolute;right: .1rem; top:.2rem;} } 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; } } } } @media (max-width:640px ) { .info4 .form{padding: .3rem;} .info4 form ul li{width: 100%;} .info4 form ul .tijiao{margin-top: -.2rem;} } //////////////产品详情?////////////////////////////////// .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%;} } .gallery-top-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; } .gallery-top-right {background: url(../images/index_tab_l.png) no-repeat left bottom;position: absolute;right: 10px;top: 50%;margin-top: -25px;width: 28px;height: 51px;z-index: 10;.rotate(180deg); } } } .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%;} } .swiper-slide-thumb-active{border: 1px solid @mainColor;z-index: 1;} } .arrow-left{position: absolute;left:0;top: 0;width:30px;height: 100%;z-index: 10;background: #ccc url(../images/feel3.png) no-repeat center;cursor: pointer; } .arrow-right {position: absolute;right: 0;top: 0;;width:30px;height: 100%;z-index: 10;background: #ccc url(../images/feel3.png) no-repeat center;cursor: pointer;.rotate(180deg); } } } .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: @mainColor;display: inline-block; h3{font-size: 18px;} } article{min-height: 300px;border: 1px solid #bfbfbf;padding:20px;margin: 20px 0; strong{font-size:18px;color: @mainColor;font-weight: bold} span{font-size: inherit;} img{max-width: 100%;} table{margin-top: .2rem;word-break: break-word;width: 100% !important;height: auto !important;display: block;overflow: auto; tbody{display:table;width: 100% !important;} tr{width: auto !important;height: auto !important;} tr:nth-of-type(-n+2){background: @mainColor;color: #fff;} td{text-align: center;border: 1px solid #ccc; width: auto !important;height: auto !important;word-break: keep-all;padding: 5px ; span{background: none!important;} } } } } @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;} // 发展内页////////////////////////////////////////// .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样式 .page{clear: both;margin-top: 10px;text-align: center;letter-spacing: 0px;padding-bottom:30px; #page_num{width: 50px;} .btn{display:inline-block;height:35px;line-height:32px;border:1px solid #DBDBDB;width: 35px;color:#000;margin-left: -1px; &:hover{.current} } .current{background: @mainColor;color: #fff;border: 1px solid @mainColor;} } #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{padding:.7rem 0 .28rem;background: #f8f8f8;margin-top: .2rem; .logo{border-bottom: 1px solid #e4e4e4;padding-bottom: .28rem;margin-bottom: .7rem;} .footer_1{padding:0 5% .7rem; display: flex;flex-flow: row wrap;justify-content: space-between;align-items: flex-start; ul{width: 57%;display: flex;flex-flow: row wrap;justify-content: space-between;align-items: flex-start; li{width: 33%;margin-bottom: .3rem; a{margin-bottom: .2rem;font-size: 15px;color: #737373;.transition();display: block;line-height: 1.2; &:hover{color: @mainColor;} } h6{font-size: 18px;color: #000;margin-bottom: .3rem;font-weight: bold} } } .footer_1_2{width: 27.5%; li{color: #737373; font-size: 15px;line-height: 2;font-weight: bold; span+span{ line-height: 1.8;margin-left: 5px;} .sp2{color: @mainColor;font-size: 20px;} a{font-size: 15px;} .sp1{margin:.3rem 0 .1rem;display: block} img{width: 1.2rem;height: 1.2rem;display: block;} } } } .ffff{color: #999;} } @media (max-width:800px ) { .footer .footer_1 ul{display: none;} .footer .footer_1 .footer_1_2{width: 100%;} } @media (max-width: 450px) { .footer .footer_1 .footer_1_2 li img{width: 1.5rem;height: 1.5rem;} .footer .logo img{width:50%} } /////////////////////////////////////////人才招聘///////////////////////////////// .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标(yun) .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(luo)签 .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标签 .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标(yun) @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标签 .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(luo)签 .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(luo)签 .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(luo)(yun) .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标签 .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(luo)(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标(yun) .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标(yun) .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标签 .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标(yun) .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标签 .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(luo)签 .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(luo)签 .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标签 文字上ȝ效果 .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;}