java_web/learn02/web/css/index.css
2024-12-07 19:53:28 +08:00

41 lines
625 B
CSS

.nav-area{
position: absolute;
top: 0;
left: 0;
background-color: #2bf;
height: 95%;
width: 20%;
margin: 0;
padding: 5px;
}
.nav-list{
padding-left: 0;
padding-right: 5px;
}
.nav-item{
list-style: none;
line-height: 100%;
text-align: center;
font-size: 19px;
margin: 5px 0;
padding: 3px 0;
color: white;
a{
text-decoration: none;
color: white;
font-weight: bold;
}
}
.content{
position: absolute;
top: 0;
right: 0;
background-color: #eee;
height: 95%;
width: 79%;
margin: 0;
padding: 5px;
}