Skip to content

Instantly share code, notes, and snippets.

@terkel
Last active June 17, 2017 01:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Sass CJK lang selector
@mixin lang-cjk () {
&:lang(zh),
&:lang(ja),
&:lang(ko) {
@content;
}
}
@mixin lang-not-cjk () {
&:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) {
@content;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment