DEV Community

Discussion on: A painless guide to understanding CSS positioning

Collapse
 
anauthdes profile image
anauthdes

Nice and easy to follow guide, thanks for posting!
I'll have to share this one for sure.

I'm glad you included the important note for absolute positioning being inside other positioned elements. That one is always a doozy when you are trying to understand your elements and why they are floating in parts of the page you may not have intended.
And your sticky example is spot on, a great way to express lists and charts to be mobile first (despite maybe not being 100% supported yet)

Collapse
 
peterlunch profile image
Peter

Giving the parent element the position property definitely was a doozy!