Jump to content

Less Css

Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Less Css Rate Topic: -----

#1 User is offline   Catalyst 

  • Codesmith
  • Group: Administrators
  • Posts: 1,049
  • Joined: 04-April 06
  • Gender:Male
  • Location:San Diego

Posted 09 November 2010 - 02:32 AM

If you haven't checked out LESS it's awesome: http://lesscss.org/

I love being able to define variables for colors, makes doing skins so much easier. And the operations, mixins, and other stuff is great too. Originally built for Ruby, there's versions of it out there for some other platforms like ASP.NET. I'm using the Visual Studio plugin Chirpy which not only processes LESS files, but also minimized CSS, JS, and more: http://www.weirdlover.com/tag/chirpy/

For you PHP and plain HTML guys there's a javascript version of LESS (I'm not sure if it's final yet, but worth checking out):
http://fadeyev.net/2...l-obsolete-css/
https://github.com/cloudhead/less.js
http://php.quicoto.c...s-css-with-php/
0

#2 User is offline   Rob Kaper 

  • W.R. Corporal
  • Group: Members
  • Posts: 97
  • Joined: 19-July 08
  • Gender:Male
  • Location:Rotterdam, NLD

Posted 09 November 2010 - 07:29 AM

Yeah, Less CSS is brilliant. Unfortunately I'm using some CSS instructions it can't handle (-moz-margin-left: 100px+1em for example), so I can't really deploy it yet.

Another remaining concern of mine is their nesting syntax, I'm unsure if it's possible to distinguish between "el1 el2" and "el1>el2". Nesting in CSS should be used with care, to increase performance you want to minimize the number of selectors required to identify elements, the output of Less CSS might not be the most efficient CSS for browsers.

But even if you're not going to use it, Less CSS is definitely something every designer/developer should at least consider.
Rob Kaper - Rotterdam
0

#3 User is offline   che09 

  • W.R. Corporal
  • Group: Members
  • Posts: 50
  • Joined: 22-November 10

Posted 22 November 2010 - 09:23 PM

I don't know what is this,but I'd love to try it. If it could make doing skins easier,I guess it would be great!
Thanks for the information shared Catalyst! :)
0

#4 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

Posted 14 December 2010 - 11:57 PM

I have never heard of this, but it looks very interesting. Variables, mixins and operations are sooo needed in CSS. I am not sure about the nesting, though.

And Catalyst, the page about LESS and PHP that you linked is not very useful. It just provides some LESS examples and a link to the JavaScript version of LESS. No mention really of how it is relevant to PHP, lol. But I found this: http://leafo.net/lessphp/
0

#5 User is offline   denny 

  • W.R. Private
  • Group: Members
  • Posts: 29
  • Joined: 31-March 10

Posted 15 December 2010 - 02:13 AM

Interesting techniques about CSS and how to minimize it. Will sure try it.
0

#6 User is offline   James Mitchell 

  • Legendary
  • Group: Administrators
  • Posts: 922
  • Joined: 26-July 06
  • Gender:Male
  • Location:Fort Wayne, IN

Posted 19 December 2010 - 08:23 AM

Thanks to temhawk in the Mac App section - the less.app now makes using it for other languages (and plain html coding) much easier.
Posted Image
0

#7 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

Posted 19 December 2010 - 09:47 PM

Yes it does :D

It gets a premium spot on my Dock, right next to TextMate!

Of course, the default icon doesn't fit in there too well, so I'm using the alternate icon.

This post has been edited by temhawk: 19 December 2010 - 09:50 PM

0

#8 User is offline   EncoderDecoder 

  • W.R. Sergeant
  • Group: Members
  • Posts: 260
  • Joined: 01-March 11
  • Gender:Female
  • Location:Philippines

Posted 22 May 2011 - 06:45 AM

hmmmm.. interesting.. I'll be checking this one out, then.. thanks..!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users