Stacking Context behavior
I have the following Sass code:
It produces the first picture.
However, what I'm really confused about is when I add
It produces the first picture.
However, what I'm really confused about is when I add
z-index: 3 (or some other z-index) to .drip-drop, it produces the second picture, where the ::after psuedo element is above the parent .drip-drop. I don't really know why this behavior exists this way. I have a suspicion it has something to do with stacking context, but I have no idea what stacking context really is and I'm unsure if that's really the issue. Would someone be able confirm if that is the case please?

