Rick, this short article may be of help...
http://davidwalsh.name/starting-css?utm_source=CSS-Weekly&utm_campaign=Issue
-75&utm_medium=email 

-----Original Message-----
From: Rick Faircloth [mailto:[email protected]] 
Sent: Tuesday, September 10, 2013 8:59 AM
To: cf-talk
Subject: RE: Best way to use LESS CSS with CF?


I'm just now looking seriously into LESS and its usage.
So far, I've really only looked at its use of variables.

As far as variables are concerned, I don't see much difference between using
variables and classes.

I can define, say, a class this way in CSS:

.titleColor { color: blue }

and use it this way: <p class="titleColor">

or define this way with LESS:

@titleColor { color: blue }

.titleColor { color: @titleColor }

and use it this way: <p class="titleColor">

Seems like LESS is more in this case and of insignificant benefit.

Am I missing the point and best use of variables?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356734
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to