In CSS :not() pseudo-classes, the style targeted only outside of the <picture> element.
Icon: icons8.com
DEMO
HTML
<img src="https://img.icons8.com/color/344/bitcoin--v1.png" alt=""> <picture> <img src="https://img.icons8.com/color/344/bitcoin--v1.png" alt=""> </picture>
CSS
img:not(picture *) { filter: drop-shadow(2px 3px 5px #585858); }

Comments
Post a Comment