Skip to content

Instantly share code, notes, and snippets.

@terkel
Last active June 17, 2017 01:54
Show Gist options
  • Save terkel/5429b48686a84d9e7f3961a213d3a611 to your computer and use it in GitHub Desktop.
Save terkel/5429b48686a84d9e7f3961a213d3a611 to your computer and use it in GitHub Desktop.
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