![My google avatar.](https://res.cloudinary.com/dnpmdb8r8/image/upload/w_250,f_auto,c_limit,q_auto,w_auto/argyleink/google-avatar.jpg)
notecss
use :has()
for when an element doesn't have some other element as a child, like a card without a heading 🤓
.card {
...
&:not(:has(h3)) {
/* .card's without h3's */
}
}
use :has()
for when an element doesn't have some other element as a child, like a card without a heading 🤓
.card {
...
&:not(:has(h3)) {
/* .card's without h3's */
}
}