You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nesting only works with selectors and other selectors. @page is a directive, so Sass treats it like any other directive and moves it out to the root of the document. If you want to use a selector in @page, you'll need to do so manually.
Current compass output with selector inside the parenthesis:
Uncompiled scss:
w3 documents the
@page
directive should be written like this with the selector outside of the parenthesis:This is an unfortunate inconsistency in formatting from w3. Other directives are written with selectors inside the parenthesis. Confusing:
The text was updated successfully, but these errors were encountered: