Перейти к содержимому

How you can simplify your CSS with :is()

Kevin Powell

0:00 / 0:00

How you can simplify your CSS with :is()

339 520 просмотров · 5 лет назад
Kevin Powell
1 млн подписчиков
339 520 просмотров · 5 лет назад
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/Rw... Step up your game with advanced CSS selectors and combinators:    • Step up your CSS game using these selector...   #css -- Come hang out with other dev's in my Discord Community 💬   / discord   --- 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-t... 💖 Support me on Patreon:   / 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:   / kevinpowell.co   Twitter:   / 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!