.transition(@transition:.4s){-webkit-transition:@transition;-moz-transition:@transition;-ms-transition:@transition;-o-transition:@transition;transition:@transition;} .transform-origin(@origin){-webkit-transform: @origin;-moz-transform: @origin;-ms-transform: @origin;-o-transform: @origin;transform: @origin;} .scale(@scale){-webkit-transform: scale(@scale);-moz-transform:scale(@scale);-ms-transform:scale(@scale);-o-transform:scale(@scale);transform:scale(@scale);} .border-radius(@border-radius){-webkit-border-radius:@border-radius;-moz-border-radius:@border-radius;-o-order-radius:@border-radius;-ms-border-radius:@border-radius;border-radius:@border-radius;} .rotate(@rotate){-webkit-transform: rotate(@rotate);-moz-transform: rotate(@rotate);-ms-transform: rotate(@rotate);-o-transform: rotate(@rotate);transform: rotate(@rotate);} .translateX(@X){-webkit-transform: translateX(@X);-moz-transform: translateX(@X);-ms-transform: translateX(@X);-o-transform: translateX(@X);transform: translateX(@X);} .translateY(@Y){-webkit-transform: translateY(@Y);-moz-transform: translateY(@Y);-ms-transform: translateY(@Y);-o-transform: translateY(@Y);transform: translateY(@Y);} @back_nav:url('../images/nav_bg.jpg') no-repeat;/*D背景*/ @back_nav_li_ah:url('../images/nav_a_bg.jpg') no-repeat top center;/*鼠标UM去背?/ @back_s_li:url('../images/x_bg.png') no-repeat;/*左侧栏li背景*/ @mainColor: #df3854;/*主色*/ @hoverColor:#1a8fdf;/*悬Q变色*/ @thirdColor:#099f52;/*W三个颜?/ @qt5:#fff;/*悬Q背景变色后字体颜?/ @qt6:#c5a46e;/*按钮悬Q颜色 */ @height_nav:55px; /*D条高?/ @nav_li_w:16.6%; /*D条宽?/ @nav_li_color:#000; /*D条文字颜?/ @nav_li_a:#d10412; /*D条文字颜?/ .nav_color{color:@nav_li_color!important;}; .nav_h_color{color:@nav_li_a!important;}; @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;} .left{float:left;} .right{float:right;} .off{display:none;} /*隐藏*/ /*----------------头部--------------*/ .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; background: #fff;.transition();z-index: 222;position: fixed;width: 100%;box-sizing: content-box;top: 0;padding: 26px 0; .top { .logo{float: left;display: block} .header_right{float: right;width: 850px; .btn_language{background: url("../images/i_i1.png")no-repeat;padding-left:30px;float: right;display: block;margin:0 50px; &:hover{color: @mainColor;} } .header_email{margin-left:20px;} p{text-align: right;} } } .header_nav{ li{float: left;width: 16.6%;text-align: center;line-height: @height_nav;height: @height_nav;position: relative; .a1{font-size: 16px;display: block;position: relative;} .ol_2{top:50px;left:0;z-index:99;width:100%;border-radius: 0;margin-top:35px;position: absolute;background: #fff;.transition(.2s);opacity: 0;visibility: hidden;padding: 10px 0; a{padding: 10px 20px;position: relative;display: block;color: #000!important;font-size: 14px;line-height: 1; &:hover{color: @mainColor!important;} } } .nav_ol_up{margin-top: 0;opacity: 1;visibility: visible;} } } } .logo_s{padding: 3px 0;box-shadow: 0 0 4px 5px rgba(0,0,0,.1); .nav .dropdown ul.dropdown-menu{padding-top:3px;} } @media (max-width: 1500px) { .header .top .header_right{width:50%;} .header .top .header_right .btn_language{margin-right:24px;} } @media (max-width: 1300px) { .header .top .logo{width:40%; img{width: 100%;} } .header .header_nav li{height: 40px;line-height: 40px;} } @media (max-width:1100px) { .header .top .header_right{width: 60%;} } @media (max-width: 950px) { .header{display: none;} #spotlight .header{display: block;} } //手机D样式////////////////////////////////////// #mobile{position: fixed;top: 0;left: 0;width: 100%;z-index: 2233;display: none; .top {line-height: 40px;height: 40px;text-align: center;-moz-box-shadow: 0 0 10px rgba(0,0,0,.2);-o-box-shadow: 0 0 10px rgba(0,0,0,.2);background: #fff;position: relative;z-index: 1; .btn{width: 40px;height: 40px;cursor: pointer;cursor: hand;z-index: 1;float: left;position: relative;display: block; i{width: 23px;height: 2px;background: #222;display: block;position: absolute;left: 50%;transform: translateX(-50%);transition: .5s;transform-origin: left center; } .ie1{top: 12px;} .ie2{top: 19px;} .ie3{top: 26px;} } .active{ .ie1{transform: translateX(-50%) rotateZ(45deg);top: 12px;margin-left: 3px;} .ie2{opacity: 0;} .ie3{transform: translateX(-50%) rotateZ(-45deg);top: 28px;margin-left: 3px;} } } .logos{margin: 0 auto;display: inline-block;width: auto; img{max-height: 25px;width: auto;display: inline-block;vertical-align: middle;position: relative;top: -2px;} } .lang {float: right;position: relative; a{margin-right: .2rem;font-size: 18px;} } .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: 950px) { #mobile{display: block;} } .com_dh{float: left; h3{font-size: 30px;font-weight: bold;padding-top: 25px;color: @mainColor;padding-left: 60px;} h5{color: @mainColor;font-weight: bold;font-size: 30px;margin: 40px 0 10px;} p{color: #9b9e9f;font-size: 16px;} } @media (max-width:768px) { .com_dh{text-align: center;float: none; h3{display: inline-block;} } } @media (max-width:500px) { .com_dh{ h3{font-size: 20px;padding-left: 34px;padding-top:13px;;background-size: 60px!important;} } } .index1{margin: .77rem 0 1rem; .index1_t{ .com_dh{ h3{background: url("../images/i_i2.png")no-repeat;} } ul{width:690px;float: right; li{width:109px;height: 30px;line-height: 30px;text-align: center;float: left;margin: 0 80px 30px 0 ; a{color: #8d8d8d;display: block;position: relative;;.transition();transition-delay: .1s; &:after{content: '';position: absolute;left:-6px;top: 0;width:20px;height: 1px;background: #e5e5e5;.transition();} &:before{content: '';position: absolute;left: 0;top:-6px;width:1px;height:20px;background: #e5e5e5;.transition();} span{ &:after{content: '';position: absolute;right:-6px;bottom: 0;width:20px;height: 1px;background: #e5e5e5;.transition();} &:before{content: '';position: absolute;right: 0;bottom:-6px;width:1px;height:20px;background: #e5e5e5;.transition();} } } } li:hover{ a{color: #fff;background: @mainColor; &:after{width: e("calc(100% + 12px)");background: @mainColor;} &:before{height: e("calc(100% + 12px)");background: @mainColor;} span{ &:after{width: e("calc(100% + 12px)");background: @mainColor;} &:before{height: e("calc(100% + 12px)");background: @mainColor;} } } } li:nth-of-type(4n){margin-right: 0;} } } .index1_b{margin-top: 40px; ul{overflow: hidden; li{padding:0 10px 22px; .pic{border: 4px solid #b3b3b3;overflow: hidden; height:3rem; display: flex;align-items: center;justify-content:center; img{.transition();width: 100%;} } .txt{margin-top:10px; p{background: url("../images/i_i3.png")no-repeat 4px center;padding-left: 20px;font-size: 16px;float: left;width: e("calc(100% - 54px)");.slh();} span{display: block;float: right;width:52px;position: relative;font-size: 16px;margin-top: 2px; &:before{content: '';position: absolute;bottom:5px;width: 52px;height: 3px;background: @mainColor;z-index: -1;} } } } li:nth-of-type(4n){margin-right: 0;} li:hover{ .pic img{.scale(1.06)} .txt{ p,span{color: @mainColor;} p{background: url("../images/i_i3_h.png")no-repeat 4px center;} } } } .slick-arrow{position: absolute;bottom:45%;height: 40px;line-height: 40px;background:fade(@mainColor,25%);width:40px;z-index: 2;font-size: 0;} .slick-prev{left: 0;background:#ccc url("../images/feel3.png")center no-repeat;} .slick-next{right: 0;background:#ccc url("../images/feel4.png")center no-repeat;} } } @media (max-width: 1200px) { .index1 .index1_b{margin-top:20px;} .index1{margin-bottom: 100px;} } @media (max-width: 1100px) { .index1 .index1_b ul li .txt span{display: none;} .index1 .index1_b ul li .txt p{width: 100%;} } @media (max-width: 950px) { .index1 .index1_t ul{width: e("calc(100% - 250px)"); li{width: 18%;margin-right: 8%;} } } @media (max-width: 900px) { .index1{margin-bottom: 20px;} } @media (max-width: 768px) { .index1{margin: .3rem 0;} .index1 .index1_t ul{width: 100%;margin-top: .4rem;display: flex;justify-content: space-between;flex-wrap:wrap;padding: 0 5px; li{width:27%;margin-right: 0;} li:nth-child(n+7){display: none;} } .index1 .index1_b ul li .txt p{font-size: 14px;} .index1 .index1_b ul li{padding: 0 5px 20px} .index1 .index1_b ul li .pic{border: 1px solid #b3b3b3;} .index1 .index1_b{margin-top: 0;} } @media (max-width:360px ) { .index1 .index1_b ul li .pic{height: 2.6rem;} } .index2{background: url("../images/index2_bg.jpg")no-repeat center;max-width: 1920px;margin: 0 auto;padding-bottom: 35px; .index2_t{ .com_dh{margin-top: 104px; h3{background: url("../images/i_i4.png")no-repeat;} } img{float: right;margin-right: 120px;margin-top: -93px;} } .index2_b{margin-top: 35px; .index2_b_left{background: url("../images/i_i6.jpg")no-repeat center;width:61.5%;float: left;height: 500px;} ul{width: 38.5%;float: right;position: relative;; &:before{content: '';position: absolute;left: 0;right: 0;top: 0;bottom: 0;margin: auto;width: 95%;height: 1px;background: #ebefee;} &:after{content: '';position: absolute;left: 0;right: 0;top: 0;bottom: 0;margin: auto;width: 1px;height:95%;background: #ebefee;} li{width: 50%;height: 250px;padding: 45px 30px;float: left;;background: #fff;text-align: center; i{display: block;background: url("../images/i_i7.png")no-repeat;width: 42px;height: 42px;margin: 0 auto 24px;} h3{font-size: 20px; &:after{content: '';width: 24px;height: 1px;margin:10px auto;display: block;background:@mainColor;} } p{color: #737373;line-height:1.6;} } li:hover{background:rgba(255,255,255,.8);} li:nth-of-type(2) i{background: url("../images/i_i8.png")no-repeat;width: 40px;height: 45px;} li:nth-of-type(3) i{background: url("../images/i_i9.png")no-repeat;width: 36px;height: 46px;} li:nth-of-type(4) i{background: url("../images/i_i10.png")no-repeat;width: 45px;height: 42px;} } } } @media (max-width:1300px ) { .index2 .index2_t img{margin-right: 0;} } @media (max-width:900px ) { .index2 .index2_t img{display: none;} .index2 .index2_b .index2_b_left{width:40%;} .index2 .index2_b ul{width: 60%;} } @media (max-width:768px ) { .index2 .index2_t{padding-top: 1px; .com_dh{margin:30px 0; h3{padding-left:70px;} h5{margin: 20px 0 10px;font-size: 18px;} p{font-size: 14px;} } } .index2 .index2_b{margin-top: 0;} } @media (max-width:640px ) { .index2 .index2_b .index2_b_left{display: none;} .index2 .index2_b ul{width: 100%;} } @media (max-width:500px ) { .index2 .index2_t .com_dh h3 {padding-left: 42px;} .index2 .index2_b ul li h3{font-size: 16px;} } .com_a{color: #666666;display: inline-block;margin: 10px 0 0; i{background: url("../images/i_i12.png")no-repeat;display: inline-block;width: 35px;height: 12px;} } .index3{overflow: hidden;padding-bottom: 120px; .index3_num{display: flex;justify-content:space-between;margin:.6rem 0; li{ h3{ strong{font-size: 50px;color:@mainColor;} span{font-size: 18px;margin-left: 5px;} } p{font-size: 24px;} } } .index3_left{width: 520px;float: left;; .com_dh{padding-left: 10px; h3{background: url("../images/i_i11.png")no-repeat;} } .index3_left_center{display: flex;align-items: center;height: 300px; article{ p{font-size: 16px;text-indent: 2em;line-height: 2;text-align: justify;} } } ul{display: flex;justify-content: space-between;width:90%; li{width: 73px;text-align: center; i{background: url("../images/i_i13.png")no-repeat;width: 55px;height: 57px;margin: 0 auto;display: block;} p{font-size: 18px;text-align: center;text-indent: 0;margin-top:5px;} } li:nth-of-type(2) i{background: url("../images/i_i14.png")no-repeat; width: 57px;height: 57px;} li:nth-of-type(3) i{background: url("../images/i_i15.png")no-repeat;width: 61px;height: 55px;} span{width: 1px;height: 90px;display: inline-block;background: #7f7f7f;} } } .index3_right{background: url("../images/gongs.jpg")no-repeat;height: 655px;width: e("calc(100% - 670px)");float: right;font-size: 0; a{display: block;background: url("../images/i_i16.jpg")no-repeat;width: 120px;height: 120px;float: left;} p{background: url("../images/i_i17.png")no-repeat left center;padding-left:36px;margin-top: 40px;font-size: 18px;float: right;vertical-align: center; span{color: @mainColor;font-size: 30px;vertical-align: center;} } } } @media (max-width:1300px ) { .index3 .index3_right{overflow: hidden;width: 45%;} .index3 .index3_left{width: 50%;} } @media (max-width:950px ) { .index3 {margin-bottom:.5rem;} } @media (max-width:768px ) { .index3{padding-bottom: 30px;} .index3 .index3_num li h3 strong{font-size: 36px;} .index3 .index3_num li p{font-size: 20px;} .index3 .index3_num li h3 span{font-size: 14px;} .index3 .index3_right{width:100%;height:5rem;} .index3 .index3_left{width:100%;margin-bottom: 20px; .com_dh h5{margin: 20px 0 10px;font-size: 24px;} } .index3 .index3_left .index3_left_center{height: auto;margin-bottom: 20px;} .index3 .index3_left ul{margin: 0 auto;} } @media (max-width:520px ) { .index3 .index3_num{flex-wrap: wrap;justify-content:space-around; li{width: 35%;margin-bottom: 20px; h3 strong{font-size: 26px;} } } .index3{margin-bottom: 0;} .index3 .index3_right{width:100%;height:3rem;} .index3 .index3_left .com_dh h5{font-size: 20px;} .index3 .index3_num li p{font-size:16px;} .index3 .index3_left ul li i{width:40px!important;background-size: 100%!important;} .index3 .index3_left .index3_left_center article p{font-size: 14px;} .index3 .index3_left ul li p{font-size: 16px;margin-top: 0;} } .index4{background: #f4f8f9;padding: 186px 0 80px;overflow: hidden;margin-top: -120px; .index4_left{float: left;width: 210px;margin-top: 64px; .com_dh{background: url("../images/i_i18.png")no-repeat;float: none; h3{margin-left:20px;} } ul{margin-top: 70px; li{width: 120px;height: 120px;background: #fff;box-shadow: 5px 5px 5px rgba(0,0,0,.1);padding-top: 28px;position: relative;.transition();cursor: pointer; i{display: block;background: url("../images/i_i19.png")no-repeat;margin: 0 auto 10px;width: 32px;height: 31px;.transition();} p{font-size: 18px;text-align: center;.transition();} &:after{content: '';position: absolute;border: 1px solid #fff;left: 0;right: 0;top: 0;bottom: 0;margin: auto;width: 0;height: 0;.transition();} } .cur{width: 180px;background: @mainColor; i{background: url("../images/i_i19_h.png");} p{color: #fff;} &:after{width: 160px;height: 100px;} } li+li.cur i{i{background: url("../images/i_i20_h.png");}} } } .index4_right{float: right;position: relative;width: e("calc(100% - 250px)"); .index4_right_bg{position: absolute;background:#fff;width:1370px;height: 684px;} section{padding: 45px 0 0 45px;position: relative;z-index: 1;display: none;} .on{display: block;} .n1{overflow: hidden; .pic{float:left;width:50%;height: 320px;overflow: hidden; img{width: 100%;} } .txt{width: 46%;padding-right: 20px;float: right; .time{ .t1{font-size: 30px;color: #999999;padding-bottom:13px;border-bottom: 1px solid #999;} .t2{color: #999999;margin-left: 10px;} } h4{margin: 40px 0 30px;font-size: 20px;font-weight: bold;.slh();} article{ p{color: #666;line-height: 2;height: 84px;overflow: hidden;} } } &:hover{ .txt{ article p{color: #000;} } } } li{width: 48%;float: left;background: #fafafa;margin-top:37px;padding: 20px; h4{.slh();font-size: 20px;font-weight: bold;margin-bottom: 10px;} time{float: left;} span{float: right;margin-top: 0;} } li:nth-of-type(2n){float: right;} li:hover{background: @mainColor; h4,time,span{color: #fff;} } } } @media (max-width:1300px) { .index4{padding: .5rem 0 .3rem;} } @media (max-width:950px) { .index4{display: none;} } .gongyi1{ img{max-width: 100%;} } //内页大图/////////////////////////////////////////////////////// .nei_banner{max-width: 1920px;overflow: hidden;display: block;position: relative;font-size: 0;margin-top:125px; img{width: 100%;} .main1400_b{position: absolute;left: 0;right: 0;margin: auto;top:45% ; h3{color: #fff;overflow: hidden;} p{color: #fff;} } } @media (max-width:900px) { .nei_banner{margin-top: 40px;} .product_banner{display: none;} } //面包屑导? .breadcrumbs{position: relative;;z-index: 2;height: 60px; margin-bottom: .5rem; .breadcrumbs_right{height: 60px;border-bottom: 1px solid #848484;width:65%;float: right;line-height: 60px;padding-left:50px;font-size: 18px; } .breadcrumbs_left{box-sizing: border-box; height: 110px;line-height: 110px;background: @mainColor;padding: 0 30px;font-size: 18px;color: #fff;margin-top: -50px;text-align: right;text-transform: uppercase;width:35%;float: left; a{font-size: 18px;} span{font-size: 32px;max-width: 250px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;display: inline-block;vertical-align: middle; } } } .breadcrumbs_company{ li{float: left; a{font-size: 16px;margin-right:30px;} } .cur{ a{color: @mainColor;} } } @media (max-width:1200px) { .breadcrumbs .breadcrumbs_left ul li{width:2rem;} } @media (max-width:900px) { .breadcrumbs .breadcrumbs_left{height:60px;line-height: 60px; padding: 0 14px;} .breadcrumbs .breadcrumbs_left {margin-top: 0;} .breadcrumbs .breadcrumbs_left span{font-size: 24px;} } @media (max-width:660px) { .breadcrumbs_company .breadcrumbs_left{display: none;} .breadcrumbs_company .breadcrumbs_right{width: 100%;padding-left: 0!important; li{width: 25%;text-align: center; a{margin-right: 0;} } } } @media (max-width:600px) { .breadcrumbs .breadcrumbs_no_r{width: 100%;text-align: left;} .breadcrumbs .breadcrumbs_left span{font-size:16px;} .breadcrumbs .breadcrumbs_left a{line-height: 60px;} .breadcrumbs .breadcrumbs_left{padding: 0 10px;} .breadcrumbs_company li a{margin-right: 15px;} .breadcrumbs .breadcrumbs_right{padding-left: 20px;} } @media (max-width:400px) { .breadcrumbs .breadcrumbs_left span{font-size:14px;} .breadcrumbs .breadcrumbs_left a{font-size: 12px;} .breadcrumbs_company li a{font-size: 14px;margin-right: 7px;} } //公司介内? .company1{ .company1_dh{ h3{color: @mainColor;background:url("../images/i12.png")no-repeat left center;padding-left: 32px;font-weight: bold;margin-bottom:.4rem;} } .company1_nr{ p{font-size: 20px;line-height: 2.2;color: #666;text-indent: 2em;} img{float: right;width: 690px;overflow: hidden;padding: 0 0 .7rem .7rem;} } } @media (max-width:1200px) { .company1 .company1_nr{ img{width:50%;height: auto;} p{font-size: 16px;} } } @media (max-width:640px) { .company1 .company1_nr{ img{width:100%;height: auto;padding: .3rem 0 .3rem 0} p{font-size: 14px;} } } .company2{margin: 1rem 0 .5rem; ul{text-align: center; li{color: #333;text-align: center;display:inline-block;width:32%; h4{color: @mainColor; em{font-size: 16px;vertical-align: bottom} i{font-size: 48px;line-height:1;} } strong{font-size: 105px;font-weight: bold;line-height: 1;} p{font-size: 22px;} span{font-size: 14px;text-transform: uppercase;color: #666;} } } } @media (max-width: 1400px) { .company2 ul li{ strong{font-size: 68px;} p{font-size: 18px;} } } @media (max-width: 950px) { .company2{margin: .5rem 0 .1rem; ul{ li{ h4{font-size:20px;} strong{font-size:36px;} p{font-size: 16px;} } } } } @media (max-width:500px) { .company2 ul{display: flex;;flex-wrap: wrap;;justify-content: space-between; li{width: auto;; h4{ strong,i{font-size: 36px;} em{vertical-align: middle; span{font-size: 12px;} } } p{font-size: 14px;} } } } //企业文化///////////////////////// .culture1{ p{font-size: 16px;font-weight: normal;letter-spacing: 0px;color: #666666;margin-bottom: 3%;padding-left:20px;position: relative; &:before {content: '';width: 12px;height: 12px;background: url(../images/dot2.png) center no-repeat;position: absolute;left: 0;top: 6px; } span{font-weight: bold;color: #333333;font-size: 16px;} } } .culture2{margin: .6rem 0;overflow: hidden; ul{ li{width:49%;float: left;background: url("../images/culture_bg1.jpg")no-repeat;height:460px;padding: 20px 40px;.border-radius(5px); h3{color: #fff;font-size: 36px;margin-bottom: 20px;} p{color: #fff;font-size:16px;line-height: 2;} } li+li{float: right;background: url("../images/culture2_bg.jpg")no-repeat;;background-size: cover;} } } @media (max-width:900px) { .culture2 ul li h3{font-size: 24px;} .culture2 ul li p{line-height: 1.8;} } @media (max-width:768px) { .culture2 ul li{width: 100%;margin-bottom: 20px;padding: 20px;} } //荣誉证书honor面///////////////////////// .honor_list{overflow: hidden;margin-top: .4rem; li{float: left;width:24%;margin-right: 1.3%;margin-bottom: .3rem;text-align: center;cursor:pointer; .img{border: 1px solid #dcdcdc;padding: 6px;height: 2.6rem;box-sizing: border-box;text-align: center;display: flex;align-items: center;justify-content: center; img{max-height: 100%;max-width: 100%;} } h4{line-height: 2;} } li:nth-of-type(4n){margin-right: 0;} } @media (max-width:768px) { .honor_list{ li{width:49%;margin-right: 2%;} li:nth-of-type(2n){margin-right: 0;} } } //新闻列表/////////////////// .dang_list_one{margin:0 0 .4rem; li{background: #f0f0f0;height: 3.65rem; .img{width: 37.5%;float: left;margin-right: .45rem;overflow: hidden;height: 3.65rem; img{display: block;} } aside{padding-top: .5rem;padding-right: .2rem; h3{margin-bottom: .3rem;font-weight: bold;.slh;} article{min-height: 1.4rem;} p{line-height: 2.1;color:#666;} a{background: @mainColor;width: 136px;height:40px;line-height: 40px;text-align: center;color: #fff;display: block;float: left;} } } .slick-dots{position: absolute;bottom:10px;display: block;width:30%;padding: 0;margin: 0;list-style: none;text-align: center;right: 0; li{position: relative;display: inline-block;width: 10px;height:10px;margin: 0 5px;padding: 0;cursor: pointer;background: none; button{font-size: 0;line-height: 0;display: block;width:100%;height: 100%;;cursor: pointer;color: transparent;border: 0;outline: none;background: #ccc;.border-radius(50%;)} } .slick-active button{background: @mainColor;} } } .dang_list_two{ li{box-sizing: border-box;padding: .3rem .5rem;overflow: hidden;border-bottom: 1px solid #f0f0f0; .img{float: left;width: 270px;height: 160px;overflow: hidden; } aside{float: right; width:e("calc(100% - 300px)"); h3{margin:.1rem 0;} span{color: @mainColor; i{display: none;margin-left: .1rem;} } p{margin-top: .2rem;line-height: 1.5;height:60px;overflow: hidden;} } } li:hover{background:#f0f0f0;} } @media (max-width:1200px) { .dang_list_one .swiper-slide{height: 5rem; .img{width: 50%;height: 5rem;} aside article{min-height: 2.4rem;} } } @media (max-width:900px) { .dang_list_one .swiper-slide .img{width:35%;} .dang_list_one .swiper-pagination{margin-left:40%;} .dang_list_two li{padding: .3rem 0;border-bottom: 1px solid #666; aside{ span i{display:inline;color: #666;} } } } @media (max-width:640px) { .dang_list_one .swiper-slide{ .img{width:100%;margin: 0;height:2.5rem;float: none;} aside{padding: .1rem;float: none; a{width:100px;height: 35px;line-height: 35px;margin: .2rem auto;} article{min-height: auto;height: 64px;overflow: hidden;} h3{margin-bottom: .1rem;} } } .dang_list_two li{ .img{width: 200px;} aside{ width:e("calc(100% - 220px)");} } } //新闻详情///////////////////////// .news_title{text-align: center;margin:.4rem 0;padding: 0 2%; h1{padding-bottom: .2rem;font-weight: bold;} span,b{font-size: 14px;} } @media (max-width: 640px) { .news_title{ b{display: inline-block;} } } .news_info_sidebar{float: right;width: 285px;padding-left:.4rem;border-left: 1px solid #ccc; h3{color: #838D8F;margin-bottom: .1rem;} li{padding:.1rem 0;overflow: hidden; a{line-height: 1.5;color: #242424; &:hover{color: #e60012;} } } } .neirong_container{padding:.4rem .4rem 0 .4rem;overflow: hidden; .honor_img{max-width: 1200px;margin: 0 auto;text-align: center; img{display: block;margin: 0 auto;max-width: 100%;} } header{text-align: center;padding-bottom: .2rem;border-bottom: 1px solid #cccccc; h3{font-weight: bold;margin: 0 0 .35rem;} b{font-family: 宋体;} } article{padding: .4rem 0;border-bottom: 1px solid #cccccc;min-height: 5rem; p{line-height: 1.8;font-size: 14px;} img{max-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;} } @media (max-width: 900px) { .news_info_sidebar{display:none;} } @media (max-width: 640px) { .neirong_container{padding: .2rem 0;} } ///////联系我们/////////////////////////// #gaodeMap{height: 474px;} .contact1{margin: 80px 0 20px;overflow: hidden; .contact1_left{width: 40%;float: left; h3{font-size: 24px;} h1{font-size: 24px;margin: 15px 0;} p,a{font-size: 16px;line-height: 1.8;} img{width: 105px;margin-top: 10px;} } .contact1_right{float: right;width: 60%;margin-top: 40px; ul{display: flex;flex-wrap: wrap;;justify-content: space-between; li{width: 27%;margin-bottom: 25px; p{color: #000000;margin-bottom: 10px;font-size: 18px;} input{background: #e4e4e4;height: 36px;line-height: 36px;text-indent: 1em;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; } } .liuyan_content{width: 100%; textarea{width: 100%;background: #e4e4e4;text-indent: 1em;height: 120px;padding-top: 8px;} } .yanzhengma{position: relative;; img{position: absolute;right: 7px;top: 7px;} } } } } @media (max-width: 800px) { .contact1{margin: 40px 0 20px;} .contact1 .contact1_left{width: 100%;} .contact1 .contact1_right{width: 100%;} .contact1 .contact1_right ul li{width: 32%;} } @media (max-width: 640px) { .contact1 .contact1_right{background: #f4f4f4;padding: 10px; ul li{width: 100%;margin-bottom: 10px; p{font-size: 16px;} } } .contact1 .contact1_right ul .yanzhengma{margin-bottom: 0;} .contact1 .contact1_left h1{font-size: 18px;} .contact1 .contact1_left p, .contact1 .contact1_left a{font-size: 14px;} .contact1 .contact1_left h3{display: none;} } .contact2{margin: .45rem 0;overflow: hidden;; .contact2_left{width:7.8rem;float: left;border: 1px solid #e5e5e5;padding: .2rem;box-sizing: border-box;height: 2.3rem; section{float: left;box-sizing: border-box;width: 50%;padding-left: .26rem; li{background: url("../images/icon32.png")left center no-repeat;background-size: .4rem .41rem;padding-left: .64rem;margin-top: .2rem; p{font-size: 14px;color: #666;} } li+li{margin-top: .4rem;background: url("../images/icon33.png")left center no-repeat;padding-bottom: .25rem;background-size: .37rem .35rem;} } section+section{border-left: 1px dashed #dddddd; li+li{background: url("../images/icon34.png")left center no-repeat; background-size: .39rem .36rem;} } } .contact2_right{width:e("calc(100% - 8.4rem)");float: right;border: 1px solid #e5e5e5;box-sizing: border-box;padding: .35rem;height: 2.3rem; img{float: left;margin-right: .34rem;width: 1.6rem;height: 1.6rem;} h3{margin: .1rem 0;} p{font-size: 14px;} i{background: url('../images/icon35.png')no-repeat;width:.36rem;height: .36rem;background-size: 100% 100%;display: inline-block;margin-top: .2rem;} } } @media (max-width: 1300px) { .contact2{ .contact2_left,.contact2_right{width: 100%;overflow: hidden;height: auto;} } } @media (max-width: 468px) { .contact2 .contact2_left{ section{width: 100%;} section+section{border-left: none;} } .contact2 .contact2_right{padding: .2rem; img{width: 1.2rem;height: 1.2rem} } } .contact3{height: 6.8rem;width: 100%;margin-top: .8rem;position: relative;; #allmap{width: 100%;height: 100%;} } .contact4{background:#e9e9e9;padding: .5rem 0; h3{text-align: center;} p{text-align: center;margin: .3rem 0 ;line-height:1.8;} a{width: 96px;height:40px;text-align: center;line-height:40px;border: 1px solid #cccccc;.transition();font-size: 14px;display: block;margin:.3rem auto 0; &:hover{color: #fff;} } } .contact5{margin: .3rem 0; h3{text-align: center;margin: .2rem 0 .3rem} ul{overflow: hidden;; li{float: left;width: 49%;height:50px;line-height:50px;border: 1px solid #ccc;margin-bottom: 20px; input{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;} } } //产品列表?//////////////////////////////////// .com1_dh{margin-bottom: 0.5rem;} .product1{overflow: hidden;; .product1_left{width: 250px;float: left;margin-bottom: .5rem;background: #eee;padding-bottom: 20px; h3{font-weight: bold;height: 87px;line-height: 87px;text-indent:73px;color: #fff; background: @mainColor;} ul{padding:30px 18px 10px; li{.transition(); height: 40px;line-height: 40px;background:#e1e0e0 url("../images/i19.png")no-repeat 15px center;padding-left: 52px;margin-bottom: 20px;} li:hover{.cur;} .cur{background:@mainColor url("../images/i19_1.png")no-repeat 15px center; a{color: #fff;} } } .btn_slide{font-size: 14px; width: 100%;text-align: center;background: url("../images/p_i20.png")no-repeat top center;padding-top:25px;background-size: 25px;display: none;} .btn_slide_h{background: url("../images/p_i21.png")no-repeat top center;background-size: 25px;} } .product1_right{width: e("calc(100% - 280px)");float: right; ul{width: 100%;display: flex;justify-content: space-between;flex-wrap: wrap;; li{float: left;width: 32.5%;margin-bottom: 20px; a{display: block;height: 100%;} .pic{position: relative; height: 3.3rem;overflow: hidden;border:4px solid #f2f2f2;display: flex;align-items: center;justify-content:center; img{max-width: 100%;max-height: 100%;.transition();} } p{line-height: 50px;text-align: center;background: #f2f2f2;} } li:hover{ .pic{ img{.scale(1.1)} } p{color: @mainColor;} } } .com_a{margin-top: 30px;} } } @media (max-width: 900px) { .product1 .product1_left{width: 100%;margin-bottom: 0; h3{height: 50px;line-height: 50px;text-indent: 30px;} ul{overflow: hidden; li{width:49%;float: left;margin-right:2%;margin-bottom: 10px;} li:nth-of-type(2n){margin-right: 0;} li:nth-child(n+5){display: none; } } } .product1 .product1_right{width:100%;} .product1 .product1_right ul{margin-top: 20px; li{width: 49%; p{height: 35px;line-height: 35px;} } li:nth-of-type(2n){float: right;} } } @media (max-width: 500px) { .product1 .product1_left ul{padding: 10px 10px; li{padding-left: 10px;background-image: none;} li:hover,.cur{background-image: none;} } .product1 .product1_right.product1 ul{ li{ .pic{height: 2.6rem;} } } } //////////////产品详情?////////////////////////////////// .product_info1_left{margin-top: 40px;width: 45%;float: left;overflow: hidden;; .product_info1_left_t{height:520px;border: 1px solid #bfbfbf;display: flex;align-items: center;justify-content:center;box-sizing: border-box;;padding: 10px;overflow: hidden;; .gallery-top{height: 100%;width: 100%; .swiper-slide{height: 100%;display: flex;align-items: center;justify-content:center; img{max-width: 100%;max-height: 100%;} } .arrow-left {background: url(../images/index_tab_l.png) no-repeat left top;position: absolute;left: 10px;top: 50%;margin-top: -25px;width: 28px;height: 51px;z-index: 10; } .arrow-right {background: url(../images/index_tab_r.png) no-repeat left bottom;position: absolute;right: 10px;top: 50%;margin-top: -25px;width: 28px;height: 51px;z-index: 10; } } } .product_info1_left_b{margin-top: 30px;position: relative; .gallery-thumbs{width: e("calc(100% - 100px)");margin: 0 auto; .swiper-slide{border: 1px solid #bfbfbf;height:100px;display: flex;align-items: center;justify-content:center;cursor: pointer; img{max-width: 100%;max-height: 100%;} } .active-nav{border: 1px solid #F00;} } .arrow-left{position: absolute;left:0;top: 0;width:30px;height: 100%;z-index: 10;background: #ccc url(../images/feel3.png) no-repeat center; } .arrow-right {position: absolute;right: 0;top: 0;;width:30px;height: 100%;z-index: 10;background: #ccc url(../images/feel4.png) no-repeat center; } } } .product_info1_right{width: 45%;float: right;padding-top: 60px; h1{letter-spacing: 4px;color: @mainColor;} article{margin: 40px 0 0; p{line-height: 2;} .p1{background: url("../images/pi_i6.jpg")no-repeat left center;padding-left: 40px;} .p2{background: url("../images/pi_i7.jpg")no-repeat left center;padding-left: 40px;} } } @media (max-width: 1200px) { .product_info1_left{width: 55%;} .product_info1_right{width: 40%;} } @media (max-width: 800px) { .product_info1_left{width: 100%;} .product_info1_right{width: 100%;} } @media (max-width: 640px) { .product_info1_right{padding: 20px 0; h1{letter-spacing: 0;} } .product_info1_right article{margin-top: 20px;} .product_info1_left .product_info1_left_b .ul2 li{height: 70px;} .product_info1_left .product_info1_left_b .slick-arrow{top: 12px;} .product_info1_left .product_info1_left_t{height: 4rem;} .product_info1_left .product_info1_left_b .gallery-thumbs .swiper-slide{height: 50px;} } @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{width:160px;height: 50px;line-height: 50px;color: #fff;background: @mainColor;text-align: center; h3{font-size: 18px;} } article{min-height: 300px;border: 1px solid #bfbfbf;padding:20px;margin: 20px 0; span{font-size: inherit;} img{max-width: 100%;} table{width: 100%!important; td{border: 1px solid #ccc;padding: 5px; text-align: center;} } } } @media (max-width: 640px) { .product_info2{margin:0;} .product_info2 .product_info2_dh{height: 40px;line-height: 40px;width: 100%;text-align: left;padding-left: 20px;} .product_info2 article{min-height:0;} } .product_info_fanhui{margin-top: 20px; width: 70px;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;} } } /////////////////////////////////////banner样式/////////////////////////////////////// .banner{max-width: 1920px;text-align: center;margin-top:95px;height: 0;padding-bottom:42%; .swiper-slide{ .banner1{width: 100%;} .banner1_img{position: absolute;left: 0;right: 0;top:64%;opacity: 0; margin: auto;.transition();transition-delay: .3s;} } .swiper-pagination-bullet-active{background: @mainColor;} .swiper-button-prev{height: 42px; width: 42px; z-index: 33;background:url("../images/i_i31.png")no-repeat center;} .swiper-button-next{width: 42px;height: 42px;background:url("../images/i_i32.png")no-repeat center;} } @media (max-width: 950px) { .banner{margin-top: 40px;} } @media (max-width: 640px) { .banner{padding-bottom:66%;} .swiper-button-next, .swiper-button-prev{display: none;} } .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;} } } } .picturea{ float:left; width:270px; height:270px; overflow:hidden; padding:0px; margin-left:28px;_width:197px;} .picture1a{ width:270px; height:210px; line-height: 210px; text-align:center; vertical-align:middle; border:1px solid #ccc; overflow:hidden; display:table-cell; /* position:relative; */ *display: block; _font-size:130px; } .picture2a{width:270px; height:20px; text-align:center; margin-top:5px;line-height: 25px;} .picture1a img{ vertical-align:middle; border:0;} /********消除动
*********/ .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;} } .clear3{overflow:hidden;_zoom:1;} /*--------------------------------------------------------全局l束---------------------------------*/ //新闻列表/////////////////// .news1{ .com_dh{float: none;} h3{font-weight: 700;text-align: center;padding: 50px 0 20px;border-bottom: 1px solid #eee;} .news1_style_nr{margin-top: .7rem; li{width: 100%;padding: 10px 20px;margin-bottom: 40px;box-sizing: border-box;.transition(); time{width: 74px;float: left;text-align: center;margin-right: 30px;height: 100%; span{display:block;font-family: 'beba';margin: 0 auto;} i{font-size: 18px;} } h4{margin-bottom: 10px;.slh();} article{height:48px;overflow: hidden; p,span{color: #848484!important;font-size: 16px!important;line-height: 1.5;} } &:hover{background: @mainColor;color: #fff; article{ p,span{color: #fff!important;} } } } .com_a{margin:10px auto;} } } @media (max-width: 900px) { .news1 .news1_style_nr li{width: 100%;margin-bottom: 10px; border-bottom: 1px solid #ccc;padding-bottom: 15px;} .news1 .news1_style_nr li time i{font-size: 14px;} .news1 .news1_style_nr li time{margin-right: 10px; span{margin: 10px 0 5px;} } .news1 .news1_style_nr li article p, .news1_style .news1_style_nr li article span{line-height: 1.5!important; font-size: 14px!important;} .news1 .news1_style_nr li article{height: 40px;} } /********************************************************内页******************************************************************/ .well{background: #FCFCFC;} .news_list{margin: 0 auto; li{clear: both;padding: 20px;height: 150px; border-bottom: 1px dashed @mainColor; .news-li-img{width:200px;height: 150px;overflow: hidden; float: left;margin-right: 20px; img{width: 100%;} } header{margin-bottom: 10px; .a3{.slh;height: 50px;line-height: 50px;font-size: 24px;.transition(.4s);display: block;} span{display: block;color: #999;.transition(.4s)} } .a2{line-height: 24px;text-indent: 2em;color: #656565;.transition(.4s)} } li:hover{ span,a{color: @qt5;} } } .news_list4{margin: 0 auto; li{clear: both;padding-top: 20px;height: 100px; border-bottom: 1px dashed #b3b3b3; header{ .a3{.slh;height: 30px;line-height:30px;.transition(.4s);display: block; i{color: @qt6;font-size: 18px;margin: 0 5px;} span{display: block;color: #999;float: right;} } } .a2{line-height: 24px;color: #656565;.transition(.4s);padding-left: 20px;display: block;; span{color: @qt6;} } } li:hover{ .a3{text-indent:15px;color: @qt6;} } } .news_job{margin: 0 auto; li{ line-height: 30px; border-bottom: 1px dashed @mainColor; overflow: hidden;} } .table-bordered{border-collapse:collapse; td{border: 1px solid #ccc;} } .news_list5{margin-right: -20px; li{width:286px;height: 338px;box-sizing: border-box;padding:12px;float: left;;border: 1px solid #e5e5e5;position: relative;margin-right: 19px;margin-bottom: 46px; time{font-size: 12px;color: #666666;} h2{height:50px;overflow: hidden;line-height:24px;font-size: 16px;margin-top:10px;} .news-li-img{height: 148px;width: 262px;overflow: hidden; display: -webkit-flex;display: flex;justify-content: center;-webkit-box-align: center;align-items: center; img{width: 100%;} } p{margin-top: 14px;color: #666666;line-height: 20px;text-indent: 2em;} a{position: absolute;width: 97px;height: 23px;bottom:-12px;left: 94px;.border-radius(6px);text-align: center;line-height: 23px;background: @qt6;color: #fff;} } } /////////////////////////////////////////人才招聘///////////////////////////////// .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;} } } } /***********************sidebarQ二U下拉)****************************************/ .sidebar2ji_fenlei{float: left;width: 248px;background:#e5e5e5; h3{height: 70px;line-height: 70px;font-size: 30px;text-indent: 25px;} .fenlei-dh{width:248px;height: 65px;font-size: 24px;color: #fff;text-align: center;line-height: 66px;} .fenlei-nr{padding:0 7px; ul{ .li1{ .a1{background:rgba(255,255,255,.5);height: 45px;display: block;line-height: 45px;text-indent:15px;font-size: 15px;margin-bottom: 5px;cursor: pointer; i{float: right;margin-right: 15px; .transition(.4s); } } ul{ .li2{ a{background:rgba(255,255,255,.5);height:39px;display: block;line-height:39px;text-indent:15px;font-size: 14px;margin-bottom: 2px;} } .li2:hover{ a{color: @mainColor;} } } } } } } .xuanzhaun{transform: rotate(90deg);} /***************************************************************/ /********公司?*********/ .article{ background-color: #fff; margin-bottom: 20px; min-height: 20px; overflow:hidden; img{max-width:100%;} .well{} .com_con{padding:10px;line-height: 25px;border: 1px solid #d2d2d2;border-top: none;; } .content{margin: 25px;} } .page{clear: both;margin-top: 10px;text-align: center;font-size: 12px;letter-spacing: 0px;padding-bottom:30px; #page_num{width: 50px;} a{display:inline-block;height:22px;line-height:20px;border:1px solid #DBDBDB;padding:0 2px 0;color:#000; &:hover{ background:#404040;border:none;color:#fff;;height:18px;line-height:18px; } } select{vertical-align: top;height:22px;} } #page_num{border: 1px solid #ccc;} //详情上一条和下一? .pn{ font-size: 14px; margin:25px 0; position: relative; li{margin-bottom: .1rem; a{display: block;text-decoration: none;color:#383737; .slh(); &:hover{color:@mainColor;} i{float: left;} span{bottom: 1px;margin: 0 10px;.slh;display: block;} } } } /********留言面**********/ .order{height:430px;padding: 50px;width: 610px; li{float: left;margin:0 20px 20px 0; p{font-size: 16px;line-height: 30px;} input{border: 1px solid #ccc;.border-radius(2px);height: 20px;line-height: 20px;padding: 10px 5px;} textarea{width:580px;border: 1px solid #ccc;.border-radius(2px);padding: 10px 5px;} img{height:39px;float: left;margin-left: 10px;} #submit{height: 39px;width: 200px;.border-radius(3px);background: @mainColor;color: #fff;font-size: 16px;border: none;float: right;margin-right:20px;cursor: pointer;} } } .order1{height:430px;padding:30px; li{float: left;margin:0 0 15px 0;width: 100%; input{width: 100%; border:1px solid #e4eaec;.border-radius(2px);height:30px;line-height:30px;padding: 10px 5px;box-sizing: border-box;} textarea{width:100%;border: 1px solid #e4eaec;.border-radius(2px);padding: 10px 5px;box-sizing: border-box;} #captcha{width:86%;} img{height:30px;float: right;margin-left: 10px;} #submit{height: 30px;line-height:11px; width:100%;.border-radius(3px);background: @qt6;color: #fff;font-size: 16px;border: none;cursor: pointer;} 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; } } } /********联系我们面**********/ .contact1_txt{padding: 20px; li{line-height: 30px;font-size: 16px; p{display: inline-block;} } } .contact1_txt01{width: 340px;float: right;;margin-top: 20px; h4{font-size: 30px;font-weight: 500;margin-bottom: 10px; span{font-size: 18px;} } h1{font-size: 16px;margin-bottom: 10px;} li{line-height:40px;padding-left: 40px; p{font-size: 14px;} } .icon_tel{background: url("../image/icon_tel.png")no-repeat left 11px;} .icon_add{background: url("../image/icon_add.png")no-repeat left 11px;} .icon_qq{background: url("../image/icon_QQ.png")no-repeat left 11px;} } .con_message{width: 780px;float: left; form{margin-bottom: 30px;overflow: hidden;; ul{ li{width: 250px;float: left;line-height: 40px;border: 1px solid #666;margin: 8px 8px 0 0; input{background: none;text-indent: 1em;width: 100%;} input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #000; } input:-moz-placeholder, textarea:-moz-placeholder { color: #000; } input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #000; } img{height: 40px;} } .yanzhengma{width: 159px;height: 40px;} .yanzhengma1{border: none;width: auto;;margin-right: 0; img{height: 40px;} } .liuyan_content{width:e("calc(100% - 2px)");background:none; textarea{background: none;width: 100%;text-indent: 1em;} } .tijiao{width: 100%;text-align: center;background: @mainColor; input{color: #fff;} } } } } #route { width: 100%; height: 60px; margin-top: 30px; border: 1px solid #dcdcdc; background: #fff; box-sizing: border-box; border-bottom: none; span { width: 33%; height: 60px; display: block; float: left; text-align: center; line-height: 60px; cursor: pointer; } } #route .hover { background:@qt6; color: #000; } /********新闻中心**********/ .table{ margin: 10px auto; width: 98%; tr{ td{ &:hover{} } } } /*带图片样?/ .news-img{ ul{ margin: 0; li{ _width: 100px; _float:left; _margin: 0 9px; .thumbnail{ img{ _float:left; } .transition(all .3s); .caption{ _float: left; h3{.slh; text-align: left; margin-bottom: 10px; } } } &:hover{ .thumbnail{ margin-left: 20px; -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); } } } } } /********人才招聘**********/ #Jobs-table{ width: 95%; margin: 0 auto; thead{ tr{ th{ } } } tbody{ tr{ &:hover{ td{ background:transparent; } } td{ &:hover{ background:transparent; } } } } } /*-------内页左分c?-------*/ .neiye {background: #fff;margin-top: 20px;width:@b_w;height:395px;margin-bottom:15px;} .neiye-z { float:left; width:522px; height:395px; margin-right:35px; } .neiye-zimg { width:500px; text-align:center; vertical-align:middle; background:#fff; overflow:hidden; display:table-cell; /* position:relative; */ *display: block; border:solid 1px #ccc; padding:10px; } .neiye-zimg img{ vertical-align:middle; border:0; } .neiye-y { float:left; width:440px; height:381px; padding-top:14px; } .neiye-yt { float:left; width:445px; height:56px; border-bottom:dashed 1px #ccc; line-height:56px; font-size:18px; color:#000; overflow:hidden; } .neiye-yk { float:left; width:445px; height:200px; padding-top:15px; line-height:46px; font-size:14px; color:#000; } .neiye-yd { float:left; width:445px; height:70px; } .neiye-yx { float:left; width:445px; height:40px; } .neiyex { float:left; width:@b_w; } .btn-primary{background: @thirdColor;display: block;width: 100px;height: 40px;line-height: 40px;text-align: center; color: #fff; &:hover{color: #fff;} } /********用户理**********/ .vip-user{ background: url('../image/login_bg_2.jpg'); } .div_Title{text-align: center;} .xxsmys { width: 100%; height: 30px; line-height: 30px; background-color: #ececec; } /*---鼠标悬Q昄二维?---*/ //.icon-wap{background: url("../images/icon-wei.jpg")no-repeat;width: 22px;height: 24px;display: block;position: relative;cursor: pointer; // .icon-wei{width: 150px;height:0;position: absolute;top:0px;left: 0;z-index: 1111;background: url("../images/2weima.jpg")no-repeat;background-size: 100%;opacity: 0; filter: alpha(opacity=0);.transition(.4s);} // &:hover{ // .icon-wei{opacity:1; filter: alpha(opacity=100);top:30px;height: 150px;} // } //} 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; } .transition-bar { position: absolute; top: 0; left: 0; width: 0; height: 100%; background: #fff; -webkit-animation:transition-bar .5s ease-in; -o-animation:transition-bar .5s ease-in; animation:transition-bar .5s ease-in; } input[type="submit"],input[type="password"]{-webkit-appearance:none;appearance:none;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:0;} @keyframes transition-bar { 0%{width: 0;left:0;} 50%{width: 100%;left:0;} 100%{width: 0%;left:100%; } } .fk_more{width: 270px;height: 40px;text-align: center;background: #fff;display: block; vertical-align: top;.transition(); span{display: inline-block;letter-spacing:5px;color:#ef4136;font-size: 14px;.transition(); &:after{background:url("../images/icon_jiantou.png")no-repeat 0 7px;width:25px;height:25px;display: inline-block;background-size: 100% 100%;content: ''; } } &:hover{background: #000; span{color: #fff; &:after{background:url("../images/icon_jiantou_h.png")no-repeat 0 7px;width:25px;height:25px;background-size: 100% 100%;} } } } .fabout{margin:.5rem 0;overflow: hidden; .about_left{float: left;width: 34%; h3{color:rgb(216, 13, 13);font-size: 36px;} p{font-weight: bold;margin-bottom: 10px;font-size: 24px;} } .about_right{background-image: none,linear-gradient(0deg, rgba(182, 2, 2, 1) 0.8771929824561403%, rgba(205, 32, 22, 0.9) 100.0%);width: 64%;padding:30px 40px;float: right; h3{color: #fff;margin-bottom: 20px;font-weight: bold;} p{color: #fff;line-height:2} } .about_num{background-image: none,linear-gradient(0deg, rgba(182, 2, 2, 1) 0.8771929824561403%, rgba(205, 32, 22, 0.9) 100.0%);padding: 30px 0 30px;margin: 30px 0 10px; ul{overflow: hidden;; li{width: 25%;float:left;color: #fff;text-align: center; h3{font-size: 50px;margin-bottom: 10px;} p{font-size: 14px;} } } } } @media (max-width:800px) { .fabout{margin: .3rem 0 .2rem; .about_left{width: 100%;margin-bottom: 10px; h3{font-size: 22px;} p{font-size:16px;} } .about_right{width: 100%;padding:5%; .fk_more{margin: 20px auto;width:180px;} } .about_num{padding: 10px 0 10px;margin: 10px 0 10px; ul li{width: 50%;margin-bottom: 20px; h3{font-size: 26px;margin-bottom: 0;} p{font-size: 16px;} } } } } //囄点击攑֤取消和自q冲突样式 #spotlight{ .footer{margin: 0;background: none;} .title{background: none;padding-left: 0;margin: 0;} .header{ div{margin-right:10px;} } } .footer{background: url("../images/footer_bg.jpg")no-repeat center;max-width: 1920px;margin:0 auto;padding: .7rem 0 .4rem;color: #fff;overflow: hidden;background-size: cover; .footer_l{width: 310px;float: left; h3{font-size: 24px;} ul{ li{margin-top:16px;background: url("../images/f_i2.png")no-repeat;padding-left:50px;font-size: 16px; a{font-size: inherit;color: #fff;} } li:nth-of-type(2){background: url("../images/f_i2.png")no-repeat;} li:nth-of-type(3){background: url("../images/f_i3.png")no-repeat;} li:nth-of-type(4){background: url("../images/f_i1.png")no-repeat;} } } .footer_m{float: left;width: e("calc(100% - 550px)");margin-left:100px; ul{ li{width: 25%;float: left; h3{font-size: 20px;margin-bottom:15px;} a{display: block;font-size: 16px;margin-bottom: 10px;} } } } .footer_r{float: right;width: 110px;text-align: center; img{width: 100%;} } } .ffff{background: #b82f46;padding: 24px 0;color: #fff; p{float: right;} } @media (max-width:950px) { .footer .footer_m{display: none;} } @media (max-width:440px) { .footer .footer_l{width: auto; h3{font-size: 18px;} ul li{padding-left:25px;background-size: 18px!important;font-size:14px;margin-top: 10px;} } .footer{padding: .3rem 0; .footer_r{display: none;} } } @media (max-width:950px) { .ffff{padding: 12px 0;font-size: 12px;} } @media (max-width:640px) { .ffff{text-align: center; p{float: none;font-size: 12px;} a{font-size: 12px;} } } /////////////////////////////////////////人才招聘///////////////////////////////// .job{overflow: hidden;} .job_tab_dh{height: 60px;line-height: 60px; li{width: 25%;float: left;background: #000000;text-indent:5%;color: #fff;font-weight: bold;} } .job_tab_nr{border: 1px solid #ccc; li{ .nei_rong{ background: #fff;line-height: 60px;height: 60px;cursor: pointer; p{width: 25%;float: left;text-indent: 5%;.slh; i{float: right;margin-right: 30px;} } } section{text-indent: 5%;padding-top: 2%;display: none;background: #e9e9e9;} } li+li{border-top:1px solid #ccc;} } @media (max-width:840px) { .job_tab_dh li{text-indent: 1em;} .job_tab_nr li .nei_rong p{text-indent: 1em;} } @media (max-width:600px) { .job_tab_dh li{width: 33.3%;} .job_tab_dh li:nth-of-type(3){display: none;} .job_tab_nr li .nei_rong p:nth-of-type(3){display: none;} .job_tab_nr li .nei_rong p{width: 33.3%;} .job_tab_nr li .nei_rong,.job_tab_dh{height: 40px;line-height: 40px;} } .job_contact{background: #ffffff;margin-bottom: 20px;overflow: hidden;;padding: 20px 50px;box-sizing: border-box;; li{width:33.3%;float: left;box-sizing: border-box;;padding-left:10%; section{margin: 0 auto; p{line-height: 1.75;} i{display: block;background: url("../images/j1.png")no-repeat;width: 50px;height: 50px;margin-right: 10px;float: left;} } } li:nth-of-type(2) section i{background: url("../images/j2.png")} li:nth-of-type(3) section i{background: url("../images/j3.png")} } @media (max-width:1050px) { .job_contact{ li{width: 33.3%;margin-bottom: 20px; section{width:200px;} } } } @media (max-width:680px) { .job_contact{padding: 10px; li{width: 50%; section{ i{width: 25px;height: 25px;background-size: 100%!important;margin-top: 10px;} p{line-height: 1.7;} } } li:last-child{margin-bottom: 0;} } } .btn-0 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-0:before { background:@mainColor;content: '';.transition(all .6s);position: absolute;top: 0;left: 0;width: 0;height: 100%;z-index: -1;} .btn-0:hover:before {width: 100%;} .btn-1 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-1:before {.transition(all .6s);content: '';width: 0;height: 0;.rotate(360deg);border-style: solid;border-width: 0 0 0 0;border-color:@mainColor transparent transparent transparent;position: absolute;top: 0;left: 0;z-index: -1;} .btn-1:hover:before {border-width: 330px 330px 0 0;} .btn-2 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-2:before {content: '';position: absolute;bottom: 0;left: 0; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;border-color: transparent transparent transparent @mainColor;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-2:after {border-style: solid;content: '';width: 0;height: 0;border-width: 0 0 0 0;border-color: transparent @mainColor transparent transparent;position: absolute;right: 0;top: 0;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-2:hover:before {border-width: 165px 0 0 165px;} .btn-2:hover:after {border-width: 0 165px 165px 0;} .btn-3 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-3:before {content: '';position: absolute;bottom: 0;left: 0; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;border-color: transparent transparent transparent @mainColor;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-3:after {border-style: solid;content: '';width: 0;height: 0;border-width: 0 0 0 0;border-color: transparent transparent @mainColor transparent;position: absolute;right: 0;bottom: 0;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-3:hover:before {border-width: 222px 0 0 222px;} .btn-3:hover:after {border-width: 0 0 222px 222px;} .btn-4 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-4:before, .btn-4:after {position: absolute;top: 50%;content: '';width: 20px;height: 20px;background: @mainColor;.border-radius(50%);z-index: -1;} .btn-4:before {left: -20px;-webkit-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);-o-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);transform: translate(-50%, -50%); } .btn-4:after {right: -20px;-webkit-transform: translate(50%, -50%);-moz-transform: translate(50%, -50%);-mz-transform: translate(50%, -50%);-o-transform: translate(50%, -50%);transform: translate(50%, -50%);} .btn-4:hover:before {-webkit-animation: criss-cross-left 0.8s both;-moz-animation: criss-cross-left 0.8s both;-o-animation: criss-cross-left 0.8s both;-ms-animation: criss-cross-left 0.8s both;animation: criss-cross-left 0.8s both;} .btn-4:hover:after {-webkit-animation: criss-cross-right 0.8s both;-moz-animation: criss-cross-right 0.8s both;-ms-animation: criss-cross-right 0.8s both;-o-animation: criss-cross-right 0.8s both;animation: criss-cross-right 0.8s both;} @-webkit-keyframes criss-cross-left { 0% {left: -20px;} 50% {left: 50%;width: 20px;height: 20px;} 100% {left: 50%;width: 375px;height: 375px;} } @keyframes criss-cross-left { 0% {left: -20px;} 50% {left: 50%;width: 20px;height: 20px;} 100% {left: 50%;width: 375px;height: 375px;} } @-webkit-keyframes criss-cross-right { 0% {right: -20px;} 50% {right: 50%;width: 20px;height: 20px;} 100% {right: 50%;width: 375px;height: 375px;} } @keyframes criss-cross-right { 0% {right: -20px;} 50% {right: 50%;width: 20px;height: 20px;} 100% {right: 50%;width: 375px;height: 375px;} } .btn-5 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-5:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;right: 0;border-color: transparent @mainColor transparent transparent;} .btn-5:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;bottom: 0;left: 0;border-color: transparent transparent transparent @mainColor;} .btn-5:hover:before, .btn-5:hover:after {border-width:80px 433px;} .btn-6 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-6:before, .btn-6:after {content: '';position: absolute;top: 0;left: 0;width: 250px;height: 0;background:@mainColor;.transition(all .6s);z-index: -1;} .btn-6:after {top: auto;bottom: 0;} .btn-6:hover:before, .btn-6:hover:after {height: 40px;} .btn-7{position:relative;transform-style:preserve-3d;transition:0.4s;} .btn-7:hover{transform:translateZ(20px) rotateX(360deg) scale(1.1);} .btn-8{position:relative;transform-style:preserve-3d;transition:0.4s;} .btn-8:hover{transform:rotateY(360deg) scale(1.1);} .btn-9{position: relative;z-index: 1; &::after{position: absolute; content: "";width: 100%;height: 100%;left: 0;top: 0;background: @mainColor;transition: transform .4s cubic-bezier(.4,0,.2,1);transform-origin:right bottom;transform: scaleX(0);z-index: -1;} } .btn-9:hover::after{transform: scaleX(1); transform-origin: left bottom;} .btn-9-1{position: relative;z-index: 1; &::after{position: absolute; content: "";width: 100%;height: 100%;left: 0;top: 0;background: @mainColor;transition: transform .4s cubic-bezier(.4,0,.2,1);transform-origin:left bottom;transform: scaleY(0);z-index: -1;} } .btn-9-1:hover::after{transform: scaleY(1); transform-origin: right top;} .btn-10{position: relative;} .btn-10::before{content: ""; display: block; width: 100%; height: 100%; background:@mainColor; position: absolute; left: 0; top: 0; z-index: 3; transform: translateY(-100%);animation: 1.4s ease;animation-fill-mode: both; backface-visibility: visible !important;animation-name: fadedown;} .animate-delay-1::before{animation-delay:.8s;} @keyframes fadedown { from { transform: translateY(-100%); } 60% { transform: translateY(0); } to { transform: translateY(100%);} } //btn-span-1标签 .btn-span-1 {position: relative;overflow: hidden;.transition(all .6s);display: block;width: 100%;height: 100%;z-index: 1;} .btn-span-1:before {content: '';position: absolute;bottom: 0;left: 0; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;border-color: transparent transparent transparent @mainColor;.rotate(360deg); .transition(all .6s);z-index: -1;} .btn-span-1:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;right: 0;border-color: transparent @mainColor transparent transparent;} .btn-span-1 span:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;bottom: 0;right: 0;border-color: transparent transparent @mainColor transparent;} .btn-span-1 span:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;left: 0;border-color: @mainColor transparent transparent transparent;} .btn-span-1:hover:before {border-width: 165px 0 0 165px;} .btn-span-1:hover:after {border-width: 0 165px 165px 0;} .btn-span-1:hover span:before {border-width: 0 0 165px 165px;} .btn-span-1:hover span:after {border-width: 165px 165px 0 0;} //btn-span-2标签 .btn-span-2{position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-2:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;right: 0;border-color: transparent @mainColor transparent transparent;} .btn-span-2:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;bottom: 0;left: 0;border-color: transparent transparent transparent @mainColor;} .btn-span-2:before, .btn-span-2:after {border-color:@mainColor;} .btn-span-2span:after {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;top: 0;left: 0;border-color: @mainColor transparent transparent transparent;} .btn-span-2span:before {content: '';position: absolute; width: 0;height: 0; border-style: solid;border-width: 0 0 0 0;.rotate(360deg); .transition(all .6s);z-index: -1;right: 0;bottom: 0;border-color: transparent transparent @mainColor transparent;} .btn-span-2span:before, .btn-span-2span:after {border-color: @mainColor;} .btn-span-2:hover:before {border-width: 30px 62.5px;} .btn-span-2:hover:after {border-width: 30px 62.5px;} .btn-span-2:hover span:before {border-width: 20px 62.5px;} .btn-span-2:hover span:after {border-width: 20px 62.5px;} //btn-span-3标签 .btn-span-3 {position: relative;overflow: hidden;.transition(all .6s);display: block;;z-index: 1;} .btn-span-3 span:after {content: ''; position: absolute;display: block;width: 0;height: 0;.border-radius(50%);background: @mainColor;z-index: -1; -webkit-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);-o-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);transform: translate(-50%, -50%);-webkit-transition:width 0.4s, height 0.4s;-moz-transition:width 0.4s, height 0.4s;-ms-transition:width 0.4s, height 0.4s;-o-transition:width 0.4s, height 0.4s;transition:width 0.4s, height 0.4s;} .btn-span-3:hover span:after {width: 562.5px;height: 562.5px;} //btn-span-4标签 .btn-span-4 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-4:before, .btn-span-4:after,.btn-span-4 span:before,.btn-span-4 span:after {content: '';position: absolute;top: 0;width: 63.5px;height: 0;background: @mainColor;.transition(all .6s);z-index: -1;} .btn-span-4:before {left: 0;} .btn-span-4:after {left: 125px;} .btn-span-4 span:before, .btn-span-4 span:after {top: auto;bottom: 0;} .btn-span-4 span:before {left: 62.5px;} .btn-span-4 span:after {left: 187.5px;} .btn-span-4:hover {color: #c0d3c1;} .btn-span-4:hover:before, .btn-span-4:hover:after,.btn-span-4:hover span:before,.btn-span-4:hover span:after {height: 80px;} //btn-span-5标签 .btn-span-5 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-5:before, .btn-span-5:after,.btn-span-5 span:before,.btn-span-5 span:after {content: '';position: absolute;left: 0;top: 0;width: 100%;height: 0;background:fade(@mainColor,50%);.transition(all .6s);z-index: -1;} .btn-span-5:after,.btn-span-5 span:before {top: auto;bottom: 0;} .btn-span-5 span:before,.btn-span-5 span:after { -webkit-transition-delay: 0.4s;-moz-transition-delay: 0.4s;-ms-transition-delay: 0.4s;-o-transition-delay: 0.4s;transition-delay: 0.4s;z-index: -1;} .btn-span-5:hover:before, .btn-span-5:hover:after,.btn-span-5:hover span:before,.btn-span-5:hover span:after {height: 80px;} //btn-span-6标签 .btn-span-6 {position: relative;overflow: hidden;.transition(all .6s);display: block;z-index: 1;} .btn-span-6:before, .btn-span-6:after,.btn-span-6 span:before,.btn-span-6 span:after {content: '';position: absolute;top: 0;left: 0;width: 0;height: 80px;background: fade(@mainColor,25%);.transition(.4s);z-index: -1;} .btn-span-6:after,.btn-span-6 span:before {left: auto;right: 0;} .btn-span-6 span:before,.btn-span-6 span:after {-webkit-transition-delay: 0.4s; -ms-transition-delay: 0.4s;-o-transition-delay: 0.4s;-moz-transition-delay: 0.4s;transition-delay: 0.4s;} .btn-span-6:hover:before, .btn-span-6:hover:after,.btn-span-6:hover span:before,.btn-span-6:hover span:after {width: 250px;} //btn-span-7标签 .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标签 .btn-span-7-2 {.transition(.5s);position: relative;overflow: hidden;display: block;} .btn-span-7-2 span {.transition(.3s);} .btn-span-7-2:hover{background-color:@mainColor;} .btn-span-7-2:hover > span{opacity: 0;filter: alpha(opacity=0);-webkit-transform: translate(0px,40px); transform: translate(0px,40px);} .btn-span-7-2::after{position: absolute;content: attr(data-text);-webkit-transform: translate(-30%, -50%) rotate(-30deg); transform: translate(-30%, -50%) rotate(-30deg); width: 100%;height: 100%;top: 0;left: 0;opacity: 0;filter: alpha(opacity=0);.transition(.3s); } .btn-span-7-2:hover::after{-webkit-transform: translate(0, 0);opacity: 1;filter: alpha(opacity=100);transform: translate(0, 0);} //btn-span-8标签 @keyframes jello { from, 11.1%, to {-webkit-transform: none;transform: none;} 22.2% {-webkit-transform: skewX(-12.5deg) skewY(-12.5deg);transform: skewX(-12.5deg) skewY(-12.5deg);} 33.3% {-webkit-transform: skewX(6.25deg) skewY(6.25deg);transform: skewX(6.25deg) skewY(6.25deg);} 44.4% {-webkit-transform: skewX(-3.125deg) skewY(-3.125deg);transform: skewX(-3.125deg) skewY(-3.125deg);} 55.5% {-webkit-transform: skewX(1.5625deg) skewY(1.5625deg);transform: skewX(1.5625deg) skewY(1.5625deg);} 66.6% {-webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);transform: skewX(-0.78125deg) skewY(-0.78125deg);} 77.7% {-webkit-transform: skewX(0.390625deg) skewY(0.390625deg);transform: skewX(0.390625deg) skewY(0.390625deg);} 88.8% {-webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);transform: skewX(-0.1953125deg) skewY(-0.1953125deg);} } .btn-span-8{.transition(.5s);position: relative;display: block;} .btn-span-8:hover{background-color:fade(@mainColor,20%); -webkit-animation-name: jello;animation-name: jello;-webkit-animation-duration: 1s;animation-duration: 1s;-webkit-animation-fill-mode: both;animation-fill-mode: both;} //btn-span-9标签 .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标签 .btn-span-9-1{.transition(.5s);position: relative;display: block;width: 100%;height: 100%;} .btn-span-9-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-9-1::before{content: '';position: absolute;top: 0;left: 0;-webkit-transform: scale(1,0.5);transform: scale(1,0.5);width: 100%; height: 100%; z-index: 1; opacity: 0;filter: alpha(opacity=0); background-color: @mainColor;.transition(.4s);} .btn-span-9-1:hover::before{ opacity: 1;filter: alpha(opacity=100); -webkit-transform: scale(1, 1); transform: scale(1, 1);} //btn-span-10标签 .btn-span-10{.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-10 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-10::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; opacity: 0;filter: alpha(opacity=0); background-color: @mainColor;.transition(.4s);} .btn-span-10:hover::before{transform: skewX(-180deg) scale(0.6,1);opacity: 1;filter: alpha(opacity=100);-webkit-transform: skewX(-180deg) scale(0.6,1);} //btn-span-11标签 .btn-span-11{.transition(.5s);position: relative;} .btn-span-11 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-11::before{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background:@mainColor;.transition(.4s); } .btn-span-11::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1;.transition(.5s); background:@mainColor;} .btn-span-11:hover::before{.rotate(-45deg);background-color: fade(@mainColor,50%);} .btn-span-11:hover::after{.rotate(45deg);background-color:fade(@mainColor,50%);} //btn-span-12标签 .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标签 .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标签 .btn-span-14-1{.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-14-1 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-1::before, .btn-span-14-1::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(-100%,0);transform: translate(-100%,0);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-1::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-1:hover::before, .btn-span-14-1:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-2标签 .btn-span-14-2 {.transition(.5s);position: relative;display: block;overflow: hidden;} .btn-span-14-2 span{z-index: 2;display: block;position: absolute;width: 100%;height: 100%;} .btn-span-14-2::before, .btn-span-14-2::after{content: '';position: absolute;top: 0;left:0;width: 100%; height: 100%; z-index: 1; background: fade(@mainColor,25%);;.transition(.3s);-webkit-transform: translate(-13%,-190%) rotate(-30deg);transform: translate(-13%,-190%) rotate(-30deg);-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-14-2::after{-webkit-transition-delay: 0.2s; /* Safari */transition-delay: 0.2s;} .btn-span-14-2:hover::before, .btn-span-14-2:hover::after{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-14-3标签 .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标签 .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标签 .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标签 .btn-span-16 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;border: 1px solid @mainColor;} .btn-span-16:hover{border: 1px solid rgba(255,255,255,0);} .btn-span-16::before{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 1px;z-index: 1;.transition(.5s); -webkit-transform: translate(-100%, -600%) rotate(30deg);transform: translate(-100%, -600%) rotate(30deg);background-color: @mainColor;transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);} .btn-span-16:hover::before{-webkit-transform: translate(0,0);transform: translate(0,0);} //btn-span-17标签 .btn-span-17 {.transition(.3s);position: relative;display: block;overflow: hidden;} .btn-span-17 span{position: relative;.transition(.3s);z-index:2;letter-spacing:0;} .btn-span-17::before{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 100%;z-index: 1;opacity: 0;filter: alpha(opacity=0);.transition(.3s);border-top-width: 1px;border-bottom-width: 1px;border-top-style: solid;border-bottom-style: solid;border-top-color: rgba(255,255,255,0.5);border-bottom-color: rgba(255,255,255,0.5);-webkit-transform: scale(0.1, 1);transform: scale(0.1, 1);} .btn-span-17:hover span{letter-spacing: 2px;} .btn-span-17:hover::before{filter: alpha(opacity=100);opacity: 1;-webkit-transform: scale(1, 1);transform: scale(1, 1);} .btn-span-17::after{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 100%;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.25);} .btn-span-17:hover::after{opacity: 0;filter: alpha(opacity=0);-webkit-transform: scale(0.1, 1);transform: scale(0.1, 1);} //btn-span-18标签 translate Y轴高度取决于a标签的一半高? .btn-span-18 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;border-right-width: 1px;border-left-width: 1px;border-right-style: solid;border-left-style: solid;border-right-color: rgba(255,255,255,0.5);border-left-color: rgba(255,255,255,0.5);} .btn-span-18 span{.transition(.3s);letter-spacing:0;} .btn-span-18:hover span{letter-spacing: 2px;} .btn-span-18:hover{ border-right-color: rgba(255,255,255,0);border-left-color: rgba(255,255,255,0);} .btn-span-18::before{content: '';position: absolute;bottom: 0;left: 0;width: 100%;height: 1px;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-18:hover::before{transform: translate(0,-45px) rotate(-45deg);} .btn-span-18::after{content: '';position: absolute;top: 0;left: 0;width: 100%;height: 1px;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-18:hover::after{transform: translate(0,45px) rotate(45deg);} //btn-span-19标签 .btn-span-19 {.transition(.3s);position: relative;display: block;width: 100%;height: 100%;overflow: hidden;border-top-width: 1px;border-bottom-width: 1px;border-top-style: solid;border-bottom-style: solid;border-top-color: rgba(255,255,255,0.5);border-bottom-color: rgba(255,255,255,0.5);} .btn-span-19 span{.transition(.3s);letter-spacing:0;} .btn-span-19:hover span{letter-spacing: 2px;} .btn-span-19:hover{border-top-color: rgba(255,255,255,0);border-bottom-color: rgba(255,255,255,0);} .btn-span-19::before{content: '';position: absolute;top: 0;right: 0;width: 1px;height: 100%;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-19:hover::before{-webkit-transform: translate(-94.9845px,0) rotate(270deg);-moz-transform: translate(-94.9845px,0) rotate(270deg);transform: translate(-94.9845px,0) rotate(270deg);} .btn-span-19::after{content: '';position: absolute;top: 0;left: 0;width: 1px;height: 100%;z-index: 1;.transition(.3s);background-color: rgba(255,255,255,0.5);} .btn-span-19:hover::after{-webkit-transform: translate(94.9845px,0) rotate(180deg);-moz-transform: translate(94.9845px,0) rotate(180deg);transform: translate(94.9845px,0) rotate(180deg);} //btn-span-20标签 文字上ȝ效果 .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);} } }