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

Allow multiple rules to be specified for a single key, e.g. @font-face #3

Closed
deepxg opened this issue Jun 24, 2021 · 1 comment
Closed
Labels
question Further information is requested

Comments

@deepxg
Copy link

deepxg commented Jun 24, 2021

CSS allows multiple @font-face rules to be specified, to load several fonts. However this requires some way of specifying multiple rules for a key, or the same key multiple times, which currently isn't supported.

@vlaaad
Copy link
Contributor

vlaaad commented Jun 24, 2021

You can use css comments to repeat @font-face rules, e.g.:

{"@font-face /* comic sans */" {:src "local('Comic Sans MS')"}
 "@font-face /* comic code */" {:src "local('Comic Code Ligatures')"}
 ... }

@vlaaad vlaaad closed this as completed Jun 24, 2021
@vlaaad vlaaad added the question Further information is requested label Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants