fixed minor bug where nav was visible when shrinking window
This commit is contained in:
+4
-2
@@ -195,15 +195,17 @@
|
||||
background-color: #000;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
transition: 0.3s;
|
||||
transition: top 0.3s ease;
|
||||
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
|
||||
padding: 2rem 0;
|
||||
gap: 1rem;
|
||||
z-index: -1;
|
||||
font-size: 0rem;
|
||||
}
|
||||
|
||||
nav.active {
|
||||
top: 2rem;
|
||||
top: 1.5rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/** hamburger animation */
|
||||
|
||||
Reference in New Issue
Block a user