Is it because it’s not “relative” to anything anymore?
Alexis Abril
@alexisabril
@Madelene It’s actually due to the position not being specified. It’s another tricky one to articulate, but offsetParent is the closest “positioned” parent(closest parent with position specified)
Madelene Campos
@Madelene
I see!
These concepts mess with the mind, don’t they :)
Alexis Abril
@alexisabril
We used relative a lot in that example, but it’s actually arbitrary. absolute, inherit, relative, etc would all set the offsetParent