to get this to work for me. The styles for html and body weren't necessary for some reason.
ETA:
I found that if I put in <!DOCTYPE html> at the top, I then had to do:
html, body {
height: 100%;
}
to get this to work. But even then the scrollbars showed up because the footer was then a bit below the page. So, setting the height in the html, body bracket to 99% seemed to do the trick.
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.
Good stuff! I found that I only had to use:
.wrapper {
min-height: 100%;
display: grid;
grid-template-rows: auto 1fr auto;
}
to get this to work for me. The styles for html and body weren't necessary for some reason.
ETA:
I found that if I put in <!DOCTYPE html> at the top, I then had to do:
html, body {
height: 100%;
}
to get this to work. But even then the scrollbars showed up because the footer was then a bit below the page. So, setting the height in the html, body bracket to 99% seemed to do the trick.