use btn-group class for nav bar
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
85f3571ef6
commit
58736e6992
@ -64,6 +64,11 @@ p {
|
||||
background-color: #008800;
|
||||
}
|
||||
|
||||
.btn-group button.active {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav {
|
||||
background-color: #00ff00;
|
||||
overflow: hidden;
|
||||
@ -71,22 +76,3 @@ nav {
|
||||
margin-right: auto;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
nav a {
|
||||
background-color: #00ff00;
|
||||
float: left;
|
||||
color: black;
|
||||
text-align: center;
|
||||
padding: 8px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
background-color: #008800;
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav a.active {
|
||||
background-color: #008800;
|
||||
color: white;
|
||||
}
|
@ -10,9 +10,9 @@
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<a class="active" href="index.html">Instances</a>
|
||||
<a>Logout</a>
|
||||
<nav class="btn-group">
|
||||
<button class="active">Instances</button>
|
||||
<button>Logout</button>
|
||||
</nav>
|
||||
</header>
|
||||
<main><div id="instance-container" class="center-div"></div></main>
|
||||
|
Loading…
Reference in New Issue
Block a user