Y
Hacker News
new
|
ask
|
show
|
jobs
by
eurasiantiger
1220 days ago
Just use position: relative to start a new stacking context as appropriate.
2 comments
JimDabell
1220 days 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.
link
louhike
1220 days ago
I know, but it’s still hard to use on a big website where you have to manage a lot of stacking contexts.
link