<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Alcides Fonseca bliki - Latest Comments in Alcides Fonseca:  LESS CSS</title><link>http://alcides.disqus.com/</link><description></description><atom:link href="https://alcides.disqus.com/alcides_fonseca_less_css/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 18 Jul 2009 18:05:00 -0000</lastBuildDate><item><title>Re: Alcides Fonseca:  LESS CSS</title><link>http://wiki.alcidesfonseca.com/blog/less-css#comment-12890376</link><description>&lt;p&gt;JSON CSS &lt;a href="http://lab.arc90.com/2009/01/json_css.php" rel="nofollow noopener" target="_blank" title="http://lab.arc90.com/2009/01/json_css.php"&gt;http://lab.arc90.com/2009/0...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;-- MV&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mario Valente</dc:creator><pubDate>Sat, 18 Jul 2009 18:05:00 -0000</pubDate></item><item><title>Re: Alcides Fonseca:  LESS CSS</title><link>http://wiki.alcidesfonseca.com/blog/less-css#comment-12889605</link><description>&lt;p&gt;Tiago, I rather describe each of de element rather than applying properties to a list of them. I organize my CSS like that because I find it more readable (yeah firebug and inspector, I know, I know) and it's even easy for me to write.&lt;/p&gt;&lt;p&gt;In you code, you will repeat #element1, .someclass, etc... a lot of times, while I repeat colors and font-sizes.&lt;/p&gt;&lt;p&gt;You're repeating yourself one way or the other. I like CSS to be target-oriented and the only thing I lack is variables. And it's something that wouldn't hurt CSS, would it?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alcides</dc:creator><pubDate>Sat, 18 Jul 2009 17:14:07 -0000</pubDate></item><item><title>Re: Alcides Fonseca:  LESS CSS</title><link>http://wiki.alcidesfonseca.com/blog/less-css#comment-12889469</link><description>&lt;p&gt;Well, let me tell you that you are misunderstanding things if you don't know how to apply DRY concepts to your CSS code.&lt;/p&gt;&lt;p&gt;Colors for instance. You don't need variables at all in order to avoid repetition. In my case, all my colors go in the end of the CSS file. For instance, if I use a #FF0000, I do the following:&lt;/p&gt;&lt;p&gt;#element1, .someclass, div.someotherclass sometag, whatever, #something {&lt;br&gt;  color: #ff0000;&lt;br&gt;}&lt;/p&gt;&lt;p&gt;You can see an example here: &lt;a href="http://n.ki.sl.pt" rel="nofollow noopener" target="_blank" title="http://n.ki.sl.pt"&gt;http://n.ki.sl.pt&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I do the same for font sizes (altough that file doesn't have that yet). As for organization, use comments, learn how to separate things. Place the main layout elements at the top, then have the specific sections CSS, and a section for reusable elements across different sections.&lt;/p&gt;&lt;p&gt;I seriously think people fail to understand how do organize their CSS code a lot, even designers who probably write 10 times the CSS I do.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tiago Rodrigues</dc:creator><pubDate>Sat, 18 Jul 2009 17:04:27 -0000</pubDate></item><item><title>Re: Alcides Fonseca:  LESS CSS</title><link>http://wiki.alcidesfonseca.com/blog/less-css#comment-12888544</link><description>&lt;p&gt;True True, CSS could really use variables!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dextro</dc:creator><pubDate>Sat, 18 Jul 2009 16:15:36 -0000</pubDate></item><item><title>Re: Alcides Fonseca:  LESS CSS</title><link>http://wiki.alcidesfonseca.com/blog/less-css#comment-12883453</link><description>&lt;p&gt;SaSS is way cooler - &lt;a href="http://sass-lang.com/" rel="nofollow noopener" target="_blank" title="http://sass-lang.com/"&gt;http://sass-lang.com/&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruben Fonseca</dc:creator><pubDate>Sat, 18 Jul 2009 13:50:02 -0000</pubDate></item></channel></rss>