Filipov
Filipov

Reputation: 11

Why footer isn't sticking with bottom?after reducing the width of the window?

Why footer isn't sticking with bottom after reducing the width of the window?

<footer>
copyright
</footer>

Code: https://codepen.io/FilipoV/pen/rNjgOoW

Upvotes: 0

Views: 18

Answers (1)

Pauline
Pauline

Reputation: 151

If you mean that it get's some space under the footer after reducing window and then scrolling, a fix is:

body {
min-height: 100vh;}

Upvotes: 1

Related Questions