Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:LESS: Difference between revisions

From MoodleDocs
 
No edit summary
 
Line 6: Line 6:


--[[User:David Mudrak|David Mudrak]] ([[User talk:David Mudrak|talk]]) 18:26, 5 February 2014 (WST)
--[[User:David Mudrak|David Mudrak]] ([[User talk:David Mudrak|talk]]) 18:26, 5 February 2014 (WST)
: Don't use --zeroUnits false. Values of zero should have no unit in CSS. Also, --noUniversalSelectors is very good advice. Disable that at your peril.--[[User:Tim Hunt|Tim Hunt]] ([[User talk:Tim Hunt|talk]]) 18:35, 5 February 2014 (WST)

Latest revision as of 10:35, 5 February 2014

Turning off inbuilt recess rules

To disable all inbuilt rules that apply when analysing the input files:

 recess --noIDs false --noOverqualifying false --noUnderscores false --strictPropertyOrder false --zeroUnits false --noUniversalSelectors false <file.less>

--David Mudrak (talk) 18:26, 5 February 2014 (WST)

Don't use --zeroUnits false. Values of zero should have no unit in CSS. Also, --noUniversalSelectors is very good advice. Disable that at your peril.--Tim Hunt (talk) 18:35, 5 February 2014 (WST)