<?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: Impressions of the Blueprint CSS Framework</title>
	<atom:link href="http://wildbit.com/blog/2008/10/29/impressions-of-the-blueprint-css-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://wildbit.com/blog/2008/10/29/impressions-of-the-blueprint-css-framework/</link>
	<description>Thoughts on building web apps, businesses, and virtual teams</description>
	<lastBuildDate>Fri, 11 May 2012 16:40:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dan Kubb</title>
		<link>http://wildbit.com/blog/2008/10/29/impressions-of-the-blueprint-css-framework/comment-page-1/#comment-2534</link>
		<dc:creator>Dan Kubb</dc:creator>
		<pubDate>Wed, 29 Oct 2008 18:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.wildbit.com/?p=268#comment-2534</guid>
		<description>I don&#039;t really use Blueprint (yet) but I have done a bit of research on it and it appears some of the cons you mention are being addressed.

The compress utility included with Blueprint allows you to map semantic names like #header and #footer to map to .span-24 for example.  You configure the mapping in a YAML file and run the compression script to process the source Blueprint files and output a customized version.

As far as unused rules go, that doesn&#039;t sound like a particularly difficult problem to solve programatically.  Last year I wrote a small utility that scanned the HTML on a page and figured out which CSS rules were not being used: http://gist.github.com/15470

Using the same basic approach a bot could crawl the site (or a list of files), keep track of which CSS rules are used, and then rewrite the CSS to include only those rules.  You could have a list of rules to keep that may not necessarily appear on a crawled page (like styles for error messages).  It could also filter out duplicate rules, so that the later rules overwrite the former ones.. that way you could alter the styles without actually changing the Blueprint source.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t really use Blueprint (yet) but I have done a bit of research on it and it appears some of the cons you mention are being addressed.</p>
<p>The compress utility included with Blueprint allows you to map semantic names like #header and #footer to map to .span-24 for example.  You configure the mapping in a YAML file and run the compression script to process the source Blueprint files and output a customized version.</p>
<p>As far as unused rules go, that doesn&#8217;t sound like a particularly difficult problem to solve programatically.  Last year I wrote a small utility that scanned the HTML on a page and figured out which CSS rules were not being used: <a href="http://gist.github.com/15470" rel="nofollow">http://gist.github.com/15470</a></p>
<p>Using the same basic approach a bot could crawl the site (or a list of files), keep track of which CSS rules are used, and then rewrite the CSS to include only those rules.  You could have a list of rules to keep that may not necessarily appear on a crawled page (like styles for error messages).  It could also filter out duplicate rules, so that the later rules overwrite the former ones.. that way you could alter the styles without actually changing the Blueprint source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Bicking</title>
		<link>http://wildbit.com/blog/2008/10/29/impressions-of-the-blueprint-css-framework/comment-page-1/#comment-2533</link>
		<dc:creator>Ian Bicking</dc:creator>
		<pubDate>Wed, 29 Oct 2008 18:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.wildbit.com/?p=268#comment-2533</guid>
		<description>I&#039;ve been a little frustrated when I look into CSS frameworks, because the core of the idea is good -- even important -- but the implementations don&#039;t seem to live up to the potential.  Instead of controlling your layout with specific classes and ids you put in the page, the classes and ids should be fairly static and should be accompanied with the appropriate stylesheet.  That is, a framework should be a set of stylesheets, or some kind of stylesheet builder, along with conventions about how you mark up your HTML.

That would probably also handle the problem of bloat, as you could choose the CSS features you want.  An even better system would be one with markers in comments so these modules could be added or removed from the stylesheet after it has been edited.  A toolchain that accepted CSS variables (maybe more constrained than the actual spec, but at least resolving intrastylesheet variables) would also help avoid expected edits directly to the stylesheet, and thus make upgrades easier.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been a little frustrated when I look into CSS frameworks, because the core of the idea is good &#8212; even important &#8212; but the implementations don&#8217;t seem to live up to the potential.  Instead of controlling your layout with specific classes and ids you put in the page, the classes and ids should be fairly static and should be accompanied with the appropriate stylesheet.  That is, a framework should be a set of stylesheets, or some kind of stylesheet builder, along with conventions about how you mark up your HTML.</p>
<p>That would probably also handle the problem of bloat, as you could choose the CSS features you want.  An even better system would be one with markers in comments so these modules could be added or removed from the stylesheet after it has been edited.  A toolchain that accepted CSS variables (maybe more constrained than the actual spec, but at least resolving intrastylesheet variables) would also help avoid expected edits directly to the stylesheet, and thus make upgrades easier.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

