The idea is not fixing the footer, or making it sticky, but to make sure the footer is on the bottom of the viewport even though the entire page is smaller, and of course just have it run it's natural course when the page is larger than the viewport
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What's wrong with using
position:fixed
? It can be combined with flexboxes and it does not require JS.Even better position: sticky
I did not know that. Thank you, looks handy.
Yeah with flexbox and CSS grid you can't use position: fixed;
You use position: sticky;
Have you read this? philipwalton.github.io/solved-by-f...
The idea is not fixing the footer, or making it sticky, but to make sure the footer is on the bottom of the viewport even though the entire page is smaller, and of course just have it run it's natural course when the page is larger than the viewport