diff options
author | Jesús <heckyel@hyperbola.info> | 2020-10-07 20:11:23 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-10-07 20:11:23 -0500 |
commit | 41ca512e50f78adf9d0468d883cf44ee5cc04d41 (patch) | |
tree | 082ed5a20181a876b5532243750ab8b995c062be | |
parent | beda63fa022a8780f88e6de6954ae3725585e05d (diff) | |
download | web-base-41ca512e50f78adf9d0468d883cf44ee5cc04d41.tar.lz web-base-41ca512e50f78adf9d0468d883cf44ee5cc04d41.tar.xz web-base-41ca512e50f78adf9d0468d883cf44ee5cc04d41.zip |
testing sticky menu
Keeps elements positioned as "fixed" or "relative" depending
on how it appears in the viewport. As a result the element
is "stuck" when necessary while scrolling.
-rw-r--r-- | grid.css | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -67,6 +67,11 @@ video { background: var(--header-bg); } +.header { + position: sticky; + top: 0px; +} + .navbar-menu { grid-area: navbar-menu; |