<?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/"
		>
<channel>
	<title>Comments on: How to create CSS objects? Get the granularity right!</title>
	<atom:link href="http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/</link>
	<description>A Term of Endearment</description>
	<lastBuildDate>Mon, 07 May 2012 17:31:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Nicole Sullivan</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-18504</link>
		<dc:creator>Nicole Sullivan</dc:creator>
		<pubDate>Thu, 27 Jan 2011 19:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-18504</guid>
		<description>I don&#039;t use compound selectors. They aren&#039;t necessary.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t use compound selectors. They aren&#8217;t necessary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-18503</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 27 Jan 2011 19:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-18503</guid>
		<description>Hi there,

I wonder if you saw the comment and question from Jesse. Any thoughts or experience with that approach in regards to performance, wins or fails.

Best,
Michael</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I wonder if you saw the comment and question from Jesse. Any thoughts or experience with that approach in regards to performance, wins or fails.</p>
<p>Best,<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hollingsworth</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-14291</link>
		<dc:creator>Peter Hollingsworth</dc:creator>
		<pubDate>Wed, 07 Jul 2010 18:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-14291</guid>
		<description>When I create a top-level class like this I find it helpful to UPPERCASE the name to avoid conflicts. So I can use .comment wherever I want, but if I run across .COMMENT, I know it&#039;s a sitewide element and has CSS already defined for it.</description>
		<content:encoded><![CDATA[<p>When I create a top-level class like this I find it helpful to UPPERCASE the name to avoid conflicts. So I can use .comment wherever I want, but if I run across .COMMENT, I know it&#8217;s a sitewide element and has CSS already defined for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole Sullivan</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-14045</link>
		<dc:creator>Nicole Sullivan</dc:creator>
		<pubDate>Sat, 26 Jun 2010 02:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-14045</guid>
		<description>Ok, the in-depth write-up on the media object is published: http://www.stubbornella.org/content/2010/06/25/the-media-object-saves-hundreds-of-lines-of-code/

This has been great, you guys ask questions, that I then use as the topic of the next post. :D

Thanks for your help!</description>
		<content:encoded><![CDATA[<p>Ok, the in-depth write-up on the media object is published: <a href="http://www.stubbornella.org/content/2010/06/25/the-media-object-saves-hundreds-of-lines-of-code/" rel="nofollow">http://www.stubbornella.org/content/2010/06/25/the-media-object-saves-hundreds-of-lines-of-code/</a></p>
<p>This has been great, you guys ask questions, that I then use as the topic of the next post. <img src='http://www.stubbornella.org/content/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Thanks for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole Sullivan</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-14042</link>
		<dc:creator>Nicole Sullivan</dc:creator>
		<pubDate>Fri, 25 Jun 2010 22:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-14042</guid>
		<description>@Mike I&#039;m not sure I know what you mean, can you show me a screenshot &amp; URL?</description>
		<content:encoded><![CDATA[<p>@Mike I&#8217;m not sure I know what you mean, can you show me a screenshot &amp; URL?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Hairston</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-14028</link>
		<dc:creator>Mike Hairston</dc:creator>
		<pubDate>Thu, 24 Jun 2010 14:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-14028</guid>
		<description>Great writeup! Please do more of these where you work through examples! I&#039;m on my third gig where I&#039;ve used it, and I still get stuck on how to compose objects. You&#039;ve lit a lightbulb for me again...

This seems trivial, but I&#039;m curious: How would you handle the line at the bottom of the story (begins with twitter icon, contains padlock image and ends with @stubbornella) -- two media blocks in a grid? or one media block with an image in the middle of the text? Two blocks seems like markup overkill but better reuse of objects...</description>
		<content:encoded><![CDATA[<p>Great writeup! Please do more of these where you work through examples! I&#8217;m on my third gig where I&#8217;ve used it, and I still get stuck on how to compose objects. You&#8217;ve lit a lightbulb for me again&#8230;</p>
<p>This seems trivial, but I&#8217;m curious: How would you handle the line at the bottom of the story (begins with twitter icon, contains padlock image and ends with @stubbornella) &#8212; two media blocks in a grid? or one media block with an image in the middle of the text? Two blocks seems like markup overkill but better reuse of objects&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A'braham Barakhyahu</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-14020</link>
		<dc:creator>A'braham Barakhyahu</dc:creator>
		<pubDate>Wed, 23 Jun 2010 16:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-14020</guid>
		<description>Do you recommend design guides(html page created to show how css classes are used) still using OOCSS, and would it become easier with OOCSS?  It seems like it would.</description>
		<content:encoded><![CDATA[<p>Do you recommend design guides(html page created to show how css classes are used) still using OOCSS, and would it become easier with OOCSS?  It seems like it would.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Featherstone</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-14014</link>
		<dc:creator>Derek Featherstone</dc:creator>
		<pubDate>Wed, 23 Jun 2010 00:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-14014</guid>
		<description>Nicole -- all I have to say is that I love the way you think. Great stuff, and great explanation. One thing I&#039;d love to see is an example where you convert some overly large rules to something leaner and more object oriented CSS-ish.</description>
		<content:encoded><![CDATA[<p>Nicole &#8212; all I have to say is that I love the way you think. Great stuff, and great explanation. One thing I&#8217;d love to see is an example where you convert some overly large rules to something leaner and more object oriented CSS-ish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-14012</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Tue, 22 Jun 2010 23:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-14012</guid>
		<description>Nicole, thank you for the clarification!  

At my current gig, we&#039;ve decided to ignore IE6 and it&#039;s been spectacular.  I&#039;ve been able to experiment with an approach that I could never hope to put into production before.  But I&#039;ve been running into difficulties.  For instance, what I&#039;d want to do with the HTML in the above comment is this:






and then style them with these selectors

.comment { property: value }
.comment.special { property: value }

What it&#039;s created is a special type of class that can be used for nothing but &lt;strong&gt;inflecting&lt;/strong&gt;.  Inflection as in verb inflection, such as -ed in English to designate past tense.  By doing this, one can never apply styles to .special, or if one does, one runs the risk of unpredictable inheritance.  I could provide more detail, but I don&#039;t want to do it in a comment.

What&#039;s been your experience with compound selectors?</description>
		<content:encoded><![CDATA[<p>Nicole, thank you for the clarification!  </p>
<p>At my current gig, we&#8217;ve decided to ignore IE6 and it&#8217;s been spectacular.  I&#8217;ve been able to experiment with an approach that I could never hope to put into production before.  But I&#8217;ve been running into difficulties.  For instance, what I&#8217;d want to do with the HTML in the above comment is this:</p>
<p>and then style them with these selectors</p>
<p>.comment { property: value }<br />
.comment.special { property: value }</p>
<p>What it&#8217;s created is a special type of class that can be used for nothing but <strong>inflecting</strong>.  Inflection as in verb inflection, such as -ed in English to designate past tense.  By doing this, one can never apply styles to .special, or if one does, one runs the risk of unpredictable inheritance.  I could provide more detail, but I don&#8217;t want to do it in a comment.</p>
<p>What&#8217;s been your experience with compound selectors?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole Sullivan</title>
		<link>http://www.stubbornella.org/content/2010/06/21/css-granularity-architecture/comment-page-1/#comment-14004</link>
		<dc:creator>Nicole Sullivan</dc:creator>
		<pubDate>Tue, 22 Jun 2010 17:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=466#comment-14004</guid>
		<description>@adam, I would do it like this:

.comment {}
.specialComment {}

Where a special comment would extend the comment, assuming they shared enough common styles, so the HTML would be:

&lt;pre&gt;
&lt;p class=&quot;comment&quot;&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p class=&quot;comment specialComment&quot;&gt;&lt;/p&gt;
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>@adam, I would do it like this:</p>
<p>.comment {}<br />
.specialComment {}</p>
<p>Where a special comment would extend the comment, assuming they shared enough common styles, so the HTML would be:</p>
<pre>
&lt;p class=&quot;comment&quot;&gt;&lt;/p&gt;
&lt;p class=&quot;comment specialComment&quot;&gt;&lt;/p&gt;
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: www.stubbornella.org @ 2012-05-16 18:46:01 by W3 Total Cache -->
