tag:blogger.com,1999:blog-11300808.post4622376496294632121..comments2026-04-16T00:24:47.622-07:00Comments on The official Google Code blog: Introducing Closure StylesheetsMike Marchakhttp://www.blogger.com/profile/08067736591419106914noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-11300808.post-32330406709669192522012-01-14T01:41:25.566-08:002012-01-14T01:41:25.566-08:00Arbiter: this was developed inside Google before S...Arbiter: this was developed inside Google before SASS or Less existed. They are just open-sourcing it now.Rodrigo Moraeshttps://www.blogger.com/profile/02630339998377398306noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-6198455705354241162011-11-27T02:23:37.200-08:002011-11-27T02:23:37.200-08:00@Robert DeRose It looks like the main differences...@Robert DeRose<br /><br />It looks like the main differences are lint, class renaming, rtl flipping, and out-of-the-box minification.<br /><br />Also it&#39;s nice that is java so it will run server side like sass. That&#39;s the one thing that keeps me from using less.Brandon Summershttps://www.blogger.com/profile/01524807687602483616noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-82931705994637431762011-11-21T03:08:29.710-08:002011-11-21T03:08:29.710-08:00I have used Less and SASS, so I have the same ques...I have used Less and SASS, so I have the same question: diferences? <br />Thanks ;-)Marino Linajehttps://www.blogger.com/profile/05431322515953690821noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-54875272302166059452011-11-18T18:58:44.944-08:002011-11-18T18:58:44.944-08:00Agreed, how does this differ from less or sass?Agreed, how does this differ from less or sass?Robert DeRosehttps://www.blogger.com/profile/17175249604658495582noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-67187594888482522512011-11-18T15:04:27.679-08:002011-11-18T15:04:27.679-08:00Most people already love Less and SASS. What does ...Most people already love Less and SASS. What does this bring to the table that those do not have?heavymarkhttps://www.blogger.com/profile/11438617925220242981noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-44128476815859044582011-11-18T07:49:13.045-08:002011-11-18T07:49:13.045-08:00More to the point, why does this exist at all give...More to the point, why does this exist at all given that there are already two solutions to this problem?Arbiterhttps://www.blogger.com/profile/12094699347289633457noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-80565373063079972932011-11-18T07:41:14.409-08:002011-11-18T07:41:14.409-08:00This comment has been removed by the author.Matthew Turneyhttps://www.blogger.com/profile/17167243526612163322noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-64265221069571685402011-11-18T06:47:24.218-08:002011-11-18T06:47:24.218-08:00How does this compare/contrast with less.js or sas...How does this compare/contrast with less.js or sass?Dylanhttps://www.blogger.com/profile/15839290347370320759noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-26140794821411467102011-11-18T00:54:25.602-08:002011-11-18T00:54:25.602-08:00@Nicholas Juntilla Indeed one can use multiple se...@Nicholas Juntilla<br /><br />Indeed one can use multiple selectors but the concern then is that the resultant CSS is very fragmented because you would end up writing many sections each referring to another aspect of the same selector. And if not for tools like Google Chrome&#39;s Developer Tools it would be impossible to find the the line of styling if things displayed incorrectly.Yedidya @ Digitechhttps://www.blogger.com/profile/12178298980413762561noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-48544844395049776842011-11-17T23:58:46.184-08:002011-11-17T23:58:46.184-08:00If you want multiple styles to have the same color...If you want multiple styles to have the same color then you add those styles to the color proper with a comma like this: <br /><br />.box-background, .other-box-background, .another-box-background { color:blue;}<br /><br />You can add as many class as you want to that property and even target specific elements down the node list from a top node with that class.<br /><br />Als in order to simulate an if / then statement you write the least specific class first and then get more specific further down in your style sheet so <br />.boxes {border-color:red;}<br />might have a red border, but <br />.boxes .insidebox {border-color:purple;}<br />might have a purple border.<br /><br />You might also target every element then target only the first element by being more specific.<br /><br />You could possibly make style sheets a little bit shorter using this mark up, but if you are going to have to learn function and variables in order to write CSS then you might as well manipulate it manually using JavaScript.<br /><br />The main reason I think this might be a bad idea is that the syntax for CSS with the addition of the @ symbol, media queries and CSS animation is already so convoluted that this sort of functionality gain (despite bering redundant to JavaScript) might be minimal when weighed against the increased complexity of the system and the new JavaScript CSS Function writing Functions I will inevitably end up writing.<br /><br />But hey maybe this functionality should have been there from the beginning... and so the overlap between CSS and JavaScript continues. Where will it end?Nicholas Juntillahttps://www.blogger.com/profile/15081007592698501289noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-47115150976464531802011-11-17T23:18:03.442-08:002011-11-17T23:18:03.442-08:00&gt;get&lt; gwt&gt;get&lt; gwtJesse Kuhnerthttps://www.blogger.com/profile/01536406944822819349noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-50546632806126850532011-11-17T23:16:30.543-08:002011-11-17T23:16:30.543-08:00You had me at DRY Michael. Just don&#39;t tell me...You had me at DRY Michael.<br /><br />Just don&#39;t tell me I have to use get or I&#39;ll find out where you live and poop on your lawn.Jesse Kuhnerthttps://www.blogger.com/profile/01536406944822819349noreply@blogger.com