<?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: Opt-in Typography</title>
	<atom:link href="http://css-tricks.com/opt-in-typography/feed/" rel="self" type="application/rss+xml" />
	<link>http://css-tricks.com/opt-in-typography/</link>
	<description>Tips, Tricks, and Techniques on using Cascading Style Sheets.</description>
	<lastBuildDate>Wed, 19 Jun 2013 16:11:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Wojtek Urbanski</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-180027</link>
		<dc:creator>Wojtek Urbanski</dc:creator>
		<pubDate>Wed, 04 Jul 2012 08:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-180027</guid>
		<description><![CDATA[Great article! Thanks!

I have been using this technique for a while now (5 projects I guess) and it is doing great! Especially in the projects where  you need standard styling for content in few places.

My implementation differs a bit.  My approach, is to identify the common stuff in typography and style it globally. Only after then I scope styling that is specific strictly for &quot;standard&quot; text. This way I get styling that is more universal IMO and has the best of both worlds.]]></description>
		<content:encoded><![CDATA[<p>Great article! Thanks!</p>
<p>I have been using this technique for a while now (5 projects I guess) and it is doing great! Especially in the projects where  you need standard styling for content in few places.</p>
<p>My implementation differs a bit.  My approach, is to identify the common stuff in typography and style it globally. Only after then I scope styling that is specific strictly for &#8220;standard&#8221; text. This way I get styling that is more universal IMO and has the best of both worlds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Vendilli</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-174309</link>
		<dc:creator>Chris Vendilli</dc:creator>
		<pubDate>Sun, 03 Jun 2012 17:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-174309</guid>
		<description><![CDATA[I love this concept. Such a simple way to extend greater control over different elements of your site.]]></description>
		<content:encoded><![CDATA[<p>I love this concept. Such a simple way to extend greater control over different elements of your site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Miglavs</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-173216</link>
		<dc:creator>Ryan Miglavs</dc:creator>
		<pubDate>Tue, 29 May 2012 06:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-173216</guid>
		<description><![CDATA[I&#039;ve worked with sites that do this both ways (basic styles applied universally or only to elements within a certain class container).

While different intelligent folks will work differently, I strongly feel it&#039;s better to have good general styles and then override them as necessary. That&#039;s how CSS is supposed to work.

Setting good defaults saves lots of trouble, for all the situations and modules you (or your client) haven&#039;t made yet.

At some point, someone would forget to apply that &#039;text-module&#039; or &#039;c&#039; or &#039;whatever&#039; class, and then the typography would be wrong and someone would have to change &lt;em&gt;the HTML&lt;/em&gt;. That smells bad. Especially if you&#039;re talking about a system that maybe doesn&#039;t have a great templating system, like Drupal, well, that can become more complicated than you&#039;ll enjoy.

At some point the HTML will not be what you expect right now. This is good, this is the growing web. Even if it remains clean and semantic, it will need to do something different later. CSS is great for this, because you can define default styles to get you most or all of the way there.

I have a much stronger suggestion for you folks who use SASS or LESS: create a reset mixin that contains all your reset styles. Then, in places like your global nav where you want to blow all the defaults away, you can just add in your reset mixin and start fresh.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve worked with sites that do this both ways (basic styles applied universally or only to elements within a certain class container).</p>
<p>While different intelligent folks will work differently, I strongly feel it&#8217;s better to have good general styles and then override them as necessary. That&#8217;s how CSS is supposed to work.</p>
<p>Setting good defaults saves lots of trouble, for all the situations and modules you (or your client) haven&#8217;t made yet.</p>
<p>At some point, someone would forget to apply that &#8216;text-module&#8217; or &#8216;c&#8217; or &#8216;whatever&#8217; class, and then the typography would be wrong and someone would have to change <em>the HTML</em>. That smells bad. Especially if you&#8217;re talking about a system that maybe doesn&#8217;t have a great templating system, like Drupal, well, that can become more complicated than you&#8217;ll enjoy.</p>
<p>At some point the HTML will not be what you expect right now. This is good, this is the growing web. Even if it remains clean and semantic, it will need to do something different later. CSS is great for this, because you can define default styles to get you most or all of the way there.</p>
<p>I have a much stronger suggestion for you folks who use SASS or LESS: create a reset mixin that contains all your reset styles. Then, in places like your global nav where you want to blow all the defaults away, you can just add in your reset mixin and start fresh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-172559</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Fri, 25 May 2012 14:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-172559</guid>
		<description><![CDATA[Excellent Idea and one that we all should have seen.  So easy to do using LESS]]></description>
		<content:encoded><![CDATA[<p>Excellent Idea and one that we all should have seen.  So easy to do using LESS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmed</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-171748</link>
		<dc:creator>Ahmed</dc:creator>
		<pubDate>Mon, 21 May 2012 02:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-171748</guid>
		<description><![CDATA[i like that :D]]></description>
		<content:encoded><![CDATA[<p>i like that :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper Kennis</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-169959</link>
		<dc:creator>Jasper Kennis</dc:creator>
		<pubDate>Fri, 11 May 2012 00:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-169959</guid>
		<description><![CDATA[Scott has a good point here. I think the technique described comes natural to SASS writers, I&#039;ve been doing it for a while now, and well it&#039;s okay as long as you don&#039;t stack to deep, you have to be a little careful..

In my experience, it&#039;s tempting to do things like this:

&lt;pre&gt;&lt;code&gt;
footer, nav {
  /* Some styling for footers and nav */

  &gt; ul {
    /* Some styling for ul in footers and nav */

    li:last-of-type {
      /* Some styling for li in ul in footers and nav */

      a { /* Some styling for a in li in ul in footers and nav */ }

    }

  }

}
&lt;/code&gt;&lt;/pre&gt;

The resulting selector for the nested a elements would be:

&lt;pre&gt;&lt;code&gt;
footer &gt; ul li:last-of-type a, nav &gt; ul li:last-of-type a
&lt;/code&gt;&lt;/pre&gt;

That&#039;s rather big already, and what if this would be wrapped in an article, as part of a sidebar, which SASS and this article might mislead you to do.

Not saying the technique is bad, but keep in mind that nesting too deep will get you enormous selectors, if only for the kb&#039;s, think twice.]]></description>
		<content:encoded><![CDATA[<p>Scott has a good point here. I think the technique described comes natural to SASS writers, I&#8217;ve been doing it for a while now, and well it&#8217;s okay as long as you don&#8217;t stack to deep, you have to be a little careful..</p>
<p>In my experience, it&#8217;s tempting to do things like this:</p>
<pre><code>
footer, nav {
  /* Some styling for footers and nav */

  &gt; ul {
    /* Some styling for ul in footers and nav */

    li:last-of-type {
      /* Some styling for li in ul in footers and nav */

      a { /* Some styling for a in li in ul in footers and nav */ }

    }

  }

}
</code></pre>
<p>The resulting selector for the nested a elements would be:</p>
<pre><code>
footer &gt; ul li:last-of-type a, nav &gt; ul li:last-of-type a
</code></pre>
<p>That&#8217;s rather big already, and what if this would be wrapped in an article, as part of a sidebar, which SASS and this article might mislead you to do.</p>
<p>Not saying the technique is bad, but keep in mind that nesting too deep will get you enormous selectors, if only for the kb&#8217;s, think twice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoram Glob</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-169911</link>
		<dc:creator>Yoram Glob</dc:creator>
		<pubDate>Thu, 10 May 2012 15:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-169911</guid>
		<description><![CDATA[Taking into consideration the HTML5 usage, I think html5.js should be mentioned for older browsers. The HTML5 tags might be problematic with IE&lt;=8]]></description>
		<content:encoded><![CDATA[<p>Taking into consideration the HTML5 usage, I think html5.js should be mentioned for older browsers. The HTML5 tags might be problematic with IE&lt;=8</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve King</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-169779</link>
		<dc:creator>Steve King</dc:creator>
		<pubDate>Thu, 10 May 2012 01:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-169779</guid>
		<description><![CDATA[seems interesting to use typography with ease.I’ve thought about doing my styles this way but then I always felt like it was too “different”. Now I feel silly about not doing it this way.

I think this may be a permanent change in my web development habits.]]></description>
		<content:encoded><![CDATA[<p>seems interesting to use typography with ease.I’ve thought about doing my styles this way but then I always felt like it was too “different”. Now I feel silly about not doing it this way.</p>
<p>I think this may be a permanent change in my web development habits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Chacon</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-169750</link>
		<dc:creator>Michael Chacon</dc:creator>
		<pubDate>Wed, 09 May 2012 21:02:17 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-169750</guid>
		<description><![CDATA[Cool, thanks. It&#039;s rare that a top level element retains it&#039;s styles throughout a project and I always find myself overriding the master styles I set ( which truthfully are usually only relevant to the content area of a site anway).]]></description>
		<content:encoded><![CDATA[<p>Cool, thanks. It&#8217;s rare that a top level element retains it&#8217;s styles throughout a project and I always find myself overriding the master styles I set ( which truthfully are usually only relevant to the content area of a site anway).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Catherine Azzarello</title>
		<link>http://css-tricks.com/opt-in-typography/#comment-169487</link>
		<dc:creator>Catherine Azzarello</dc:creator>
		<pubDate>Tue, 08 May 2012 15:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=16941#comment-169487</guid>
		<description><![CDATA[Gawd! This is brilliant! I&#039;ve been deep in a project for over 6 months now, with a Twitter Bootstrap base. As the project grows (Agile dev) I find myself fighting the cascade as we add new pieces: mobile, iframes, Facebook apps, WordPress, stand-alone HTML, etc.

I will definitely think along these lines as we continue development. And I&#039;m sure going to use this method on new projects!

Thanks!]]></description>
		<content:encoded><![CDATA[<p>Gawd! This is brilliant! I&#8217;ve been deep in a project for over 6 months now, with a Twitter Bootstrap base. As the project grows (Agile dev) I find myself fighting the cascade as we add new pieces: mobile, iframes, Facebook apps, WordPress, stand-alone HTML, etc.</p>
<p>I will definitely think along these lines as we continue development. And I&#8217;m sure going to use this method on new projects!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (User agent is rejected)
Content Delivery Network via cdn.css-tricks.com

 Served from: css-tricks.com @ 2013-06-19 09:12:13 by W3 Total Cache -->