.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);} @back_nav:url('../images/nav_bg.jpg') no-repeat;/*导航背景*/ @back_nav_li_ah:url('../images/nav_a_bg.jpg') no-repeat top center;/*鼠标移上去背?/ @back_s_li:url('../images/x_bg.png') no-repeat;/*左侧栏li背景*/ @mainColor:#003366;/*主色*/ @hoverColor:#1a8fdf;/*悬浮变色*/ @thirdColor:#336699;/*第三个颜?/ @qt5:#fff;/*悬浮背景变色后字体颜?/ @qt6:#c5a46e;/*按钮悬浮颜色 */ @height_nav:67px; /*导航条高?/ @nav_li_w:16.6%; /*导航条宽?/ @nav_li_color:#000; /*导航条文字颜?/ @nav_li_a:#003366; /*导航条文字颜?/ .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;padding:12px 0;.transition();z-index: 222;position: fixed;width: 100%;height: 67px;box-sizing: content-box;top: 0; .top { .logo { float: left;display: block;} .top_tel_num{float: right; h5{text-align: right;margin-right:10px;margin-bottom:3px; &:hover{color: @mainColor} } p{background: url("../images/icon1.png")no-repeat left center;padding-left: 50px;height: 43px;font-size: 16px;} } } //底部滑块 .header-zz{position: absolute;bottom:0px;left:0;background: url("../images/nav_a_bg.jpg")center bottom no-repeat;width: @nav_li_w;height: @height_nav;.transition();} .nav{background-position:0 0px;height:@height_nav;margin-bottom: 0px; .lon{ a{color: @nav_li_a;} } .nav_h_color:after{background: url("../images/icon14_h.png")no-repeat!important;background-size:100% 100%!important;} .dropdown{position: relative; .left;height: @height_nav; text-align: center;width: @nav_li_w;z-index: 1; a{ color:@nav_li_color; font-size:18px; height:@height_nav; line-height: @height_nav; margin: 0px auto; text-decoration: none;.transition(.3s);position: relative;; } ul.dropdown-menu{padding-top: 12px;overflow: hidden;;background: rgba(255,255,255,1);display: none; li{z-index: 100;width:100%;height:50px;float:none;border-bottom: 1px solid #ccc; a{font-size: 16px;line-height:50px;color: #000!important;background: none!important;height:40px; &:hover{color: @nav_li_a!important;} } } } } #Product6 ul.dropdown-menu{width: 230%;} } } .logo_s{padding: 3px 0;box-shadow: 0 0 4px 5px rgba(0,0,0,.1); .nav .dropdown ul.dropdown-menu{padding-top:3px;} .header-zz{bottom: -3px;} } .header_nav{ width: 40%;float: right;margin-right:2%;position: relative; h5{text-align: right;font-size: 14px;margin-right: 20px;margin-top: -10px;} } //手机导航样式////////////////////////////////////// #mobile{display: none; .top{position: fixed;left: 0;top: 0;width: 100%;height:.8rem;background: #fff;box-shadow: 0 0 4px 5px rgba(0,0,0,.1);padding:.1rem;z-index: 33; .btn{background:url("../images/icon_menu.png")no-repeat;width: 44px;height: 22px;float: right;margin-top: .1rem;} .logo{ img{height: .6rem;} } } .mobile_list{background: fade(@mainColor,90%);position: fixed;left: 0;right: 0;bottom: 0;top: 0;z-index: 34;box-sizing: border-box;padding: 0 0 1rem;display: none;height: 100%; .mobile_list_t{text-align: center;padding: .1rem;overflow: hidden;; .btn1{background:url("../images/close.png")no-repeat;width:25px;height:25px;float: right;margin-top: .1rem;background-size: 100%;margin-right: .2rem;} img{height: .6rem;float: left;} } .mobile_list_kh{display: flex;align-content: center;flex-wrap: wrap;height: 80%; ul{width: 100%; li{color: #fff;font-size: 36px; text-align: center;line-height: 2;font-weight: lighter;} } .m-info{position: absolute;bottom:.2rem;text-align: center;width: 100%; a{color: #fff;} } } } } @media (max-width: 1600px) { .header_nav{} .container_w90{width: 96%;} } @media (max-width: 1200px) { .header .top .top_tel_num{display: none;} } @media (max-width: 1024px) { .header{display: none;} #mobile{display: block;} } .com_dh{ h3{font-size: 36px; strong{color:#737373;font-size: 24px;} } p{color:#737373;font-size:16px;margin: .1rem 0 .7rem;} a{background: #fff ;width: 120px;height: 35px;border: 1px solid #cccccc;line-height: 35px;display: block;float: right; span{background: url(../images/icon3.png)no-repeat 18px center ;display: block;padding-left: 44px;height: 33px;.transition();} &:hover{ span{background: url(../images/icon3_h.png)no-repeat 18px center ;color: #fff;} } } } @media (max-width: 1024px) { .com_dh{ h3{font-size: 24px; strong{font-size: 18px;} } } } @media (max-width: 700px) { .com_dh{ h3{font-size: 20px; strong{font-size: 16px;} } p{font-size: 14px;} } } .index1{padding: .8rem 1rem;overflow:hidden;height:750px; .index1_nr{ .slick-list{overflow: visible;} .li1{width:20%;float: left;box-sizing: border-box;position: relative;cursor: pointer; .li_nr{.transition();width: 100%;height:465px;border: 1px solid #fff; } header{background:@thirdColor;text-align: center;padding:20px 0;.transition(); img{margin: 0 auto;} h3{font-size: 30px;font-weight: bold;color: #fff;} } section{background: #eeeeee;padding:.4rem .3rem .2rem; p{height: 172px;display: none;margin: 0 10px;} li{margin-bottom:40px;;text-align: center;font-size: 18px;} .li_4{ li{margin-bottom:23px;} } } } .slick-active{display: block;} .li1:hover{z-index: 2; .li_nr{width: 150%;margin-left:-25%;height:554px;transform: translateY(-20px);box-shadow:0 0 0 rgba(255,255,255,.2); header{background: url("../images/bg2.jpg")no-repeat top center;padding: .4rem 0;} section{ p{display: block;font-size: 18px;line-height: 2;} ul{display: flex;justify-content:space-between; li{width: 30%;float: left;background: @mainColor;color: #fff;text-align: center;height:35px;line-height: 35px; font-size: 16px;} } } } } } } @media (max-width:1600px) { .index1{padding: .8rem .5rem; .index1_nr{ .li1{visibility: hidden!important; &:hover{ .li_nr{width: 130%;margin-left:-15%} } } .slick-active{visibility: visible!important;} } } } @media (max-width:1200px) { .index1{height:11rem;; .index1_nr .li1 header h3{font-size: 24px;} } .index1 .index1_nr .li1:hover .li_nr section ul li{width: 33%;font-size: 14px;} .index1 .index1_nr .li1:hover .li_nr section p{font-size: 16px;} } @media (max-width:700px) { .index1{padding: 0.4rem 0.2rem;height: 10rem; .index1_nr{ .li1{visibility: visible!important; &:hover{ .li_nr{width: 120%;margin-left:-10%} } } } } } .index2{background: #eeeeee;padding: 1.4rem 0 .15rem;overflow: hidden;; .index2_left{width: 20%;float: left; ul{ li{margin-bottom: 13px;background: @thirdColor url("../images/icon_y6.png")no-repeat 13% center;height: 110px;color: #fff;font-size: 18px;line-height: 110px;padding-left: 30%;cursor: pointer; &:hover{background-color: @mainColor!important;} } li:nth-of-type(2){background: @thirdColor url("../images/icon_y7.png")no-repeat 13% center;} li:nth-of-type(3){background: @thirdColor url("../images/icon_y8.png")no-repeat 13% center;} li:nth-of-type(4){background: @thirdColor url("../images/icon_y9.png")no-repeat 13% center;} .cur{background-color: @mainColor!important; } } } .index2_right{position: relative;width: 79%;float: right; section{display: none;} .on{display: block;} .index2_right_img{width:60.5%;position: absolute;left: 0;top: 0;height:479px; img{width: 100%;height: 100%;} } .index2_right_txt{width:76%;float: right;background: @mainColor;margin-top: 40px;height: 480px;box-sizing: border-box;padding-left:41%;padding-top: 50px; li{color: #fff;margin-bottom: 50px; h3{font-size: 24px;background: url("../images/bg3.jpg")no-repeat bottom left;margin-bottom: 15px;} p{background: url("../images/icon2.png")left 13px no-repeat;font-size: 16px;line-height: 2;padding-left: 10px;} } } } } .index2_case{background: #fff;padding: .6rem .45rem;margin: .6rem 0; .com_dh{border-bottom: 1px solid #cccccc; p{margin-bottom: .4rem;} } ul{display: flex;flex-wrap: wrap; li{width:20%;height:200px; box-sizing: border-box;padding: 0 4%; display: flex;align-items: center;justify-content:center; img{max-width: 100%;max-height: 100%;} } } } @media (max-width:1400px) { .index2 .index2_right .index2_right_img{height: 400px} .index2 .index2_right .index2_right_txt{height: 410px; li{ p{padding-right: 20px;} } } .index2 .index2_left ul li{height: 90px;line-height:90px;} .index2 .index2_left ul li{background-size:25px!important;} } @media (max-width:1024px) { .index2 .index2_right .index2_right_txt li h3{font-size: 20px;} .index2{padding: .8rem 0 .15rem; .index2_left{width: 100%;margin-bottom: .1rem; ul li{width: 23%;margin: 0 1%;float: left;box-sizing: border-box;padding-left: 7%;} } } .index2 .index2_right{width: 100%; .index2_right_txt li p{font-size: 14px;} } .index2_case ul li{height: 150px;} } @media (max-width:800px) { .index2 .index2_left ul li{height: 50px;line-height: 50px;font-size: 14px;width: 25%;margin:0 auto;border-right: 1px solid #fff;background-size: 15px!important;padding-left:30px;background-position-x: 3%!important;} .index2 .index2_right{ .index2_right_img{height: 400px;width: 100%;} .index2_right_txt{width: 100%;padding:2%;margin-top: 400px;height: 360px;} } .index2_case ul li{padding: 0 1%;} } @media (max-width:600px) { .index2 .index2_right{ .index2_right_txt li h3{font-size:18px;} .index2_right_img{height: 300px;} .index2_right_txt{margin-top: 300px;} } .index2_case ul{ li{width: 33.3%;padding: 0 2%;} li:last-child{display: none;} } } @media (max-width:450px) { .index2 .index2_right{ .index2_right_img{height: 200px;} .index2_right_txt{margin-top:200px;} } .index2 .index2_left ul li{background-image: none!important;padding: 0;text-align: center;height: 40px;line-height: 40px;font-size: 12px;} } .index3{;height: 955px;overflow: hidden; position: relative;background:#000;z-index: -2; .index3_parallax{background:url("../images/about_bg.jpg")no-repeat bottom center;position: relative;height: 100%;margin-top:-30%;z-index:-1;} .index3_nr{position: absolute;top: 10%;width: 100%;height: 90%;} .com_dh{color: #fff;text-align: center; h3{ strong{color: #fff;} } p{color: #fff;} } .index3_txt{width: 80%;margin: 1rem auto; article{min-height: 350px;} p{color: #fff;font-size: 16px;line-height: 2;text-align: center;} a{background: #fff ;width: 120px;height: 35px;border: 1px solid #cccccc;line-height: 35px;display: block;margin: 0 auto; span{background: url(../images/icon3.png)no-repeat 18px center ;display: block;padding-left: 44px;height: 33px;.transition();} &:hover{ span{background: url(../images/icon3_h.png)no-repeat 18px center ;color: #fff;} } } } .index3_bottom{position: absolute;;bottom: 0;left: 0;right: 0;margin: auto;width:1600px; ul{padding: .46rem 0;background: #fff;display: flex;justify-content:space-between;transform: rotateX(100deg);transform-origin: bottom center; li{width: 33.3%;height: 130px;padding-left: 115px;box-sizing: border-box;border-right: 1px solid #c6c6c6;font-size: 24px;line-height: 130px; span{color: @mainColor;font-size: 36px;background: url("../images/icon6.png")no-repeat;width: 111px;height: 130px;text-align: center;line-height: 130px;display: inline-block;margin-right: 10px;} i{color: @mainColor;font-size: 36px;} } } } } @media (max-width:1600px) { .index3 .index3_bottom{width: 100%; ul{ li{padding-left: 40px;} } } } @media (max-width:1400px) { .index3 .index3_parallax{margin-top: -40%;} } @media (max-width:1200px) { .index3 .index3_bottom ul li{ span{width: 60px;height: 70px;line-height: 70px;font-size: 24px;background-size: 100%;} i{font-size: 24px;} } } @media (max-width:1024px) { .index3{height: 800px;} .index3 .index3_bottom ul li{font-size: 18px;border-right: none;line-height: 45px;text-align: center; span{display: block;margin: 0 auto;} } } @media (max-width:800px) { .index3{height: 800px; .index3_parallax{margin-top: -50%;} .index3_txt{width: 90%;margin:0 auto; article{height: auto;} } } .index3 .index3_bottom ul{justify-content:space-around; li{padding-left: 10px;width: auto;font-size: 12px; span{width: 70px;height: 90px;line-height: 90px;} } } .index3 .index3_txt a{margin: .2rem auto;} .index3 .index3_bottom{position: static;margin-top: .2rem;} } @media (max-width:600px) { .index3{height: 750px; .index3_nr{top: 5%;height: 95%;} .index3_parallax{margin-top: -90%;} .index3_txt{ article{ p{font-size: 14px;} } } } } .index4{background: url("../images/bg4.jpg")top center no-repeat;max-width: 1920px;height: 216px;text-align: center;padding: .6rem 0; img{margin-bottom: .2rem;} p{color: #fff;font-size: 22px;display:inline-block;line-height: 1; a{background: url("../images/icon8.png")no-repeat;padding-left: 35px;background-size: auto 100%;} } } @media (max-width:1200px) { .index4{height: 150px;} } @media (max-width:800px) { .index4{ img{width: 90%;} p{font-size: 18px; a{display: block;margin-bottom: 1px;} } } } .index5 {background: url("../images/bg5.jpg")no-repeat top center;max-width: 1920px;margin:1px auto 0;height: 908px;overflow: hidden;;position: relative; .index5_container {max-width: 1032px;margin: -19px auto 0;height: 908px;} ul{ li{ article{position: absolute;top: 31.5%;left: 50%;margin-left: -46%; i{display: block;background: url("../images/icon9.png")no-repeat;width: 55px;height: 63px;margin-bottom: 9px;} p{color: #fff;font-size: 16px;width: 245px;} } article:nth-of-type(2){top:55.6%; i{background: url("../images/icon10.png")no-repeat;} } article:nth-of-type(3){margin-left:23%; i{background: url("../images/icon11.png")no-repeat;float: right;} p{text-align: right;} } article:nth-of-type(4){margin-left:23%;top:55.6%; i{background: url("../images/icon12.png")no-repeat;float: right;} p{text-align: right;} } section{position: absolute;;left: 0;right: 0;bottom: 0;top: 0; margin: auto;width: 700px;height:270px;text-align: center; h2{font-size: 36px;text-align: center;font-weight: bold;color: #fff;} i{background: url("../images/icon15.png");width: 49px;height: 7px;display: block;margin: 30px auto 45px;} p{color: #fff;font-size: 24px;line-height: 2;width: 510px;margin: 0 auto;} } } } } @media (max-width:1400px) { .index5{height: 700px; .index5_container{max-width: 1024px;margin: -113px auto 0;} ul li{text-align: center; section p{font-size: 18px;} img{width:90%;} article{top: 28.6%;margin-left: -42%;} article:nth-of-type(2){top: 52.6%;} article:nth-of-type(3){margin-left: 18%;} article:nth-of-type(4){margin-left: 18%;top: 52.5%;} } p{font-size: 18px; a{display: block;margin-bottom: 1px;} } } } @media (max-width:1000px) { .index5{display: none;} } .index6{background: url("../images/bg6.jpg")no-repeat top center;max-width: 1920px;padding: .55rem 0; .com_dh{margin-bottom:.4rem;} .index6_nr{position: relative;; .index6_nr_line{position: absolute;top: 105px;background: @mainColor;height: 1px;width: 100%;} ul{display: flex; li{width: 12.5%;box-sizing: border-box;padding: 0 2%; span{width: 80px;height: 80px;display: block;margin: 0 auto 20px;background: url("../images/icon21.png")no-repeat left center; .transition();} i{background: url("../images/icon29.png")no-repeat;width: 11px;height: 11px;display: block;margin: 20px auto;} h3{color: @mainColor;font-size: 18px;text-align: center;font-weight: 600;margin-bottom: 10px;} p{font-size: 14px;line-height: 1.8;text-align: justify;color: #737373; } } li:hover{ span{background-position-x: 100%!important;} } li:nth-of-type(1) i{background: url("../images/icon41.png")no-repeat;} li:nth-of-type(2) span{background: url("../images/icon22.png")no-repeat left center;} li:nth-of-type(3) span{background: url("../images/icon23.png")no-repeat left center;} li:nth-of-type(4) span{background: url("../images/icon24.png")no-repeat left center;} li:nth-of-type(5) span{background: url("../images/icon25.png")no-repeat left center;} li:nth-of-type(6) span{background: url("../images/icon26.png")no-repeat left center;} li:nth-of-type(7) span{background: url("../images/icon27.png")no-repeat left center;} li:nth-of-type(8){ span{background: url("../images/icon28.png")no-repeat left center;} i{background: url("../images/icon42.png")no-repeat;width: 15px;} } } } } @media (max-width:1000px) { .index6{display: none;} } .index7{margin:.5rem 0; .com_dh{border-bottom: 1px solid #cccccc;margin-bottom: .5rem; p{margin-bottom: .4rem;} } .index_news1{background: #eeeeee;width: 31%;float: left;height: 600px;overflow: hidden;.transition();position: relative;; a{padding: 70px 30px 0;display: block;; h3{font-size: 20px;.slh();} span{color: #919191;font-size: 12px;margin: 10px 0 20px;display: block;} p{font-size: 14px;line-height: 1.8;height: 101px;overflow: hidden;margin-bottom: 44px;text-align: justify} } .img{position: absolute;left: 0;bottom: 0; img{width: 100%;height: 100%;} } &:hover{background: @mainColor;color: #fff;} } .index_news2{width:69%;float: right; ul{ li{width: 47%;float: left;margin-left: 3%;height: 180px;margin-bottom: 30px;box-sizing: border-box;;padding: 15px 26px;background:#eeeeee;.transition(); h3{font-size: 20px;.slh();} span{color: #919191; font-size: 12px;margin: 5px 0 10px;display: block;} p{font-size: 14px;line-height: 1.8;height: 101px;overflow: hidden;text-align: justify;} &:hover{background: @mainColor;color: #fff;} } } } } @media (max-width:1600px) { .index7 .index_news2 ul li p{height: 80px;} } @media (max-width:1200px) { .index7 .index_news1{display: none;} .index7 .index_news2{width: 100%; ul{ li{margin: 1%;width: 48%;} } } } @media (max-width:500px) { .index7 .index_news2 ul li h3{font-size: 16px;} } .footer{background: url("../images/footer_bg3.jpg")no-repeat top center;max-width: 1920px;margin: 0 auto;padding: 67px 0 1px; .footer_top{overflow: hidden; .footer_top_left{width: 500px;float: left;; nav{margin: 25px 0 12px; a{color: #fff;margin-right: 40px;font-size: 18px; font-weight: 500;} } .footer_link{ p{color: #fff;font-size: 16px; a{color: #a5afc1;font-size: 14px;} } } } .footer_top_right{float: right;width:405px; li{float: right;margin-left: 20px; img{width: 115px;height: 115px;} } p{color: #fff;float: right;margin-top: 10px;} } } .footer_bottom{margin-top: 30px; ul{display: flex;justify-content: space-between; li{width: 24%;text-align: center;color: #fff; background:#336699;height: 180px;box-sizing: border-box;padding: 28px 0; i{background: url("../images/icon51.png")no-repeat;height: 43px;width: 44px;display: block;margin: 0 auto 25px;} p{font-size: 16px;} } li:nth-of-type(2) i{background: url("../images/icon52.png")no-repeat;} li:nth-of-type(3) i{background: url("../images/icon53.png")no-repeat;} li:nth-of-type(4) i{background: url("../images/icon54.png")no-repeat;} } h6{text-align:center;color: #fff;margin: 30px 0 ;font-size: 16px;} } } @media (max-width:1200px) { .footer .footer_bottom ul li p span{ display: none;} } @media (max-width:800px) { .footer .footer_bottom ul{flex-wrap: wrap; li{width:50%;} } .footer .footer_top .footer_top_left{width: 60%;} .footer .footer_top .footer_top_right{width: 40%;} } @media (max-width:700px) { .footer{padding: .5rem 0 0;} .footer .footer_top .footer_top_left{padding: .2rem 0; nav{display: none;} } .footer .footer_top .footer_top_left .footer_link p{display: none;} .footer .footer_top .footer_top_left{width: 100%;} .footer .footer_top .footer_top_right{width: 100%;border-top: 1px solid #fff;border-bottom: 1px solid #fff;padding-bottom: .2rem; ul{width: 100%;overflow: hidden;margin:.4rem 0 .1rem; li{float: left;margin: 0 .2rem 0 0} } p{float: left;margin-top:0;} } .footer .footer_bottom{margin-top: .1rem; ul{overflow: hidden;;display: block;;border-bottom: 1px solid #fff;padding-bottom: .1rem; li{background: none;width: 100%;text-align: left;height: auto;padding: .1rem 0; i{display: none;} p{ span{display: inline-block;} } } li:nth-of-type(2),li:nth-of-type(3){display: none;} } } .footer .footer_bottom h6{margin: .15rem 0 0;padding-bottom:.1rem; font-size: 12px;text-align: left;} } @media (max-width:500px) { .footer .footer_top .footer_top_left{text-align: center; img{width: 40%;} } .footer .footer_top .footer_top_right ul{text-align: center; li{float: none;display: inline-block; img{width: 80px;height: auto;} } } .footer .footer_top .footer_top_right p{float: none;text-align: center;} .footer .footer_bottom ul li p{font-size: 12px;text-align: center;} } //内页大图/////////////////////////////////////////////////////// .nei_banner{max-width: 1920px;overflow: hidden;display: block;position: relative; img{width: 100%;} h3{color: #fff;overflow: hidden;position: absolute;left: 0;right: 0;top: 0;bottom: 0;margin: auto;height:70px;text-align: center;} } //面包屑导? .breadcrumbs{background: #e9e9e9;height: .55rem;margin-top: -3px;margin-bottom: .6rem; .breadcrumbs_right{text-align: right; p{background: url("../images/icon_home.png")left center no-repeat;padding-left: 20px;;background-size: 18px 18px;line-height: .55rem;;display: inline-block;font-size: 14px; a{font-size: 14px; &:hover{color: @mainColor;} } } } .breadcrumbs_left{ ul{ li{float: left;width: 1.2rem;position: relative;;text-align: center; a{font-size: 16px;line-height: .55rem;} &:after{content: '';display: block;border-right: 1px solid #050505;position: absolute;right: 0;height:.18rem;top: .2rem;} } li:last-child:after{border: none;} li:hover{ .cur } .cur{ a{color: @mainColor;} } } } } @media (max-width:1200px) { .breadcrumbs .breadcrumbs_left ul li{width:2rem;} } @media (max-width:768px) { .comapny_breadcrumbs{ .breadcrumbs_left ul li{width:25%;} .breadcrumbs_right{display: none;} } } //公司简介内? .company1{height:900px;width:100%;background: #141e6e;background: radial-gradient(at center, #0075c3, #000b61);position: relative; #particles-js {width: 100%;height: 100%;background-size: cover;background-position: 50% 50%;background-repeat: no-repeat;position: absolute;top: 0;left: 0;} .company1_nr{position: absolute;left: 0;right: 0; top:40%;margin: auto;text-align: center;color: #fff; h2{font-size: 36px;margin-bottom: 10px;} p{font-size:100px;font-weight: bold;letter-spacing: 3px;} } } @media (max-width:1600px) { .company1{ .company1_nr{ h2{font-size: 30px} p{font-size: 60px;} } } } @media (max-width:900px) { .company1{height:600px; .company1_nr{ h2{font-size:24px} p{font-size: 40px;} } } } @media (max-width:600px) { .company1{height:500px; .company1_nr{ h2{font-size:20px} p{font-size: 24px;} } } } .company2 {height:700px;max-width: 1920px;position: relative;z-index:1;display: flex;align-items: center;justify-content:center;overflow: hidden; .company2_bg{background: url("../images/bg7.jpg") top center;height: 100%;background-size: cover;background-attachment: fixed;} .company2_nr{color: #fff;text-align: center;width:70%;margin: 0 auto; h3{font-size: 60px;margin-bottom: .4rem} p{font-size: 18px;line-height: 2;} } } @media (max-width:1400px) { .company2 .company2_nr{width: 90%; h3{font-size: 48px;} } } @media (max-width:900px) { .company2{height: 500px; .company2_bg{background-position: right top;} .company2_nr{ h3{font-size: 36px;} p{font-size: 16px;} } } } .company_parallax{position:absolute;z-index: -1;width: 100%;height: 120%;} .company4{height:700px;max-width: 1920px;position: relative;z-index:1;display: flex;align-items: center;justify-content:center;overflow: hidden; .company4_bg{background: url("../images/bg8.jpg")top center ;height: 100%;background-size:cover;background-attachment: fixed;} } @media (max-width:900px) { .company4{height: 300px;} } .company3{background: #fff;padding:1rem 0; h3{font-size: 60px;margin-bottom: .4rem;text-align: center;} ul{display: flex;flex-wrap: wrap; li{width:20%;height:200px; box-sizing: border-box;padding: 0 4%; display: flex;align-items: center;justify-content:center; img{max-width: 100%;max-height: 100%;} } } } @media (max-width:1400px) { .company3 h3{font-size: 48px;} } @media (max-width:1024px) { .company3 h3{font-size:36px;} } @media (max-width:800px) { .company3 h3{font-size:24px;} .company3 ul li{width:50%;height: 150px;} } // 弹窗样式 .ad_tanchuang{background: rgba(0,0,0,.4);position: fixed;left: 0;top: 0;bottom:0;right: 0;z-index:255;opacity: 0;visibility: hidden;.transition(); .ad_tanchuang_nr{position: absolute;left: 0;right: 0;top: 0;bottom: 0;width:600px;height:400px;background: @mainColor;margin: auto;padding:15px;.transition();transform-origin: right bottom;.scale(0); .ad_tanchuang_nr_border{border: 1px dotted #fff;height: 100%;padding: 30px; .ad_close{background: url("../images/ad_close.png")no-repeat;width: 20px;height:20px;background-size: 100% 100%;position: absolute;right: 30px;top: 30px;} .ad_tanchuang_nr_b_t{color: #fff;margin-bottom: 30px; h5{text-align: center;font-size: 32px;color: #d10412;font-weight: bold;margin-top: -20px;} h3{font-size: 32px;font-weight: bold;} h4{font-size: 24px;margin:5px 0 10px;} } .ad_tanchuang_nr_b_l{color: #fff;width: 50%;float: left; article{color: #fff;margin-top: 5px; p{font-size: 18px;margin-bottom: 20px;} a{margin-top: 10px; border: 1px solid #fff;display: block;width: 130px;height: 40px;line-height: 40px;text-align: center;.transition(); &:hover{background:#fff;color: @mainColor;} } } } .ad_tanchuang_nr_b_r{float: right;width: 50%;color:#fff; li{width: 47%;float: left;text-align: center; img{max-width: 114px;} } li+li{float: right;} } .ad_tanchuang_nr_b_b{margin-top: 20px; p{font-size: 18px;color: #d10412;text-align: center;} } } } .ad_tanchuang_trans{.scale(1);} } .ad_tanch_trans{opacity: 1;visibility: visible;} .ad_tanch_trans{opacity: 1;visibility: visible;} //荣誉证书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;} } } //新闻列表/////////////////// .news1{padding:0 100px 100px; ul{display: flex;flex-wrap: wrap; li{width:31%;margin: 1%; height: 180px;box-sizing: border-box;;padding: 15px 26px;background:#eeeeee;.transition(); h3{font-size: 20px;.slh();} span{color: #919191; font-size: 12px;margin: 5px 0 10px;display: block;} p{font-size: 14px;line-height: 1.8;height: 76px;overflow: hidden;text-align: justify;} &:hover{background: @mainColor;color: #fff;} } } } @media (max-width:1600px) { .news1{padding: 0 2% 2%;} } @media (max-width:1200px) { .news1 ul li{width: 48%; h3{font-size: 16px;} } } @media (max-width:640px) { .news1 ul li{width:100%;margin-right: 0; } } //新闻详情///////////////////////// .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;} span{font-size: 14px!important;} 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;} } ///////联系我们/////////////////////////// .contact1{ h1{text-align:center;height:85px;line-height:85px;font-size:36px; color:#111111; font-weight:bold} p{text-align:center; font-size:16px; width:800px; margin:0px auto; &:after{content: '';position: absolute;background:url(../images/albg.jpg) center repeat-x;width: 60px;height: 24px;margin-left: 10px;} &:before{content: '';position: absolute;background:url(../images/albg.jpg) center repeat-x;width: 60px;height: 24px;margin-left:-70px} } } @media (max-width:800px) { .contact1{ h1{font-size:24px;height: auto;line-height:1.5;} p{width: 100%;} } } @media (max-width:400px) { .contact1{ h1{font-size:18px;height: auto;line-height:1.5;} p{font-size: 14px;} } } .contact2{box-shadow: 0 0 4px 3px rgba(0,0,0,.1);padding: .5rem;box-sizing: border-box;overflow: hidden;margin: .5rem 0;background: url("../images/bg9.jpg")no-repeat top center; .contact2_left{float: left;width:40%; p{line-height: 2;font-size: 16px;padding-left: 30px;background:url("../images/icon72.png")no-repeat center left;background-size:20px 20px;margin-bottom: 10px; span{font-size: 18px;color: @mainColor; font-weight: bold;} } p:nth-of-type(3){background:url("../images/icon73.png")no-repeat center left;background-size:20px 20px;} p:nth-of-type(4){background:url("../images/icon71.png")no-repeat center left;background-size:20px 20px;} } .contact2_right{float: right;width:60%; li{float: left;width: 50%; img{width: 160px;height: 160px;padding: 5px;border: 1px solid #ccc;float: left;margin-right:20px;} h4{font-size: 24px;line-height: 2;margin: 10px 0;} p{line-height: 2;font-size: 16px;} } } } @media (max-width:1400px) { .contact2{ .contact2_left{width:50%;} .contact2_right{width:50%; li{ img{width: 120px;height: 120px;float: none;} h4{display: none;} p{line-height: 1.5;font-size: 14px;} } } } } @media (max-width:768px) { .contact2{ .contact2_left{width:100%;} .contact2_right{width:100%;margin-top: .2rem; li{width: auto;margin-right: .4rem;} } } } @media (max-width:450px) { .contact2{padding: .2rem; .contact2_right{display: flex;justify-content: space-around; li{margin-right: 0;} } } } #gaodeMap{height: 500px} @media (max-width:600px) { #gaodeMap{height:5rem;} } .contact3{text-align: center;margin:.5rem 0; h3{font-size: 26px;} p{font-size: 24px;text-align: center;font-weight: bold;background: @mainColor;padding:0 30px;color: #fff;display: inline-block;height: 50px;line-height: 50px;margin: 20px 0 20px; &:after{content: '';position: absolute;background:url(../images/albg.jpg) center repeat-x;width: 160px;height:50px;margin-left:50px;} &:before{content: '';position: absolute;background:url(../images/albg.jpg) center repeat-x;width: 160px;height:50px;margin-left:-210px} } span{font-size: 18px;letter-spacing: 3px;} } @media (max-width:800px) { .contact3 h3{font-size: 20px;} .contact3 p{font-size: 18px;height: 40px;line-height: 40px;margin: .1rem 0;} .contact3 span{font-size: 14px;} } .contact4{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;} } } //产品列表?//////////////////////////////////// .neiye_prodcut{background:#e9e9e9;margin-top: -0.59rem;padding-top: .3rem; ul{overflow: hidden; li{width:23%;margin:1%;float: left;background: #fff; .neiye_pic{height:3rem;padding: .2rem; display: flex;align-items: center;justify-content: center;overflow: hidden; img{align-items: center;.transition();max-width: 100%;max-height: 100%;} } .neiye_pic_txt{height:1.5rem;border-top:1px solid #e9e9e9;padding: .2rem;position: relative; h2{margin-bottom: .1rem;.transition();} p{line-height:1.8;height: 75px;overflow: hidden;} i{display: block;width: .1rem;height: .1rem;position: absolute;right: 0;bottom: 0;background: @mainColor;.transition();} } } li:hover{ .neiye_pic{ img{.scale(1.1);} } .neiye_pic_txt{ h2{color: @mainColor;} i{width: 100%;height: 1px;} } } } } @media (max-width: 1300px) { .neiye_prodcut ul li .neiye_pic_txt{height: 2rem; p{height: 50px;} } } @media (max-width: 1024px) { .neiye_prodcut ul li{width: 31.3%;} } @media (max-width: 768px) { .neiye_prodcut ul li{width: 48%; .neiye_pic_txt p{font-size: 12px;height: 40px;} } } //////////////产品详情?////////////////////////////////// .product_info{ .titbox{overflow: hidden; .titbox_left{float: left;width: 40%;display: flex;align-items: center;justify-content: center;height: 4rem; img{max-width: 100%;max-height: 100%;align-items: center;} } .titbox_right{float: right;width: 55%; h1{margin: .5rem 0 .3rem;} table{width: 100%;} tr{height: 50px;background: #e9e9e9;width: 100%; td{padding: 0 10px;font-size: 16px;width:25%; label,p{font-size: 12px;} } td:nth-of-type(2n){} } tr:nth-of-type(2n){background: none;} } } } .product_info_t{ .product_info_t_t{background:#e9e9e9;height: 50px;line-height: 50px;margin-top: .5rem; .xxsmwz {width: 150px;height: 50px;color: #FFF;text-align: center;display: block;background-color: #9a9a9a;font-size: 14px; } } .product_info_nr{padding:.4rem 0;min-height:4rem; p{font-size: 14px;} img{max-width: 100%;} } } @media (max-width: 640px) { .product_info .titbox .titbox_left{width: 100%;} .product_info .titbox .titbox_right{width: 100%;} } // 发展内页////////////////////////////////////////// .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;} } } } .neiye_case{background: url("../images/bg10.jpg")no-repeat top center ;padding-top: 1px;padding-bottom: .5rem; .neiye_case_dh{margin:4rem 0 1rem; h3{font-size: 50px;} p{font-size: 14px;} } ul{display: flex;flex-wrap: wrap;background: rgba(255,255,255,.8);padding: .7rem .2rem;overflow: hidden;; li{width:20%;height:200px; box-sizing: border-box;padding: 0 4%; display: flex;align-items: center;justify-content:center; img{max-width: 100%;max-height: 100%;} } } } @media (max-width: 1200px) { .neiye_case .neiye_case_dh{margin: 3rem 0 1rem; h3{font-size: 36px} } } @media (max-width: 800px) { .neiye_case ul{padding: .3rem 0 .2rem; li{width: 33.3%;height: 150px;} } .neiye_case .neiye_case_dh{text-align: center;margin:2rem 0 1rem; h3{font-size: 24px;} } } @media (max-width: 500px) { .neiye_case ul li{width:50%;} } .neiye_yewu{background: url("../images/bg12.jpg")no-repeat top center ;padding-top: 1px; .neiye_case_dh{margin:4rem 0 1rem;color: #fff;text-align: center; h3{font-size: 50px;} p{font-size: 40px;} } .yewu_nr{flex-wrap: wrap;display: flex;margin-top:2rem; li {width: 33.3%;height:500px;position: relative; text-align: center;z-index: 1;background: @mainColor;box-sizing: border-box;overflow: hidden; img{position: absolute;left: 0;top:0;z-index: -1;opacity: .05;.transition();} article{position: absolute;bottom: 0;height:150px;text-align: center;width: 100%;left: 0;.transition();color: #fff; i{display: block;background: url("../images/icon_logo0.png")no-repeat;width: 100px;height: 100px;background-size: 100%;margin:0 auto;opacity: 0;.transition();transform: translateY(-300px)} h3{transform:translateY(-100px);font-size: 36px;margin-bottom: .1rem;display: inline-block;.transition();position: relative;border-bottom: 1px solid #fff; } p{font-size: 16px;width: 80%;margin: 0 auto;opacity: 0;.transition();transform:translateY(100px);} } } li:hover{ img{opacity: .4;} article{transform: translateY(-150px); h3{transform:translateY(0);} i{opacity: 1;transform: translateY(-100px)} p{opacity: 1;transform: translateY(0)} } } } } @media (max-width: 1600px) { .neiye_yewu .yewu_nr li{height: 400px;} .neiye_yewu .yewu_nr li article i{transform: translateY(-200%);width: 70px; &:hover{opacity: 1;transform: translateY(20%);} } } @media (max-width: 1200px) { .neiye_yewu .neiye_case_dh h3{font-size:48px;} .neiye_yewu .neiye_case_dh p{font-size: 32px;} .neiye_yewu .yewu_nr li{height:300px;} .neiye_yewu .yewu_nr li article h3{font-size: 24px;} } @media (max-width: 800px) { .neiye_yewu{background-position: bottom center; .yewu_nr li{width: 50%; article{ i{display: none;} h3{transform: translateY(-100%)} } &:hover{ article{transform: translateY(-50%);} } } } } @media (max-width:600px) { .neiye_yewu .yewu_nr li{width: 50%; height: 200px;} .neiye_yewu .neiye_case_dh h3{font-size:24px;} .neiye_yewu .neiye_case_dh p{font-size:18px;} .neiye_yewu .yewu_nr li article{padding-top: 20px; h3{font-size: 18px;transform: translateY(0);} } .neiye_yewu .yewu_nr li:hover article{transform: translateY(-20%);} } .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横向内页导航样式 .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;overflow: hidden;margin-top: .9rem; .banner_ul,.slick-list,.slick-track{height: 100%; li{position: relative;.transition(); .banner_img{.transition(3s);width: 100%;height: 100%;} } } .banner_txt1{position: absolute;top:0; bottom: 0; left:10%;;margin:auto; background: url("../images/banner1_img1.png")no-repeat;width:100%;height:60%;background-size:auto 100%; box-sizing: border-box;;padding:6.8% 0 0 4%;; img{display: block; opacity: 0;transform: translateY(20%);.transition();transition-delay: .6s; } p{color: #fff;.transition();transition-delay: 1.2s; opacity: 0;font-size: 18px;margin-top: 50px;} } .banner_txt2{position: absolute;left: 0;right: 0;;top:0;bottom: 0; margin: auto;text-align: center;height: 90%; img{margin: 0 auto;.transition();} .banner2_1{transform: translateY(-100%);opacity: 0;transition-delay: .5s;} .banner2_2{margin: .4rem auto;transform: translateY(30%);opacity: 0;transition-delay: .6s;} .banner2_3{margin: .4rem auto;transform: translateY(-30%);opacity: 0;transition-delay: .8s;} .banner2_4{margin: .2rem auto .4rem;transform: translateY(30%);opacity: 0;transition-delay: 1s;} .banner2_5{margin: .2rem auto .4rem;transform: translateY(30%);opacity: 0;transition-delay: 1s;} } .slick-current{ .banner_img{.scale(1.03);} .zhezhao{opacity: 1;.scale(1)} .banner_txt1{ p{opacity:1;} } .banner_txt2{ .banner2_1,.banner2_2,.banner2_3,.banner2_4,.banner2_5{transform: translateY(0);opacity: 1;} } .banner_txt1{ img{animation: fadeOutRight 1s .5s both;} p{animation: fadeInP 1s 1s both;} } } .slick-dots{position: absolute;bottom:10px;display: block;width: 100%;padding: 0;margin: 0;list-style: none;text-align: center; li{display: inline-block;} button{position: relative;display:block;width: .1rem;height:.1rem;margin: 0 .05rem;padding: 0;cursor: pointer;font-size: 0;line-height: 0;color: transparent;border: 0;outline: none;background: #ccc;.border-radius(.5rem);.transition();} .slick-active button{background: @mainColor;width: .2rem;} } } @keyframes fadeOutRight { from{transform: translateY(20%);opacity: 0;} to{transform: translateY(0);opacity: 1;} } @keyframes fadeInP { from{opacity: 0;} to{opacity: 1;} } @media (max-width:1400px){ .banner{ .banner_txt2{.scale(.8); } } } @media (max-width:1200px){ .banner{ .banner_txt1{top:20%; img{width:70%;} p{margin-top: 15px;} } .banner_txt2{ .banner2_1{display: none;} } } } @media (max-width:900px){ .banner{margin-top:.85rem; .banner_txt1{top: 0; p{font-size: 14px;margin-top: 5px;} } .banner_txt2{.scale(1);width:90%; .banner2_2{width:50%;} .banner2_3{width:70%;} .banner2_4{width: 60%;} .banner2_5{width:30%;} } } } @media (max-width:640px){ .banner{ .banner_txt1{padding-top:13%;left: 5%; img{width:75%;} span{margin: 10px 9px 10px 0;width: 90px;height: 30px;line-height: 30px;} p{font-size: 10px;width: 90%;} } .zhezhao{height:1.6rem;width: 80%;} .banner_txt2{ .banner2_1{display: block;width:1rem;} .banner2_5{width:50%;} } } .banner .slick-dots{bottom:3px;} } .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;} /*--------------------------------------------------------全局结束--------------------------------- /********************************************************内页******************************************************************/ .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;} } } } /***********************sidebar(二级下拉)****************************************/ .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:18px;line-height:18px;border:1px solid #DBDBDB;padding:0 2px 0;color:#000; &:hover{ background:#404040;border:none;color:#fff;;height:18px;line-height:18px; } } } #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; } } } } } /*-------内页左分?-------*/ .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; } /*---鼠标悬浮显示二维?---*/ //.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;} } } } } .findustry{background: url("../images/findustry_bg.jpg")no-repeat top center;max-width:1920px;padding: 1.6rem 0 1rem;color: #ccc; h3{font-size: 36px;letter-spacing: 4px;font-weight: bold;color: #fff;} P{margin-top: 70px;width: 680px;font-size: 14px;margin-bottom: 60px;} .fk_more1{width: 270px;height: 40px;text-align: center;background: #fff;display: block; vertical-align: top;.transition(); span{display: inline-block;letter-spacing:5px;color:#000;font-size: 14px;.transition(); &:after{background:url("../images/icon_jiantou_1.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%;} } } } } @media (max-width:800px) { .findustry{padding: .5rem 0 .5rem; h3{font-size: 24px;} p{width: 100%;} .fk_more1{margin: 30px auto;width: 200px;} } } .fproduct{ a{padding:.6rem 0;display: block;} } .f_shouhou{ ul{ li{float: left;width: 49%;height: 344px;color: #fff;background: url("../images/fimg1.jpg")no-repeat center ;text-align: right;padding: 80px 50px; h3{font-size: 30px;font-weight: bold;margin-bottom:70px;} p{width: 450px;float: right;font-size: 18px;} } li+li{float: right;text-align: left;background: url("../images/fimg2.jpg")no-repeat center ; p{float: left;} } } } @media (max-width:800px) { .f_shouhou{ ul{ li{width: 100%;text-align: center!important;margin-bottom:10px; p{float: none!important;} h3{font-size: 22px;} p{font-size: 14px;margin: 0 auto;width: auto;} } } } } .fanke_footer{background: url("../images/footer_bg2.jpg")no-repeat;max-width: 1920px;padding: 50px 0;background-size: cover;overflow: hidden;margin-top: 50px; .footer1_left{float: left;width:190px; img{} } .footer1_nav{float: right;width: 60%; ul{overflow: hidden;display: flex;flex-wrap: wrap; li{float: left;color: #fff;padding-left:15%; width: 33.3%;border-right: 1px solid rgba(255,255,255,.2);box-sizing: border-box; h3{font-size: 18px;} ol{ a{display: block;color: rgb(169, 169, 169); } } } li:last-child{border-right: none;} } } } .ffff{background: rgba(14, 14, 14, 0.96);padding: 10px 0 10px;overflow: hidden; a{display: block;float: left;width: 200px;height: 30px;color: rgba(75, 75, 75, 1);.border-radius(5px);background: rgba(169, 169, 169, 1);line-height: 30px;.transition();box-sizing: border-box;;padding-left:40px; &:after{content:'';position: absolute;background: url("../images/icon_xia.png")no-repeat;width: 15px;height:15px;background-size: 100%;margin-top: 7px;margin-left: 5px;} &:hover{background: #fff;color: #000; &:after{background: url("../images/icon_xia_h.png")no-repeat;width: 15px;height:15px;background-size: 100%;} } } p{width:55%;float: right;line-height: 30px;color: #666; span{;color: rgb(169, 169, 169);float: right;margin-right: 100px;} } } @media (max-width:800px) { .fanke_footer{margin-top: 20px;padding: 20px 0 30px; .footer1_left{float: none;width:20%;margin: 0 auto 20px;} .footer1_nav{width: 100%;float: none; ul li{padding-left: 0;text-align: center; h3{font-size: 14px;} } } } .ffff{text-align: center;padding-top: 20px; a{display: block;margin: 0 auto;float: none;width:200px;text-align: left;} p{width: 100%;float: none;margin: 20px 0 0; span{display: block;margin: 0 auto;float: none;} } } } /////////////////////////////////////////人才招聘///////////////////////////////// .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-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-color: rgba(255,255,255,0.25);.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 rgba(255,255,255,0.5); background: rgba(255,255,255,0.25);filter: alpha(opacity=0);opacity: 0;-webkit-transform: scale(0.5,0.5);transform: scale(0.5,0.5);} .btn-span-13:hover::after{opacity: 1 ;filter: alpha(opacity=100);-webkit-transform: scale(1,1);transform: scale(1,1);} //btn-span-13-1标签 .btn-span-13-1{.transition(.5s);position: relative;display: block;width: 100%;height: 100%;} .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%);} } //图片放大效果