CSS :has() gives us the power to select parent , which is something we never had before.
https://developer.mozilla.org/en-US/d...
Hi I'm a JavaScript engineer who is not good at algorithms, If you are interested, maybe we can learn together.
support me: https://www.buymeacoffee.com/jser