Email or username:

Password:

Forgot your password?
Top-level
Corpses Will rots ๐ŸŽƒ

@pepelsbey
I don't know what Firefox and Safari's justification is for their choice; it's like they pretending the div has `position: relative`.

Though if you do add that to the div, it doesn't change what Chrome does, like elements in the top layer are not just out of the document flow but totally disconnected from it. Maybe they're rushing to anchor positioning being *the* way to do it.

1 comment
Vadim Makeev

@cwilcox808 Itโ€™s normal behavior for absolutely positioned elements to stay at the same place in the flow (but out of the flow) if you donโ€™t specify the inset (top, right, bottom, left). You donโ€™t need position: relative for that. Only if you want to use inset.

Go Up