- This topic is empty.
December 7, 2010 at 2:42 am #30920jamygoldenMember
Does anyone use it and is it awesome?
Apparently it creates really long selectors which affect performance, so you will have to manually edit them after using less.js to be more efficient.
I’m just trying to find out if it’s even worth looking at.December 7, 2010 at 11:04 am #70561cpj238Member
I use it a lot, but only for development / cut up. Save both template.css and template.less in my /stylesheets/ directory so that if I need to change something later, i have all the variables set up, I only do this because of my work place and the production environment doesn’t lend itself well with preprocessed CSS.
If I could be the only one, ever, to touch the CSS, then LESS would be my only choice, ever, I love it that much.
So I do what I said above, keeping both files, in the end it’s the .css that is read, not the less, unless you plan on using the LESS.js as your main “go to” in browser compiler, in which case, it’s awesome, but has that one pitfall….if js is disabled, then your CSS is not executed.
All in all, it’s worth playing with. If you want to try out my personal “/base/” for using LESS (plus a grid I made using less) then download this base.zip ( user/pass: IC2010nd )
My /base/ comes with CSS3Pie for IE, HTML ready (trunk.js for IE), and even a PNG transparency fix for IE6
Let me know what you come up with :)
~ ChrisApril 18, 2011 at 6:04 pm #50461jannikrlMember
So you are using LESS.js and CSS3Pie together? I want to do the same thing, but the CSS3Pie-declaration, behavior: url(PIE.htc), seems not to get included when LESS generates the CSS.
If you have it working, I have to look over it again :)
/JannikMay 3, 2012 at 7:13 am #102226neerukoolParticipant
I faced the same issue at start. Even tried putting ../ in behavior:url() but of no use.
When I checked the path for pie.htc in IE, It shows as: folder/css/css/pie.htc.
we reference LESS file with css/style.less
Then behavior:url(css/pie.htc) for .htc file.
put the style.less & pie.htc in same folder as HTML file. so the references would be “style.less” and “pie.htc”. :)May 4, 2012 at 1:21 pm #102323MottieMember
@jamy_za I just started learning it and I think it’s great! I even added less style page themes to AnythingSlider! I haven’t noticed any performance problems, but you basically have control of how long the selectors end up being.May 4, 2012 at 3:09 pm #102327TheDocMember
I know this is super old, but I’m going to comment anyways!
I just got into SASS and am really digging it. I don’t think I’d ever want to do it client-side via Less.js.May 4, 2012 at 8:09 pm #102339Taufik NurrohmanParticipant
@Hompimpa, we also have option to compile the .less file to a .css file.
There are few compilers to do that job. (Eg. winLess)
We can refer to stylesheet within noscript tag…
- The forum ‘CSS’ is closed to new topics and replies.