Initial commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
/*页面开头的表头*/
|
||||
.nav{
|
||||
float: left;
|
||||
width: 100%;
|
||||
height:90px;
|
||||
background-color: rgb(69, 73, 77);
|
||||
|
||||
}
|
||||
|
||||
/*取消块级元素,使其在一行*/
|
||||
.nav ul li {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
/*将几个元素连接起来*/
|
||||
.nav ul li a {
|
||||
|
||||
padding: 30px 80px;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
color: rgb(255, 248, 248);
|
||||
font-family: Tahoma;
|
||||
|
||||
}
|
||||
|
||||
/*使其选中块就可以点击*/
|
||||
li a {
|
||||
display: block;
|
||||
|
||||
}
|
||||
|
||||
/*鼠标停留*/
|
||||
.nav li a:hover {
|
||||
background-color: rgb(3, 8, 8);
|
||||
}
|
||||
|
||||
.active {
|
||||
background-color: #3371f7;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user