5 ms·
You're correct about not being able to target parent selectors without some JS intervention - BUT - if you avoid any property declarations on your default img e
by bradley_taunt 6y ago
You're correct about not being able to target parent selectors without some JS intervention - BUT - if you avoid any property declarations on your default img elements you can achieve what you desire.
Live demo: https://codepen.io/bradleytaunt/pen/LYGapao https://codepen.io/bradleytaunt/pen/LYGapao