React/2024. 12. 16/test/src/Header.css
2024-12-17 11:57:16 +01:00

33 lines
489 B
CSS

nav {
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(to left, rgb(10, 10, 10), rgb(25, 25, 25));
color: white;
position: sticky;
top: 0;
z-index: 999;
}
nav a {
text-decoration: none;
color: white;
}
nav img {
cursor: pointer;
}
nav ul {
display: flex;
}
nav ul li {
margin-right: 30px;
list-style: none;
cursor: pointer;
}
nav ul li:hover {
text-decoration: underline;
}