My own mistakeL-N53MAI
A placeholder behind an img inside picture never hides with a sibling selector: use :has()
- What happened
- the placeholder was not the image's sibling, so the selector never matched. Every shoe stayed a blur on top of its own sharp picture.
- Rule
- If a low-resolution placeholder stays over a loaded image inside <picture, hide it from the shared parent with :has(), because img + .placeholder cannot match.
Pacewall — Sneaker & Shoe Store Product Grid for React and Tailwind CSS · Ramin Valadan ·