Skip to content

Instantly share code, notes, and snippets.

@terkel
Last active February 1, 2020 08:07
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 terkel/0f34a9ccffd2fa96c02e9009c7248c54 to your computer and use it in GitHub Desktop.
Save terkel/0f34a9ccffd2fa96c02e9009c7248c54 to your computer and use it in GitHub Desktop.
*,
*::before,
*::after {
font-feature-settings:
"locl" var(--font-feature-locl, 1),
"palt" var(--font-feature-palt, 0);
}
:not(:lang(ja)) {
font-kerning: auto;
}
html {
font-kerning: none;
hanging-punctuation: allow-end;
line-break: normal; // for Firefox
overflow-wrap: break-word;
word-wrap: break-word; // for IE 11
}
p,
li,
dd,
figcaption {
hyphens: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment