Re:The top layer: a solution to z-index:10000
by robocat on Friday August 26, 2022 @09:33AM
(#32607299)
One of the wonders of CSS (well, browsers) is that you can devote a decade to learning all the various details, and still not know something so fundamental. Thank you. I don’t want to believe I could miss that, but I have been humbled enough times to be doubtful about my beliefs.
[ Parent
| on HN ]
Re:The top layer: a solution to z-index:10000
by myfonj on Friday August 26, 2022 @10:32AM
(#32608033)
"Stacking context" creation is one of those concepts that many coders skip while learning as "intuitive enough not to dive deeper", and then stare in disbelief on list of properties that affects this, as pointed out in https://news.ycombinator.com/item?id=32600047 .
Who would have thought that `will-change: mask-image` would have similar effect similar to `position: relative`?