diff --git a/styles/styles.css b/styles/styles.css index e19cb9f..466ab94 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -63,20 +63,22 @@ padding: 0 2rem; } .nav-list { - /* display: none; */ display: block; overflow: hidden; height: 0; padding: 1rem 0 0 0; width: 100vw; + height: 0; + overflow: hidden; position: absolute; - top: 0; + top: 1em; right: 0; list-style: none; background-color: #000; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); z-index: 900; padding-left: 0; + transition: height 0.5s; }