Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use inherit instead of carrying settings down manually #8

Open
kennethormandy opened this issue Jul 3, 2014 · 0 comments
Open

Use inherit instead of carrying settings down manually #8

kennethormandy opened this issue Jul 3, 2014 · 0 comments

Comments

@kennethormandy
Copy link
Owner

Need to test this more, but apparently this works in some places:

body {
  font-feature-settings: "kern" 1, "smcp" 1;
}

p {
  font-feature-settings: "smcp"; /* This acts like you wrote `"kern" 0;` which is annoying */
  font-feature-settings: "smcp" 1, "smcp" 1; /* What I’m doing now */
  font-feature-settings: "kern" inherit, "smcp" inherit; /* Verbose, but easier to maintain. */
}
kennethormandy added a commit that referenced this issue Jul 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant