Skip to content

Instantly share code, notes, and snippets.

@argyleink argyleink/is.css
Last active Nov 22, 2019

Embed
What would you like to do?
light intro to the :is() selector syntax and value
/* before :is() */
button.focus,
button:focus {
...
}
/* after :is() */
button:is(.focus, :focus) {
...
}
/* before :is() */
article > h1,
article > h2,
article > h3,
article > h4,
article > h5,
article > h6 {
...
}
/* after :is() */
article > :is(h1,h2,h3,h4,h5,h6) {
...
}
@zubizubwork

This comment has been minimized.

Copy link

zubizubwork commented Nov 9, 2019

p:is('.best')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.