I'm studying about stacking contexts and doing some tests with the properties that create a stacking context.
I did several tests and found that, in addition to z-index
, of course, the following properties also create a stacking context:
transform
other thannone
;opacity
other than1
;- And
perspective
.
Are there other properties that apply a stacking context?
Question&Answers:os