0

I'm trying to add some non-standard CSS @-rules from Prince XML in my Sass workflow, but can't find a way to do so.

Desired CSS output:

@page {
  @bottom { ... };
  ...
}

This gives an Unclosed block error when included in Sass as such.

The following code compiles, but just ignores the entire block in the CSS output:

#{'@'}page {
  #{'@'}bottom { ... };
  ...
}

Is there a way to do this?

Willem Van Bockstal
  • 2,233
  • 1
  • 17
  • 24
  • 1
    how do you compile? In sassmeister there are no errors: http://www.sassmeister.com/gist/410fa40055594462ab05df366136f7c3 –  Sep 16 '16 at 10:10
  • I'm using gulp within Laravel-elixir (v1 in a legacy project). Seems I might have to look to another compiler, thanks for pointing me in the right direction! – Willem Van Bockstal Sep 16 '16 at 10:30

0 Answers0