less.ruby icon indicating copy to clipboard operation
less.ruby copied to clipboard

Can't parse print CSS

Open jeremyh opened this issue 15 years ago • 1 comments

I get a parse errror using less 1.2.19 with print CSS selectors:

@page { margin: 2cm } 

@page :first {
  margin-top: 10cm 
}

The CSS paged media specification: http://www.w3.org/TR/css3-page/

jeremyh avatar Dec 06 '09 23:12 jeremyh

@page { ... } is not working as of now. A temporary solution might be to use something like this: @page :left, @page :right { ... }

ghost avatar Oct 21 '10 09:10 ghost