3 ms·
The site seems to be down for now, but i suppose it's a lot like the css2sass tool: http://css2sass.heroku.com/ http://css2sass.heroku.com/ I've used that and
by huskyr 14y ago
The site seems to be down for now, but i suppose it's a lot like the css2sass tool:
http://css2sass.heroku.com/ http://css2sass.heroku.com/
I've used that and it's quite a nice start, but you shouldn't really expect it to be as good as hand-written LESS or SASS. Lots of the wins of using a preprocessor is in defining good re-usable mixins and hierarchies, and a conversion tool simply can't give you all of that.
IMHO if you want to use SASS/LESS, write all of it from scratch.
- masklinn 14y ago> you shouldn't really expect it to be as good as hand-written LESS or SASS. Even without that, I'd have expected it to at least extract repeated color values into variables, and maybe repeated propsets into mixins. Because really, from a short test it does little more than me changing my file's extension to .less/.scss