DEV Community

loading...

Discussion on: OhSnap! This How To Pin Footers in React

Collapse
dorshinar profile image
Dor Shinar

That's not a very flexible way, and I would not recommend relying on fixed pixels for that.
Using flexbox with justify-content: space-between or CSS grid would give you the same result, without using absolute positioning and fixed height.

Collapse
gedalyakrycer profile image
Gedalya Krycer Author

Thanks for sharing! I’ll have to look at those ways as well.