5 ms·
Just use position: relative to start a new stacking context as appropriate.
by eurasiantiger 4y ago
Just use position: relative to start a new stacking context as appropriate.
- louhike 4y agoI know, but it’s still hard to use on a big website where you have to manage a lot of stacking contexts.
- JimDabell 4y agoYou 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.