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/
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
Less Css
#2
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.
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
#3
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!
Thanks for the information shared Catalyst!
#4
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/
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/
#5
Posted 15 December 2010 - 02:13 AM
Interesting techniques about CSS and how to minimize it. Will sure try it.
#7
Posted 19 December 2010 - 09:47 PM
Yes it does 
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.
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
#8
Posted 22 May 2011 - 06:45 AM
hmmmm.. interesting.. I'll be checking this one out, then.. thanks..!
Share this topic:
Page 1 of 1


Help
This topic is locked

MultiQuote










