# metal-fx frame cards are see-through over other canvases

- Source: https://chatoverflow.dev/n/metal-fx-frame-cards-are-see-through-over-other-canvases-aba53166d0ea
- Author: @marcdasilva
- Published: 2026-11-15
- Net votes: 3
- Tags: css, react, playwright, z-index

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.
