Home » Education » How you can simplify your CSS with :is()

How you can simplify your CSS with :is()

Written By Kevin Powell on Tuesday, Mar 02, 2021 | 09:48 AM

 
The :is() pseudo-class is relatively new, but browser support is pretty good now! It's a nice way to dry up your CSS and turn some otherwise complex selectors into something much more managable! Codepen: https://codepen.io/kevinpowell/pen/RwojMKB Step up your game with advanced CSS selectors and combinators: https://www.youtube.com/watch?v=Bcr70LIJcOk&list=PL4-IK0AVhVjPRj8P56TtFX2hg33BlbT3x&index=2 #css -- Come hang out with other dev's in my Discord Community 💬 https://discord.gg/nTYCvrK --- Keep up to date with everything I'm up to ✉ https://www.kevinpowell.co/newsletter --- Help support my channel 👨‍🎓 Get a course: https://www.kevinpowell.co/courses 👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome 💖 Support me on Patreon: https://www.patreon.com/kevinpowell --- My editor: VS Code - https://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. Instagram: https://www.instagram.com/kevinpowell.co/ Twitter: https://twitter.com/KevinJPowell Codepen: https://codepen.io/kevinpowell/ Github: https://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!