Each Front End developer in his career facing with task where needs to make footer sticky. It is a very common UX solution for web pages with dynamic content. At the first glance, creating a sticky component might sound like a commonplace problem which can be easily solved. Unfortunately in most cases, developers end up with tricks and crutches or waste their time for “smart” solutions.
Problem visualization
Let’s assume, we have the page with products which include a header (blue box), products (grey box) and footer (yellow box). When a user searches, the product box can shrink or expand itself, depending on the number of products. In case when no products found and the product container height is too small, we would like to keep the footer at the view-port bottom.

Problem solving
There are a few well-known techniques:
- Depending on header and footer height, calculate the minimum height for the product box by JavaScript.
- Different CSS tricks with hard-coded footer height and padding/margin manipulation.
- We can also use CSS grid technique for that, but legacy browser support can be a limitation in that case.
All solutions above have some advantages and disadvantages. But there is one option that looks promising – CSS flex-box. It allows you to write a really small part of CSS that respects by most of the browsers we as a developer should support.
Let’s consider CSS flex-box solution:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>title</title>
</head>
<body>
<header></header>
<main></main>
<footer></footer>
</body>
</html>html,
body {
height: 100%;
}
body {
display: flex;
flex-direction: column;
}
header,
footer {
flex-shrink: 0;
}
main {
flex: 10 auto;
}That is all what you need. No JavaScript, no CSS tricks. Pretty cool isn’t it? We prepared some demo:
As you can see it is really easy to implement a sticky footer feature. We can ensure you that this implementation is supported by ie11, Firefox 60, Chrome 75, IOS 12 (chrome, safari) and Android 9. We hope it helps you.

I think grid is right now very well supported by almost all browsers, so describing a solution with using grid is a good idea.
I just found the main page for JILI7 at jili7home. Has everything you need right from the source. Straight to the good stuff!
6566bet1, cheguei pra testar e até agora tô impressionado. Os odds são competitivos e a variedade de jogos é show! Vamos ver se a banca sobe! Confere aqui: 6566bet1
For all you betting enthusiasts, Tylekeo188bet is where you need to be. Solid odds and a wide range of sports. Get your bets in! tylekeo188bet
Anyone tried 777pubapp yet? I’m looking for something new to kill some time. Is it smooth and reliable? Let me know what you think before I download. Link here: 777pubapp
Hey folks! Been messing around on 444bet.info. It’s a solid platform, nothing groundbreaking, but reliable. And that’s what matters, right? Check ’em out. 444bet
Just wanted to share that I tried out 617bet1. Honestly, it wasn’t bad at all. Seemed to have a modern UI and was easy to use. Maybe you’ll like it, maybe you won’t. But I did. 617bet1
Been looking for a new game to kill some time. Heard whispers about b9game. Gonna give it a shot and see what all the fuss is about!
Thinking of hitting up lobocasino this weekend. Heard they have awesome slots. Time to win some serious dough!
Downloaded the wjevoapp the other day. Super convenient and easy to use. Makes life a little easier!
Alright, daybetcasinologin is pretty straightforward. Easy to sign up, and I haven’t had any major issues. The games are pretty standard, but the site is reliable. Check out daybetcasinologin if you’re looking for something simple.
Jilibee’s pretty fun! Colorful interface, lots of different slots. I’ve only played a few times but so far so good. Give it a whirl at jilibee
wg777login… it’s okay. Nothing groundbreaking, but the interface is clean, and I haven’t had any crashes. Could use more promotions though. Give wg777login a look if you’re bored.
Right lads, anyone tried jljl72? Seen it mentioned on a forum. Tempted to put a few quid in and see what’s what. Get clicking: jljl72
Yo, just wanted to say alanobet88 is worth checking out. Easy to use and a pretty wide selection of casino games. Check them out: alanobet88
I tried mvp77onlinecasino and have to say…it’s solid. Quick deposits and the selection of games kept me busy. I would check it out: mvp77onlinecasino
Loving the Sulit 777 app! It’s so much easier to play on my phone. The graphics are great, and the app is smooth and responsive. Total game changer! Try sulit 777 app!
Sulit777! Trying to login or register at Sulit 777 casino? I’ve heard it’s pretty straightforward. Good luck hitting those jackpots! Check it out here: sulit 777 casino login register
Anyone tried grabbing the Sulit 777 app? I’m thinking of downloading it. Mobile gaming sounds pretty chill. Hope it runs smooth! Get the app here: sulit 777 app download