View Single Post
05-19-2010, 02:33 PM
Join Date: Sep 2009
Location: San Antonio, TX
I thought I would share with you all an incredibly amazing tool.
Basically it is a CSS compiler, that enables you to use variables, functions (mixins) and nesting inside of your CSS. All you have to do is make a file, style.less, edit it using the less syntax (essentially the same as regular css, only better), then run
And it will generate a nicely formatted CSS file.
If you want it to update the style.css as you edit the style.less file, run
lessc style.less --watch
You need to have Ruby installed to run this program.
Here is an example of a .less file I am working with:
And here is the .css file it generated
I think it's a great too. :3 Hope you all like it as much as I do.
Never mind the use of both hex colors and rgb colors, I am tired and lesscss ends up compiling rbg() into hex colors anyway.
View Public Profile
Send a private message to cachepl0x
Find More Posts by cachepl0x