4 ms·
ah, yes in that case you can just add position: sticky and bottom: 0 to the footer with this trick you get the same behavior as with position: fixed but won’t
by ushakov 4y ago
ah, yes
in that case you can just add position: sticky and bottom: 0 to the footer
with this trick you get the same behavior as with position: fixed but won’t need a wrapper div as in the comment i replied to
- mattnewton 4y agoYeah position sticky is definitely part of what you want, telling the browser declaratively what you are trying to accomplish.