CSS:is

← Blog

I wasn’t aware of the CSS is() pseudo-class, but this would help avoid that much-hated selector duplication.

Read the full article at davidwalsh.name

Subscribe to my newsletter

Sign up to get my latest blog articles direct to your inbox.

%d