Skip to content

Less Language Escaping

SomMeri edited this page Dec 12, 2012 · 28 revisions

Some browsers accept additional proprietary non-standard non-css syntax on top of the usual css. Less is build on top of standard css and therefore may not recognize it. Escaping allows you to use any arbitrary string inside a property value or to as a selector. You can use it to add browser specific features into less. As an additional bonus, you can use it if you need to dynamically build selectors. Dynamic selector building is somewhat limited, but powerful enough to be useful occasionally.

First sub-chapter describes escaping inside property values and second sub-chapter is about selectors escaping. The last one lists all kinds of things that are tempting, but NOT supported.

Property Values

TODO

Selectors

TODO

What Is Not Supported

TODO