Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
argyleink
/
is.css
Last active
Nov 22, 2019
Star
10
Fork
1
Star
Code
Revisions
2
Stars
10
Forks
1
Embed
What would you like to do?
Embed
Embed this gist in your website.
Share
Copy sharable link for this gist.
Clone via HTTPS
Clone with Git or checkout with SVN using the repository’s web address.
Learn more about clone URLs
Download ZIP
light intro to the :is() selector syntax and value
Raw
is.css
/* 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
) {
...
}
This comment has been minimized.
Sign in to view
Copy link
Quote reply
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.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
This comment has been minimized.
p:is('.best')