<?xml version="1.0" encoding="iso-8859-1"?>
<!-- PHP/XML RSS Feed by Charanjit Chana - http://www.cchana.co.uk for Be Unequaled -->
<rss version="2.0">
   <channel>
      <title>Charanjit Chana's Blog</title>
      <link>http://blog.charanj.it</link>
      <description>The personal blog of Charanjit Chana</description>
      <language>en-uk</language>
      <category>Technology, design, programming, sport, entertainment</category>
      <pubDate>Tue, 07 Sep 2010 06:10:29 -0700</pubDate>
      <lastBuildDate>Fri, 27 Aug 2010 16:47:38 -0700</lastBuildDate>     
      <docs>http://www.rssboard.org/rss-specification</docs>
      <managingEditor>hello@charanj.it</managingEditor>
      <webMaster>hello@charanj.it</webMaster>
    <item>
                      <title>Blurred text in CSS</title>
	              <link>http://blog.charanj.it/post/164/blurred-text-in-css</link>
	              <description><![CDATA[
	              <p>It's possible to make text looked blurred using just CSS3. See the examples below, just hover over the first bit of text to see the possibility of using blurred text as a hover state.<br />
<br />
<style type="text/css">h1.blurred { color: #000; } div.shadow-box { background-color: #000; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; height: 100px; width: 100px; } div.shadow-box:hover { background-color: #888; box-shadow: 0 0 5px #000; -moz-box-shadow: 0 0 5px #000; -webkit-box-shadow: 0 0 5px #000; } h1.blurred:hover, .already { cursor: pointer; color: #888!important; text-shadow: 0 0 5px #222; }</style><h1 class="blurred">Some blurred text</h1><h1 class="blured already">Some blurred text</h1><br />
<div class="shadow-box""></div><br />
Above, you can see some examples of blurred text in browsers that support CSS3<br />
<br />
The trick is to change the colour of the element and either apply the <em>text-shadow</em> or <em>box-shadow</em> properties through CSS. Using the <em>:hover</em> pseudo-class you can create a blurred/unblurred effect<br />
<br />
</p><h4>Example:</h4><p><br />
<strong>HTML:</strong><br />
</p><div class="pre code"><pre>
&amp;lt;h1 class=&amp;quot;blurred&amp;quot;&amp;gt;Blurred text&amp;lt;/h1&amp;gt;
</pre></div><p><br />
<br />
<strong>CSS:</strong><br />
</p><div class="pre code"><pre>
h1.blurred {
	color: #FFF;
}
h1.blurred:hover {
	cursor: pointer;
	color: #666!important;
	text-shadow: 0 0 5px #444;
}
</pre></div><p><br />
<br />
The colours need to be selected carefully, as the shadows are often a bit lighter than the foreground text colour. Shadow size also plays a role. 5px seems to be effective, but 10px can wash the colour out.<br />
<br />
To apply the effect to a block element, you'll need to use the <em>box-shadow</em> property instead of the <em>text-shadow</em> property, but otherwise it's the the same.<br />
<br />
For more effects, you could apply opacity to make the text a little see through and see how that works out!<br />
<br />
If you find this useful, please check out my <a href="http://charanj.it?ref=blurred-text" onclick="window.open(this.href); return false;">portfolio site</a>.</p>
	              ]]></description>
	              <pubDate>Tue, 22 Dec 2009 15:41:45</pubDate>
	            </item>
		    <item>
                      <title>New portfolio is live!</title>
	              <link>http://blog.charanj.it/post/161/new-portfolio-is-live-</link>
	              <description><![CDATA[
	              <p>I tweeted a few things about my new portfolio and I finally got it up yesterday evening!<br />
<br />
I feel that it showcases my talents a lot better than the last version and has a lot more personality! The site is built in HTML5 and uses CSS3, it should degrade nicely down to XHTML and CSS2.<br />
<br />
Quite a bit of jQuery, but all unobtrusive. As has become my signature, the site doesn't work in IE6, but I really couldn't care!<br />
<br />
Check out <a href="http://charanj.it" onclick="window.open(this.href); return false;">charanj.it</a>!</p>
	              ]]></description>
	              <pubDate>Wed, 4 Nov 2009 17:29:51</pubDate>
	            </item>
		    </channel>
</rss>