diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-07-05 21:50:33 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-07-05 21:50:33 +0200 |
commit | 40966e0fc8f592e0c7c0a961318172292f59fb67 (patch) | |
tree | 395a7bad8fb283de1a215307123fb751acf7d5a6 /src | |
parent | c9a0858e16914caa72b7b9831599ab5eb0cab62e (diff) |
Hide scrollbar on nav uls
Diffstat (limited to 'src')
-rw-r--r-- | src/style.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css index d5da1b0..0d74003 100644 --- a/src/style.css +++ b/src/style.css @@ -122,6 +122,14 @@ nav ul { margin: 0; padding: 0; z-index: 69; + + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ +} + +/* Hide scrollbar for Chrome, Safari, and Opera */ +nav ul::-webkit-scrollbar { + display: none; } nav > ul { |