1、效果图
2、Sciendtficcss.css文件
.scientific_body{
min-width: 1440px;
}
.scientific_head{
min-width: 1440px;
height: 120px;
}
.scientific_head_ul{
width: 960px;
height: 120px;
margin-left: auto;
margin-right: auto;
background: #ffffff;
display: flex;
align-items: center;
}
.scientific_head_ul>li{
float: left;
}
.scientific_head_ul>li>span{
display: block;
}
.head_logo{
margin-right: 40px;
}
.head_code{
margin-left: 100px;
}
.head_text1{
font-size: 24px;
color: #fa8100;
}
.head_text2{
font-size: 14px;
color: #666666;
}
.scientific_nav{
min-width: 1440px;
height: 50px;
background: #00659c;
}
.scientific_nav_ul{
width: 960px;
height: 50px;
margin-right: auto;
margin-left: auto;
position: relative;
}
.nav_two{
width: 960px;
height: 220px;
background: rgba(255,255,255,0.6);
position: absolute;
display: none;
transition: 0.5s;
top: 50px;
left: 0;
}
.nav_two>li{
float: left;
margin-left: 30px;
}
.nav_two>li>a:hover{
color: #ffffff;
font-size: 16px;
background: rgba(0,75,139,1);
}
.nav_two>li>a{
display: block;
font-size: 12px;
height: 30px;
width: 150px;
line-height: 30px;
text-align: center;
color: #666666;
}
.nav_two>li>span{
color: #666666;
display: block;
height: 40px;
line-height: 40px;
text-align: center;
}
.scientific_nav_ul>li{
float: left;
}
.scientific_nav_ul>li>a{
display: block;
height: 50px;
line-height: 50px;
text-align: center;
padding-left: 30px;
padding-right: 30px;
color: #ffffff;
transition: 0.4s;
}
.scientific_nav_ul>li>a:hover{
background: #004b8b;
}
.scientific_nav_ul>li:hover>a{
background: #004b8b;
}
.scientific_banner{
min-width: 1440px;
height: 480px;
background: #efefef;
}
.scientific_banner_ul1{
width: 960px;
height: 310px;
margin-left: auto;
margin-right: auto;
}
.scientific_banner_ul1>li{
float: left;
}
.scientific_banner_ul1>li>span{
display: block;
}
.banner_text1{
color: #787878;
font-size: 40px;
text-align: right;
margin-left: 30px;
margin-top: 80px;
}
.banner_text2{
color: #3b3a3a;
font-size: 40px;
margin-left: 30px;
text-align: right;
}
.banner_text3{
color: #747474;
font-size: 18px;
text-align: right;
margin-left: 30px;
}
.banner_text4{
color: #666666;
font-size: 14px;
text-align: right;
margin-left: 30px;
}
.banner_img{
margin-top: 40px;
}
.scientific_banner_ul2{
width: 960px;
height: 110px;
margin-left: 240px;
position: absolute;
}
.scientific_banner_ul2>li{
float: left;
}
.scientific_banner_ul2>li>a{
display: block;
width: 290px;
height: 110px;
background: #f5f5f5;
margin-right: 27px;
transition: 0.4s;
color: #888888;
}
.scientific_banner_ul2>li>a>span{
display: inline-block;
}
.banner_text5{
font-size: 24px;
width: 290px;
height: 55px;
line-height: 55px;
text-align: center;
}
.banner_text6{
margin-top: 10px;
font-size: 12px;
text-align: center;
}
.scientific_banner_ul2>li>a:hover{
background: rgba(24,115,164,0.8);
color: white;
}
.scientific_company{
min-width: 1440px;
height: 250px;
background: #f6f6f6;
position: relative;
}
.scientific_company_ul{
width: 960px;
height: 250px;
position: absolute;
top: -30px;
left: 240px;
overflow: hidden;
}
.company_main{
width: 1260px;
height: 250px;
transition: 0.4s;
}
.company_main>li{
float: left;
margin-right: 30px;
}
.company_an{
width: 1140px;
height: 50px;
position: absolute;
top: 85px;
left: 150px;
}
.company_an>li>.company_ann{
float: left;
}
.company_an>li>.company_anm{
float: right;
}
.company_img{
width: 212px;
height: 160px;
background: #006eaa;
}
.company_img>a{
display: block;
}
.company_img>a>img{
margin-left: 76px;
margin-top: 55px;
}
.company_text{
width: 212px;
height: 90px;
background: #ffffff;
}
.company_text>a{
width: 212px;
height: 90px;
display: block;
transition: 0.4s;
}
.company_text>a:hover{
background: rgba(24,115,164,0.6);
}
.company_text>a:hover>span{
color: #f6f6f6;
}
.company_text>a>span{
display: block;
}
.text1{
padding-top: 20px;
width: 212px;
font-size: 20px;
color: #000;
text-align: center;
}
.text2{
width: 212px;
font-size: 12px;
color: #999999;
text-align: center;
}
.scientific_main{
min-width: 1440px;
}
.main_summary{
min-width: 1440px;
height: 365px;
}
.summary_head{
width: 960px;
height: 105px;
margin-right: auto;
margin-left: auto;
}
.summary_head>span{
float: left;
display: flex;
align-items: center;
}
.summary_text1{
height: 105px;
width: 96px;
font-size: 24px;
color: #006eaa;
text-align: center;
}
.summary_text2{
height: 105px;
width: 235px;
margin-left: 20px;
font-size: 20px;
color: #999999;
text-align: center;
font-family: "Arial";
}
.summary_main{
width: 960px;
height: 55px;
margin-left: auto;
margin-right: auto;
font-size: 14px;
color: #666666;
font-family: "Arial";
}
.summary_ul{
width: 960px;
height: 130px;
margin-left: auto;
margin-right: auto;
}
.summary_ul>li{
float: left;
}
.summary_ul>li>a{
display: block;
line-height: 60px;
width: 300px;
height: 60px;
text-align: center;
background: #006eaa;
margin-right: 20px;
color: #ffffff;
}
.summary_ul>li>span{
display: inline-block;
width: 298px;
height: 90px;
border: #999999 1px solid;
}
.summary_ul>li>span>p{
margin-top: 30px;
font-size: 12px;
width: 240px;
height: 30px;
margin-left: auto;
margin-right: auto;
color: #999999;
}
.main_time{
min-width: 1440px;
height: 105px;
background: #006eaa;
}
.time_ul{
width: 960px;
height: 105px;
margin-left: auto;
margin-right: auto;
}
.time_ul>li{
float: left;
}
.time_ul>li>span{
display: flex;
align-items: center;
height: 105px;
}
.time_text1{
font-size: 24px;
color: #ffffff;
}
.time_text2{
font-size: 20px;
color: #ffffff;
margin-left: 20px;
margin-right: 80px;
}
.main_case{
min-width:1440px ;
height: 400px;
margin-top: 80px;
}
.case_head{
width: 960px;
height: 50px;
margin-left:auto;
margin-right: auto;
}
.case_head>span{
float: left;
display: inline-block;
}
.case_head>ul{
float: right;
}
.case_text1{
font-size: 24px;
color: #006eaa;
margin-right: 20px;
}
.case_text2{
font-size: 20px;
color: #a8a8a8;
}
.case_carousel{
position: relative;
height: 15px;
width: 75px;
margin-top: 8px;
}
.case_carousel>li{
float: left;
width: 15px;
height: 15px;
border-radius: 100%;
background: #c0c0c0;
margin-left: 10px;
}
.case_lunBo{
width: 960px;
position: relative;
height: 300px;
margin-left: auto;
margin-right: auto;
}
.case_lunBo>ul{
display: none;
float: left;
position: absolute;
left: 0;
top: 0;
width: 1000px;
height: 300px;
}
.case_lunBo>.case_pic{
animation: ni 0.5s both;
display: block;
}
@keyframes ni {
0%{
opacity: 0;
transform: scale(1.1,1.1) rotateZ(5deg);
}
100%{
opacity: 1;
transform:scale(1,1) rotateZ(0deg);
}
}
.case_pic>li{
float: left;
margin-right: 35px;
width: 294px;
height: 300px;
}
.case_pic>li>a{
display: block;
width: 294px;
height: 216px;
}
.case_pic>li>span{
display: inline-block;
}
.case_text3{
margin-top: 20px;
width: 294px;
font-size: 14px;
color: #000;
}
.case_text4{
margin-top: 10px;
width: 294px;
font-size: 12px;
color: #c0c0c0;
}
.case_carousel>.sl{
background: #ffb527;
}
.main_news{
min-width: 1440px;
height: 430px;
}
.news_head{
width: 960px;
height: 50px;
margin-left: auto;
margin-right: auto;
}
.news_head>span{
float: left;
margin-right: 20px;
display: inline-block;
}
.news_head>a{
display: block;
color: #fa880f;
width: 60px;
height: 20px;
float: left;
margin-left: 200px;
margin-top: 10px;
}
.news_text1{
font-size: 24px;
color: #006eaa;
}
.news_text2{
font-size: 20px;
color: #a8a8a8;
}
.news_main{
width: 960px;
height: 380px;
margin-left: auto;
margin-right: auto;
}
.news_main>li{
float: left;
}
.news_body{
width: 550px;
height: 380px;
}
.news_body>ul{
width: 550px;
height: 110px;
}
.news_body>ul>li{
float: left;
}
.news_body>ul>li>span{
display: block;
}
.news_text3{
margin-left: 20px;
width: 438px;
font-size: 14px;
color: #000;
height: 20px;
}
.news_text4{
margin-left: 20px;
margin-top: 20px;
width: 438px;
height: 50px;
font-size: 12px;
color: #a8a8a8