less-docs
less-docs copied to clipboard
List of the greatest Less misuses and abuses?
Probably if we have enough examples then some kind of Don't do this! page would be handy.
Inspired by http://stackoverflow.com/a/21068438/2712740, curiously it uses almost every latest Less feature (property merge, property interpolation, default() etc.) but in the same time it is probably the most misleading solution I have written so far.
Yes!
My number 1 is dont just wrap selectors everywhere.. understand it still produces lots of css and you still have to understand what it produces.
Btw, by "wrap selectors" do you mean nesting selectors everywhere? This is one of my favorite "donts" too... I always dreamt to say something like "Never nest only because it is possible to nest"...
Yep..