Day 14: the difference between :is() and :where()

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
There's an important difference between :is() and :where().Let's take the following example. We have two buttons and we use :where() on the first button to apply a background color and :is() on the second button. button { border: none; color: #fff; font: inherit; font-size: 1.2rem; padding: 0.5rem 1rem; } ...