release汉晶网站完成
This commit is contained in:
86
hanJing/css/header.css
Normal file
86
hanJing/css/header.css
Normal file
@@ -0,0 +1,86 @@
|
||||
.header{
|
||||
width: 100%;
|
||||
height: 26vh;
|
||||
background-color: #030045;
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
|
||||
.header .bg{
|
||||
width: 20vw;
|
||||
height: 35%;
|
||||
/* background: palegoldenrod; */
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 24vw;
|
||||
}
|
||||
.header .bg img{
|
||||
width: 100%;
|
||||
height:auto;
|
||||
|
||||
}
|
||||
.header .container{
|
||||
width: 100%;
|
||||
height: 65%;
|
||||
display: flex;
|
||||
align-items: start;
|
||||
justify-content: space-between;
|
||||
/* background: palegoldenrod; */
|
||||
}
|
||||
.logo{
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.logo img{
|
||||
width: 3.5vw;
|
||||
height: auto;
|
||||
}
|
||||
.header ul{
|
||||
width: 45%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* background: palevioletred; */
|
||||
margin-left: 5vw;
|
||||
padding-right: 10vw;
|
||||
}
|
||||
.header ul li{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 0.9vw;
|
||||
|
||||
|
||||
}
|
||||
.header ul li a{
|
||||
display: inline-block;
|
||||
color: #009FD1;
|
||||
transition: all 0.2s ease;
|
||||
font-weight: 600;
|
||||
font-size: 1vw;
|
||||
position: relative;
|
||||
padding-bottom: 2vh;
|
||||
}
|
||||
.header ul li a:hover{
|
||||
font-size: 1vw;
|
||||
color: #fff;
|
||||
text-shadow: 0 0 10px rgba(41, 111, 216, 0.5);
|
||||
}
|
||||
/* .active{
|
||||
background: palegoldenrod;
|
||||
} */
|
||||
.active::before{
|
||||
content:url(../imgs/SVG/页面选择图标.svg);
|
||||
width: 100%;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user