Select all siblings of an element using :has()

Selecting all the siblings of an element used to be impossible with CSS-only, but now we can do it thanks to :has() #css -- Come hang out with other dev’s in my Discord Community 💬 Keep up to date with everything I’m up to ✉ Come hang out with me live every Monday on Twitch! 📺 --- Help support my channel 👨‍🎓 Get a course: 👕 Buy a shirt: 💖 Support me on Patreon: --- My editor: VS Code - --- I’m on some other places on the internet too! If you’d like a behind the scenes and previews of what’s coming up on my YouTube channel, make sure to f
Back to Top