DEV Community

Discussion on: Don't use 100vh for mobile responsive

Collapse
 
joelbonetr profile image
JoelBonetR 🥇 • Edited

Positioning the bottom bar with

position: fixed;
left: 0;
right: 0;
bottom: 0;
Enter fullscreen mode Exit fullscreen mode

will fix your nav bar to the bottom without issues, then you can get the scroll to modify it's position to ptovide a js effect or to trigger a keyframe

Some comments have been hidden by the post's author - find out more