Skip to content

Instantly share code, notes, and snippets.

@jan-martinek
Created March 24, 2020 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jan-martinek/51872229955f44870abf2f7c9f7f4dc8 to your computer and use it in GitHub Desktop.
Save jan-martinek/51872229955f44870abf2f7c9f7f4dc8 to your computer and use it in GitHub Desktop.
/* correct quotes in various languages */
@mixin quotes($langs, $open, $close) {
@each $lang in $langs {
[lang="#{$lang}"] {
q::before { content: $open; }
q::after { content: $close; }
}
}
}
@include quotes("en" "en-US", "", "");
@include quotes("cs" "cs-CZ", "", "");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment