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

[css-minifier] Support @font-feature-values #2117

Closed
yisibl opened this issue Mar 19, 2022 · 0 comments
Closed

[css-minifier] Support @font-feature-values #2117

yisibl opened this issue Mar 19, 2022 · 0 comments

Comments

@yisibl
Copy link
Contributor

yisibl commented Mar 19, 2022

https://caniuse.com/mdn-css_at-rules_font-feature-values
MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-feature-values

/* At-rule for "nice-style" in Font Two */
@font-feature-values Font Two {
  @styleset {
    nice-style: 4;
  }
}

/* Apply the at-rules with a single declaration */
.nice-look {
  font-variant-alternates: styleset(nice-style);
}
@yisibl yisibl changed the title Support @font-feature-values [css-minifier] Support @font-feature-values Mar 19, 2022
@evanw evanw closed this as completed in 648b072 Mar 24, 2022
zhusjfaker pushed a commit to speedy-js/esbuild that referenced this issue Mar 28, 2022
hardfist pushed a commit to speedy-js/esbuild that referenced this issue Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant