Saturday, February 18, 2017

LESS import is whitespace sensitive

In LESS, this is a proper import statement:

@import (once) "foo.less"

However, without a space between import and once, it's not going to work:

@import(once) "foo.less"


The file is not going to be imported (silent fail).

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...