Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow unknown at-rules within CSS rules #123
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: