The new :has() selector in CSS lets you select the parent based on what’s inside it, which you couldn’t do previously without JavaScript.
If you enjoyed this video, don't forget to leave a like and subscribe for more content still to come!
#webdev #css #html #programming #frontend #webdeveloper #webdevelopment #learntocode #coding