---
title: "Discussion on \"Making a footer stick to the bottom with CSS\" | Hashnode"
description: "Discussion on \"Making a footer stick to the bottom with CSS\". Ever wanted to have a footer that's stuck to the bottom, but will push down if the content is bigger?\nTo demonstrate I've created this image.\n\nWhat this illustrates is the following:\n\nleft: Green box is the viewport, yellow is the content which is ve..."
url: "https://hashnode.com/posts/making-a-footer-stick-to-the-bottom-with-css/5fe6d0726a146422083cce5c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Making a footer stick to the bottom with CSS](https://h.daily-dev-tips.com/making-a-footer-stick-to-the-bottom-with-css?utm_source=hashnode&utm_medium=feed)

Ever wanted to have a footer that's stuck to the bottom, but will push down if the content is bigger? To demonstrate I've created this image. What this illustrates is the following: left: Green box is the viewport, yellow is the content which is ve...

Dec 26, 2020 · 4 min read · h.daily-dev-tips.com  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#css-flexbox](https://hashnode.com/tag/css-flexbox)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Chris Bongers](https://hashnode.com/@dailydevtips)

@dailydevtips · Cape Town, SA

  
[View profile](https://hashnode.com/@dailydevtips)

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.

## Responses 1

Markdown supported · ⌘↵ to post

[Braydon Coyer](https://hashnode.com/@braydoncoyer)

[Dec 26, 2020](https://hashnode.com/posts/making-a-footer-stick-to-the-bottom-with-css/5fe6d0726a146422083cce5c/comment/5fe75a6b6a146422083cd516)

Good stuff! My initial thought was to go the flexbox route, but the grid option seems super clean too!

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Dec 27, 2020](https://hashnode.com/posts/making-a-footer-stick-to-the-bottom-with-css/5fe6d0726a146422083cce5c/comment/5fe75a6b6a146422083cd516#reply-5fe813db6a146422083cdddb)

Yeah, so the unofficial rule is to use grid for layout parts and flex for everything inside the layouts.

So the grid would actually be best for placing the footer layout.
