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?

Thanks for the feedback!

Rick




-----Original Message-----
From: Steve 'Cutter' Blades [mailto:[email protected]] 
Sent: Tuesday, September 10, 2013 7:58 AM
To: cf-talk
Subject: Re: Best way to use LESS CSS with CF?


As a heavy Bootstrap user, I use LESS constantly. Once you really dig 
in, you find out quickly just how useful it truly is. Tech like LESS and 
SASS are perfect for those creating "skinned" applications.

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer
____________
http://cutterscrossing.com


Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

"The best way to predict the future is to help create it"

On 9/10/2013 6:34 AM, Rick Faircloth wrote:
> Thanks for the info, Cutter...
>
> Are you currently using LESS? If so, what are your thoughts
> about its usefulness?
>
>
>
> -----Original Message-----
> From: Steve 'Cutter' Blades [mailto:[email protected]]
> Sent: Monday, September 09, 2013 8:19 AM
> To: cf-talk
> Subject: Re: Best way to use LESS CSS with CF?
>
>
> You compile LESS down to css files, you don't serve it up to the browser.
>
> I like cfstatic for asset management. It can also compile LESS on the fly.
>
> Steve 'Cutter' Blades
> Adobe Community Professional
> Adobe Certified Expert
> Advanced Macromedia ColdFusion MX 7 Developer
> ____________
> http://cutterscrossing.com
>
>
> Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
> https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
>
> "The best way to predict the future is to help create it"
>
> On 9/7/2013 1:53 PM, Rick Faircloth wrote:
>> Nevermind... I figured out I need to set a mime type for .less
>> and then set that type to text/css.
>>
>> In other words:
>>
>> Extention: less
>> Mime Type: text/css
>>
>> Rick
>>
>> -----Original Message-----
>> From: Rick Faircloth [mailto:[email protected]]
>> Sent: Saturday, September 07, 2013 2:39 PM
>> To: cf-talk
>> Subject: Best way to use LESS CSS with CF?
>>
>>
>> Hi, all...
>>
>> Anyone using LESS with their CSS?
>>
>> I'm trying to get a handle on using LESS with my CSS,
>> but I'm not quite getting it to work.
>>
>> I'm including the styles.less and the less.js files,
>> but I'm missing something, because the variables don't
>> affect the output.
>>
>> Do I need some kind of compiler for this to work with CF?
>>
>> Thanks for the guidance!
>>
>> Rick
>>
>>
>>
>>
>>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:356733
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to