You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the stacking order code, it looks like we need to create a stacking layer first before applying z-index. That would allow the opacity to create it's own stacking context before the positioned elements change it based on z-index.
The text was updated successfully, but these errors were encountered:
Our grid code seems to miscalculate the element stack levels. Take the following HTML:
Which results in a stack of:
Which is incorrect as the red background should be on top of the target h1. The stacking order our code produces is:
From the stacking order code, it looks like we need to create a stacking layer first before applying z-index. That would allow the opacity to create it's own stacking context before the positioned elements change it based on z-index.
The text was updated successfully, but these errors were encountered: