Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
eurasiantiger
· 3y ago · 0 comments
Just use position: relative to start a new stacking context as appropriate.
Comments
[–]
JimDabell
3y ago
You can use isolation: isolate to explicitly create a new stacking context now. It makes the code a bit clearer because position: relative is used for lots of different things.
[–]
louhike
3y ago
I know, but it’s still hard to use on a big website where you have to manage a lot of stacking contexts.