所有项目提交
This commit is contained in:
70
giantElephant/css/header.css
Normal file
70
giantElephant/css/header.css
Normal file
@@ -0,0 +1,70 @@
|
||||
.header{
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 230px;
|
||||
background-image: url(../imgs/PNG/hradTop.png);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 58% 101%;
|
||||
background-position: right;
|
||||
background-position: 100% 0%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0px 20px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
|
||||
}
|
||||
.logoBox{
|
||||
width: 28%;
|
||||
text-align: center;
|
||||
}
|
||||
.logo{
|
||||
width: 100px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.menu{
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menu:hover{
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
.nav{
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
/* align-items: center; */
|
||||
justify-content: right;
|
||||
padding-top: 3%;
|
||||
padding-right: 5%;
|
||||
font-size: 18px;
|
||||
color: #fff;
|
||||
}
|
||||
.nav li{
|
||||
display: inline;
|
||||
margin: 0 2%;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
height: 30px;
|
||||
|
||||
}
|
||||
.nav li:hover{
|
||||
color: #000;
|
||||
}
|
||||
.email{
|
||||
width: 25px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.email:hover{
|
||||
width: 28px;
|
||||
}
|
||||
Reference in New Issue
Block a user