Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (17 sloc) 0.443 kb

Escaping

Stylus allows you to escape characters, effectively turning them into identifiers, so that they can be rendered as literals. For example:

 body
   padding 1 \+ 2

will compile to:

 body {
   padding: 1 + 2;
 }

Not that Stylus requires that / is parenthesized when used in a property:

body
  font 14px/1.4
  font (14px/1.4)

yields:

body {
  font: 14px/1.4;
  font: 10px;
}
Jump to Line
Something went wrong with that request. Please try again.