Sticky Footer in 3 lines of CSS

An amazing scientific discovery.

Sticky footer in less characters than a twitter post:
header {height:50px;}
main {min-height:calc(100vh - 80px);}
footer {height:30px;}

Related Posts

Leave a comment

Hey, so you decided to leave a comment! That's great. Just fill in the required fields and hit submit. Note that your comment will need to be reviewed before its published.