In this post we will talk about the not so new functional pseudo-class selectors :is() and :where().
We will see how they work in details, how the...
For further actions, you may consider blocking this person and/or reporting abuse
Very cool illustrations!
I'm glad you liked them! Thanks for the feedback Thomas.
interesting topic, lovely illustrated, thanks!
Thank you 🙏🙏
I mean :is seems frivolous? I get that its a one liner in css, but in sass probably not and who is writing in plain css anyways?
Here are the different ways of writing this:
I guess that's the least useful way to use it with sass but just to be clear I'm not advocating the use of
:is()
or:where()
. Use what works best for you 👍Also, I would say a lot of people are writing in plain CSS. It could be nice to have a global metric on this tho
Yeah thanks, putting the example for others to see as I found it interesting. I didn't know :is existed so was interesting to learn about!
Its hard to tell which is used more, here are some npm metrics on sass packages for fun:
node-sass has 3,075,362 weekly downloads.
sass has 9,050,002 weekly downloads.
sass-loader has 11,673,625 weekly downloads.
Ok, but what about combining multiple :is selectors? Can't do that in SASS. Also, the :is selector is forgiving of unsupported selectors. Can't say that about SASS.
@mattcoz because you didn’t tag me I didn’t get notified of your comment, so I’m a little late here. Could you give me an example of what you mean?
Examples were given in the article.
Thank you heaps. I've literally never used :is or where before. Going to try it out!
Useful 👍👍❤️
Thank you kind sir!
👍
Nicely explained, I’ll try this for sure.
Thanks Zakariya!
Glad to hear that
That's awesome
Thank you Hassan!
Thnaks for all. Good article
Thanks for the lesson, it's so helpful
🙏🙏
Simplified a lot with the illustrations
Thanks for the feedback Matheus 🙏
Happy to hear that!
Thanks! It’s helpful and easy to understand.
very nice!
👏👏
Another banger content by Mustapha
Thank you Tom. Means a lot 🤜🤛
Thank you for that explanation!
My pleasure. Glad you liked it
great
Nice ! I like the illustrations, it really helps to understand easily.
Thanks for this post
Thanks for the feedback Antoine I appreciate it!
great explanation!!!
Сongratulations 🥳! Your article hit the top posts for the week - dev.to/fruntend/top-10-posts-for-f...
Keep it up 👍
An amazing explanation for sure.
Nice illustrations, did you made it by hand or is there a software or website that creates them?