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 unknown at-rules within CSS rules #123

Closed
wabain opened this issue Sep 28, 2018 · 0 comments
Closed

Allow unknown at-rules within CSS rules #123

wabain opened this issue Sep 28, 2018 · 0 comments
Assignees
Milestone

Comments

@wabain
Copy link

wabain commented Sep 28, 2018

Currently unknown at-rules are only handled in the top-level rules list. However, the specified procedure for consuming a list of declarations mandates that an at-rule can also occur within the body of a rule. A use case for this is PostCSS systems like Tailwind CSS which take at-rules within rules as inputs; preprocessors like Sass accept this, although Less doesn't seem to.

Sample of CSS and SCSS:

screen shot 2018-09-28 at 7 58 13 am

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

3 participants