@KevinPowell
  @KevinPowell
Kevin Powell | Select all siblings of an element using :has() @KevinPowell | Uploaded November 2023 | Updated October 2024, 1 hour ago.
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
πŸ’¬ discord.gg/nTYCvrK

Keep up to date with everything I'm up to
βœ‰ kevinpowell.co/newsletter

Come hang out with me live every Monday on Twitch!
πŸ“Ί twitch.tv/kevinpowellcss

---

Help support my channel
πŸ‘¨β€πŸŽ“ Get a course: kevinpowell.co/courses
πŸ‘• Buy a shirt: teespring.com/stores/making-the-internet-awesome
πŸ’– Support me on Patreon: patreon.com/kevinpowell

---

My editor: VS Code - code.visualstudio.com

---

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 follow me on Instagram and Twitter.

Twitter: twitter.com/KevinJPowell
Codepen: codepen.io/kevinpowell
Github: github.com/kevin-powell

---

And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
Select all siblings of an element using :has()Incredible scroll-based animations with CSS-onlyThis flowchart will help you pick the right CSS unitThese font stacks will improve your site performanceWhen you accidentally make something awesomeHow to make your own frontend roadmapThe State of CSS 2024CSS Typography Crash CourseThe problem with Frontend MentorIs this the strangest CSS solution out there?Fun button effect with HTML, CSS & JSImprove your CSS animations with individual transforms

Select all siblings of an element using :has() @KevinPowell

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER