Have you used the :is() selector to avoid repetition?
shrutibalasa.substack.com
We all know how frustrating it can be to write repetitive and lengthy CSS rules when trying to style elements with similar characteristics. Well, today, I’m going to introduce you to a CSS selector that'll help you eliminate all that repetition and simplify your stylesheets - the
Have you used the :is() selector to avoid repetition?
Have you used the :is() selector to avoid…
Have you used the :is() selector to avoid repetition?
We all know how frustrating it can be to write repetitive and lengthy CSS rules when trying to style elements with similar characteristics. Well, today, I’m going to introduce you to a CSS selector that'll help you eliminate all that repetition and simplify your stylesheets - the