3 ms·
Can you explain why the syntax resembling CSS while having a different meaning is a good thing? I sincerely don't understand why so many people see that as a be
by chc 16y ago
Can you explain why the syntax resembling CSS while having a different meaning is a good thing? I sincerely don't understand why so many people see that as a benefit. The syntax isn't actually compatible with CSS, in the sense that you can write Less or SCSS and a layout engine will be able to parse it and come out with a halfway correct result. It just looks like CSS.
- eberfreitas 16y agoI guess that the benefit comes from being able to get regular CSS files a parse with LESS without syntax modification. In some cases, that might be a good thing.
- bad_user 16y agoThe syntax of LessCSS is a superset of CSS, meaning it maintains backwards compatibility. It doesn't just look like CSS, it is CSS but with additions. That means you can use that CSS file provided by the designer directly, and gradually improve it, or you can copy/paste examples given all across the web.