mirror of
https://github.com/kevin-DL/example.git
synced 2026-01-11 17:54:34 +00:00
Added a navbar
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
body {
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
|
||||
25
css/navbar.css
Normal file
25
css/navbar.css
Normal file
@@ -0,0 +1,25 @@
|
||||
.navbar {
|
||||
align-items: center;
|
||||
background-color: blue;
|
||||
color: white;
|
||||
display: flex;
|
||||
height: 3rem;
|
||||
justify-content: space-between;
|
||||
padding: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
.navbar .links {
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
.navbar .links a {
|
||||
color: white;
|
||||
margin: 0 1rem;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.navbar .links a:hover {
|
||||
background-color: red;
|
||||
}
|
||||
Reference in New Issue
Block a user