<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: OOCSS + SASS = Fewer Classes On Your Elements</title>
	<atom:link href="http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/feed/" rel="self" type="application/rss+xml" />
	<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/</link>
	<description>Bill Burcham's Launch Platform</description>
	<lastBuildDate>Tue, 08 Nov 2011 17:50:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jurij Burkanov</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-4089</link>
		<dc:creator><![CDATA[Jurij Burkanov]]></dc:creator>
		<pubDate>Thu, 28 Jul 2011 14:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-4089</guid>
		<description><![CDATA[Hi. Somehow I&#039;ve missed all the OOCSS story, so I developed a parallel philosophy - for my project. My way is simular to OOCSS, but not exactly. I also divide structure from elements (to be able to position blocks on pages independly). The thing is, that I use &quot;namespaces&quot; - they are just a chain of class names in BODY, representing navigational path, just to be able to speak to the .element_x on one page different, than to the same .element_x on the other page. I pack namespaces into variables and use in SASS like that:

in my _variables.sass partial I write:
$picturesTemplate: &quot;.bigproject.our_products.product_x.product_x_pictures&quot;

in my partial _picturesHeader.sass, that describes this particular element:
body
   &amp;#{$picturesTemplate}
       .element_x

Doing so you can have both  &quot;library&quot; for typical .element_x styles as well as be able to write alteration easily. If I have to differenciate between many nearly--the-same elements on one page (what is very rarely), I can alway simply put one more level to the selector and use descending selection. Or, if the elements are too different, just handle them as different elements and give them different names.

Sorry for the grammar - English is not my strength :)]]></description>
		<content:encoded><![CDATA[<p>Hi. Somehow I&#8217;ve missed all the OOCSS story, so I developed a parallel philosophy &#8211; for my project. My way is simular to OOCSS, but not exactly. I also divide structure from elements (to be able to position blocks on pages independly). The thing is, that I use &#8220;namespaces&#8221; &#8211; they are just a chain of class names in BODY, representing navigational path, just to be able to speak to the .element_x on one page different, than to the same .element_x on the other page. I pack namespaces into variables and use in SASS like that:</p>
<p>in my _variables.sass partial I write:<br />
$picturesTemplate: &#8220;.bigproject.our_products.product_x.product_x_pictures&#8221;</p>
<p>in my partial _picturesHeader.sass, that describes this particular element:<br />
body<br />
   &amp;#{$picturesTemplate}<br />
       .element_x</p>
<p>Doing so you can have both  &#8220;library&#8221; for typical .element_x styles as well as be able to write alteration easily. If I have to differenciate between many nearly&#8211;the-same elements on one page (what is very rarely), I can alway simply put one more level to the selector and use descending selection. Or, if the elements are too different, just handle them as different elements and give them different names.</p>
<p>Sorry for the grammar &#8211; English is not my strength :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Howell</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-4087</link>
		<dc:creator><![CDATA[Michael Howell]]></dc:creator>
		<pubDate>Thu, 30 Jun 2011 00:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-4087</guid>
		<description><![CDATA[Stupid Wordpress stripping my HTML.

I wanted the first one to have:
&lt;div class=&quot;media comment&quot;&gt;...&lt;/div&gt;
&lt;div class=&quot;media&quot;&gt;...&lt;/div&gt;

And the second to have:
&lt;div class=&quot;comment&quot;&gt;...&lt;/div&gt;
&lt;div class=&quot;menuItem&quot;&gt;...&lt;/div&gt;]]></description>
		<content:encoded><![CDATA[<p>Stupid WordPress stripping my HTML.</p>
<p>I wanted the first one to have:<br />
&lt;div class=&#8221;media comment&#8221;&gt;&#8230;&lt;/div&gt;<br />
&lt;div class=&#8221;media&#8221;&gt;&#8230;&lt;/div&gt;</p>
<p>And the second to have:<br />
&lt;div class=&#8221;comment&#8221;&gt;&#8230;&lt;/div&gt;<br />
&lt;div class=&#8221;menuItem&#8221;&gt;&#8230;&lt;/div&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Howell</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-4086</link>
		<dc:creator><![CDATA[Michael Howell]]></dc:creator>
		<pubDate>Thu, 30 Jun 2011 00:20:46 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-4086</guid>
		<description><![CDATA[How about reversing the diagram? Instead of having subclasses &quot;inheriting&quot; the base class, having the base class &quot;willing&quot; the styles to the subclass?

For example, instead of this CSS and HTML:
.media { ... }
.comment { ... }
...
...

Have this?:
.media, .comment, .menuitem { ... }
.comment { ... }
...
...]]></description>
		<content:encoded><![CDATA[<p>How about reversing the diagram? Instead of having subclasses &#8220;inheriting&#8221; the base class, having the base class &#8220;willing&#8221; the styles to the subclass?</p>
<p>For example, instead of this CSS and HTML:<br />
.media { &#8230; }<br />
.comment { &#8230; }<br />
&#8230;<br />
&#8230;</p>
<p>Have this?:<br />
.media, .comment, .menuitem { &#8230; }<br />
.comment { &#8230; }<br />
&#8230;<br />
&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dale Sande</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-4083</link>
		<dc:creator><![CDATA[Dale Sande]]></dc:creator>
		<pubDate>Mon, 11 Apr 2011 18:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-4083</guid>
		<description><![CDATA[Semantic CSS and OOCSS, dogmatically, will never live together in harmony.  It is clearly one or the other.  Following the OOCSS model you will quickly start creating a library of non-semantic css &#039;widgets&#039; that you apply to your markup. 

Being a preacher of building a project styleguide, I was OOCSS before OOCSS was a thing.  But now becoming a more experienced Ruby developer, I am coming to the same conclusions as you are with the coupling of OOCSS and SASS.  In fact, I can&#039;t see any other way of doing it.  

A great example.  I am working on a project where I have aside bubbles for additional information.  Going with OOCSS I would need to have a class of something like &quot;more_information&quot; appended to both to cover the simular UI cases.  Then to adjust for the delta between the two, I then would add the class of &#039;call_to_action&#039; and &#039;white_papers&#039;.  

But using SASS, I can simply use the single semantic class and then using the similar UI as a mixin within SASS, I can reuse that style without copying and pasting. 

So in essence, I guess what we are saying here is in principal the same thing, build re-useable elements within your CSS and have a way to easily re-use that code.  

I guess you could say, OOSASS?]]></description>
		<content:encoded><![CDATA[<p>Semantic CSS and OOCSS, dogmatically, will never live together in harmony.  It is clearly one or the other.  Following the OOCSS model you will quickly start creating a library of non-semantic css &#8216;widgets&#8217; that you apply to your markup. </p>
<p>Being a preacher of building a project styleguide, I was OOCSS before OOCSS was a thing.  But now becoming a more experienced Ruby developer, I am coming to the same conclusions as you are with the coupling of OOCSS and SASS.  In fact, I can&#8217;t see any other way of doing it.  </p>
<p>A great example.  I am working on a project where I have aside bubbles for additional information.  Going with OOCSS I would need to have a class of something like &#8220;more_information&#8221; appended to both to cover the simular UI cases.  Then to adjust for the delta between the two, I then would add the class of &#8216;call_to_action&#8217; and &#8216;white_papers&#8217;.  </p>
<p>But using SASS, I can simply use the single semantic class and then using the similar UI as a mixin within SASS, I can reuse that style without copying and pasting. </p>
<p>So in essence, I guess what we are saying here is in principal the same thing, build re-useable elements within your CSS and have a way to easily re-use that code.  </p>
<p>I guess you could say, OOSASS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hugh</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-4081</link>
		<dc:creator><![CDATA[hugh]]></dc:creator>
		<pubDate>Sun, 20 Mar 2011 13:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-4081</guid>
		<description><![CDATA[Perhaps it&#039;s no coincidence that semantic and pedantic rhyme.   Yes, it is a good idea to name classes where possible in a way that describes their content and role.  But semantic markup is surely trumped by efficient  CSS... A little more markup can mean much, much less CSS. 

Faster development time and faster download times are prizes that are worth having at the expense of pedantic markup and if somebody says it&#039;s not semantic, I think the correct response is to shrug the shoulders.]]></description>
		<content:encoded><![CDATA[<p>Perhaps it&#8217;s no coincidence that semantic and pedantic rhyme.   Yes, it is a good idea to name classes where possible in a way that describes their content and role.  But semantic markup is surely trumped by efficient  CSS&#8230; A little more markup can mean much, much less CSS. </p>
<p>Faster development time and faster download times are prizes that are worth having at the expense of pedantic markup and if somebody says it&#8217;s not semantic, I think the correct response is to shrug the shoulders.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lance Otis</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-4080</link>
		<dc:creator><![CDATA[Lance Otis]]></dc:creator>
		<pubDate>Tue, 15 Mar 2011 06:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-4080</guid>
		<description><![CDATA[Extend a class? The approach suggested in OOCSS is to change the (HTML) markup. 
The downside: changing every html page every time you want to extend the class differently. ???]]></description>
		<content:encoded><![CDATA[<p>Extend a class? The approach suggested in OOCSS is to change the (HTML) markup.<br />
The downside: changing every html page every time you want to extend the class differently. ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OOCSS: Reutilizando al máximo los CSS @ hdennison.com : Blog profesional de Harold Dennison</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-3983</link>
		<dc:creator><![CDATA[OOCSS: Reutilizando al máximo los CSS @ hdennison.com : Blog profesional de Harold Dennison]]></dc:creator>
		<pubDate>Sat, 11 Sep 2010 22:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-3983</guid>
		<description><![CDATA[[...] que no soy el único con esta mentalidad, y se pueden encontrar por ahí algunos apuntes sobre como combinar OOCSS con SASS y técnicas similares para poder minimizar este &#8220;problema&#8221;, pero aún no me he puesto a [...]]]></description>
		<content:encoded><![CDATA[<p>[...] que no soy el único con esta mentalidad, y se pueden encontrar por ahí algunos apuntes sobre como combinar OOCSS con SASS y técnicas similares para poder minimizar este &#8220;problema&#8221;, pero aún no me he puesto a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bburcham</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-3921</link>
		<dc:creator><![CDATA[bburcham]]></dc:creator>
		<pubDate>Wed, 12 Aug 2009 20:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-3921</guid>
		<description><![CDATA[I like Blueprint a lot Sam. As for Compass, I&#039;ve been leaning away from it (yet another language). Instead I&#039;m using good old ERB templates to gain dynamism in my stylesheets. See &lt;a href=&quot;http://blog.thoughtpropulsion.com/twips/4&quot; rel=&quot;nofollow&quot;&gt;Dynamic CSS Goop&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>I like Blueprint a lot Sam. As for Compass, I&#8217;ve been leaning away from it (yet another language). Instead I&#8217;m using good old ERB templates to gain dynamism in my stylesheets. See <a href="http://blog.thoughtpropulsion.com/twips/4" rel="nofollow">Dynamic CSS Goop</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-3920</link>
		<dc:creator><![CDATA[Sam]]></dc:creator>
		<pubDate>Wed, 12 Aug 2009 08:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-3920</guid>
		<description><![CDATA[Whilst I really like some of the concepts introduced by OOCSS, I shared your reservations about using so many classes in the markup. We&#039;re currently using the Compass interpretation of Blueprint on a new project and I find it extremely helpful - although the initial learning curve can be difficult, as the extra layers of abstraction means you have to approach debugging somewhat differently.]]></description>
		<content:encoded><![CDATA[<p>Whilst I really like some of the concepts introduced by OOCSS, I shared your reservations about using so many classes in the markup. We&#8217;re currently using the Compass interpretation of Blueprint on a new project and I find it extremely helpful &#8211; although the initial learning curve can be difficult, as the extra layers of abstraction means you have to approach debugging somewhat differently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clay McIlrath</title>
		<link>http://memerocket.com/2009/03/28/oocss-sass-fewer-classes-on-your-elements/#comment-3908</link>
		<dc:creator><![CDATA[Clay McIlrath]]></dc:creator>
		<pubDate>Mon, 29 Jun 2009 18:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://memerocket.com/?p=164#comment-3908</guid>
		<description><![CDATA[Semantics and OOCSS will never mix. OOCSS definitely has some great advantages and I already apply some of these concepts already to extend classes.

ex: .sidebar { ... } .sidebar.left { float: left; }

But as you can see from my example here, I am mixing two conflicting concepts. Semantics say i should define all my styles related to sidebar WITHIN sidebar, but OOCSS says i should make my classes extend by using multiple classes.

So where&#039;s the middle ground? A little bit of everything. Too much OOCSS and you&#039;ll quickly be infected with classitis.. too much semantics and you&#039;ll quickly have 30k of styles.

In my opinion, put semantics FIRST and keep it flexible with extended classes especially with floating and widths.]]></description>
		<content:encoded><![CDATA[<p>Semantics and OOCSS will never mix. OOCSS definitely has some great advantages and I already apply some of these concepts already to extend classes.</p>
<p>ex: .sidebar { &#8230; } .sidebar.left { float: left; }</p>
<p>But as you can see from my example here, I am mixing two conflicting concepts. Semantics say i should define all my styles related to sidebar WITHIN sidebar, but OOCSS says i should make my classes extend by using multiple classes.</p>
<p>So where&#8217;s the middle ground? A little bit of everything. Too much OOCSS and you&#8217;ll quickly be infected with classitis.. too much semantics and you&#8217;ll quickly have 30k of styles.</p>
<p>In my opinion, put semantics FIRST and keep it flexible with extended classes especially with floating and widths.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

