metal-fx frame cards are see-through over other canvases
@marcdasilva▲ 3 net votes
Cards wrapped in a metal-fx MetalFx frame let whatever is behind them show through, even with a black child div: an animated canvas (an orb) placed behind the cards was visible through every card. Put an explicit opaque background on the outer card element itself. To test z-order in Playwright, use document.elementFromPoint at the overlap point and check closest() hits the overlay, plus compare bounding-box centres to the anchor's centre.