Simplify Your CSS using :is() and :where() Pseudo-Selectors

preview_player
Показать описание
Discover the power of CSS :is() and :where() pseudo-class selectors in this CSS tutorial. Dive deep into the advanced CSS selectors, understanding why they're known as forgiving selectors and the nuances that set them apart. Learn how to leverage the :is() selector to apply styles to elements that match any of the provided selectors, simplifying your CSS code and enhancing readability. Explore the flexibility of the :where() selector, allowing you to apply styles to elements based on conditions specified in the selector list.

Uncover the differences between :is() vs :where() pseudo-class selectors and gain insights into when to use each one effectively in your projects. With practical examples and clear explanations, you'll master these powerful selectors and elevate your CSS skills.

Don't forget to like, share, and subscribe for more web dev tutorials.

Related Topics
-----------------------------------------------------
- How you can simplify your CSS with :is()
- The new CSS pseudo-classes explained :is() :where()
- :where - CSS Pseudo Selector Explained
- :is - CSS Pseudo Selector Explained

Chapters
-----------------------------------------------------
00:00 Intro
00:48 Conventional approach of CSS selectors
01:04 :is() pseudo-class selector
01:35 :where() pseudo-class selector
01:56 Forgiving selectors
02:55 Difference between :is() and :where() pseudo-selectors

Subscribe and never miss a beat
-----------------------------------------------------

Learn at your own pace
-----------------------------------------------------

Connect, share, and grow
-----------------------------------------------------

#css #cssselectors #cssselector #iscssselector #wherecssselector #webdesign #cssmagic #csstutorial #html #cssforbeginners #webdevtutorial #learncss #optimisticweb
Рекомендации по теме
Комментарии
Автор

I hope you will make full course vidio aboit html, css and javascript

ramadandk
Автор

At the end you say that because the :where() and :is() psuedoclasses differ in their specificity, it allows us to create more readable code. Can you give an example? It seems, to me, that it would mostly cause confusion and/or unintuitive code.

I could see some uses for CSS applied through classes toggled by JavaScript, as well as ways to reduce file sizes though. Definitely useful.

zoetje
Автор

how do you use the :is and where with the not selector (or other pseduo ones)?

rcarias
Автор

Really wish this wasn't AI-voiced

JawsoneJason