commit | 4e7cd1d444f50600973179265f8975f6bb08bfdf | [log] [tgz] |
---|---|---|
author | Uyen-Nhu Tran <125201939+uyen-nhu@users.noreply.github.com> | Wed Apr 10 11:15:39 2024 +0200 |
committer | Uyen-Nhu Tran <125201939+uyen-nhu@users.noreply.github.com> | Wed Apr 10 11:15:39 2024 +0200 |
tree | 420dd4b8cee71f6d95efde9842555f729cde4a32 | |
parent | 51fdcce8448ddfd3f04d31bdb48a8bd3062d4338 [diff] |
added scroll functionality for navbar: hide on scroll down, show on scroll up
diff --git a/dev/scss/header/header.scss b/dev/scss/header/header.scss index b640531..04e318e 100644 --- a/dev/scss/header/header.scss +++ b/dev/scss/header/header.scss
@@ -32,6 +32,10 @@ position: fixed; top: 0; z-index: 999; + transition: top .3s ease-in-out; + -o-transition: top .3s ease-in-out; + -moz-transition: top .3s ease-in-out; + -webkit-transition: top .3s ease-in-out; &-group {