<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	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>Kamirao Blog</title>
	<atom:link href="http://kamirao.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kamirao.wordpress.com</link>
	<description>Unique stuff - I hope...</description>
	<lastBuildDate>Thu, 25 Aug 2011 09:48:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kamirao.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Kamirao Blog</title>
		<link>http://kamirao.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kamirao.wordpress.com/osd.xml" title="Kamirao Blog" />
	<atom:link rel='hub' href='http://kamirao.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Digg like navigation bar with CSS3 (almost)</title>
		<link>http://kamirao.wordpress.com/2009/01/12/digg-like-navigation-bar-with-css3-almost/</link>
		<comments>http://kamirao.wordpress.com/2009/01/12/digg-like-navigation-bar-with-css3-almost/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 14:51:21 +0000</pubDate>
		<dc:creator>kamirao</dc:creator>
				<category><![CDATA[web design]]></category>
		<category><![CDATA[css 3.0]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://kamirao.wordpress.com/?p=11</guid>
		<description><![CDATA[I wonder how easy it is to create a digg like navigation bar with CSS3. No JavaScript, no images. The basic feature provided by CSS3 for such navigation bar is border-radius. Currently, firefox and all webkit based browsers support this &#8230; <a href="http://kamirao.wordpress.com/2009/01/12/digg-like-navigation-bar-with-css3-almost/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kamirao.wordpress.com&amp;blog=5437115&amp;post=11&amp;subd=kamirao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wonder how easy it is to create a <a href="http://digg.com">digg</a> like navigation bar with CSS3. No JavaScript, no images. The basic feature provided by CSS3 for such navigation bar is <strong>border-radius</strong>.</p>
<p>Currently, firefox and all webkit based browsers support this feature. For firefox, we use <strong>-moz-border-radius</strong> and for webkit based browsers we use <strong>-webkit-border-radius</strong>. So here it is&#8230;</p>
<p>The HTML:</p>
<blockquote><p>&lt;div id=&#8221;nav&#8221;&gt;<br />
&lt;a class=&#8221;current&#8221; href=&#8221;#&#8221;&gt;Home&lt;/a&gt;<br />
&lt;a href=&#8221;#&#8221;&gt;About&lt;/a&gt;<br />
&lt;a href=&#8221;#&#8221;&gt;Services&lt;/a&gt;<br />
&lt;a href=&#8221;#&#8221;&gt;Products&lt;/a&gt;<br />
&lt;a href=&#8221;#&#8221;&gt;Solutions&lt;/a&gt;<br />
&lt;a href=&#8221;#&#8221;&gt;Contact&lt;/a&gt;<br />
&lt;/div&gt;</p></blockquote>
<p>The CSS:</p>
<blockquote><p>#nav {<br />
background: #90b557;<br />
height: 32px;<br />
padding: 12px 0 0 10px;<br />
}</p>
<p>#nav a {<br />
padding: 4px 8px;<br />
margin: 0 10px;<br />
color: #334D0F;<br />
font-family: Trebuchet MS,Arial,sans-serif;<br />
font-weight: bold;<br />
font-size: 12px;<br />
text-decoration: none;<br />
-moz-border-radius: 4px;<br />
-webkit-border-radius: 4px;<br />
}</p>
<p>#nav a:hover {<br />
background: #deeec2;<br />
}</p>
<p>#nav a.current {<br />
background: #deeec2;<br />
color: #000000;<br />
}</p></blockquote>
<p><a href="http://kami.freehostia.com/digg.html" target="_blank"><img class="alignnone size-full wp-image-44" title="digg-nav" src="http://kamirao.files.wordpress.com/2009/01/digg-nav.jpg?w=640" alt="digg-nav"   /></a></p>
<p>With a little more tweaking I was able to make a navigation bar just like <a href="http://www.smashingmagazine.com">smashingmagazine.com</a>. Here is the CSS:</p>
<blockquote><p>#nav {<br />
background: #404040;<br />
height: 32px;<br />
padding: 12px 0 0 10px;<br />
border-top: 4px solid #eb4c07;<br />
}</p>
<p>#nav a {<br />
padding: 4px 8px;<br />
margin: 0 10px;<br />
color: #ffffff;<br />
font-family: Trebuchet MS,Arial,sans-serif;<br />
font-weight: bold;<br />
font-size: 12px;<br />
text-decoration: none;<br />
text-transform: uppercase;<br />
-moz-border-radius: 4px;<br />
-webkit-border-radius: 4px;<br />
}</p>
<p>#nav a:hover {<br />
background: #5a5a5a;<br />
}</p>
<p>#nav a.current {<br />
background: #eb4c07;<br />
}</p></blockquote>
<p><a href="http://kami.freehostia.com/smashingmagazine.html" target="_blank"><img class="alignnone size-full wp-image-45" title="smashingmagazine-nav" src="http://kamirao.files.wordpress.com/2009/01/smashingmagazine-nav.jpg?w=640" alt="smashingmagazine-nav"   /></a></p>
<p>I have tested it on Firefox 3.0.5 and 3.1 Beta 2 and it works. I hope it also works well with all Webkit based browsers. Other browsers will not be able to render curved corners but otherwise OK.<br />
<a href="http://del.icio.us/post?url=http://kamirao.wordpress.com/2009/01/12/digg-like-navigation-bar-with-css3-almost/" target="_self"><img class="alignnone size-full wp-image-47" title="delicious" src="http://kamirao.files.wordpress.com/2009/01/delicious_32x32.png?w=640" alt="delicious"   /></a><a href="http://digg.com/submit?phase=2&amp;url=http://kamirao.wordpress.com/2009/01/12/digg-like-navigation-bar-with-css3-almost/" target="_self"><img class="alignnone size-full wp-image-50" title="digg" src="http://kamirao.files.wordpress.com/2009/01/digg_32x321.png?w=640" alt="digg"   /></a><a href="http://www.stumbleupon.com/submit?url=url=http://kamirao.wordpress.com/2009/01/12/digg-like-navigation-bar-with-css3-almost/" target="_self"><img class="alignnone size-full wp-image-49" title="stumbleupon_32x32" src="http://kamirao.files.wordpress.com/2009/01/stumbleupon_32x32.png?w=640" alt="stumbleupon_32x32"   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kamirao.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kamirao.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kamirao.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kamirao.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kamirao.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kamirao.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kamirao.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kamirao.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kamirao.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kamirao.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kamirao.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kamirao.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kamirao.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kamirao.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kamirao.wordpress.com&amp;blog=5437115&amp;post=11&amp;subd=kamirao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kamirao.wordpress.com/2009/01/12/digg-like-navigation-bar-with-css3-almost/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7690df3211e7e9f314204323bbdfe805?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kamirao</media:title>
		</media:content>

		<media:content url="http://kamirao.files.wordpress.com/2009/01/digg-nav.jpg" medium="image">
			<media:title type="html">digg-nav</media:title>
		</media:content>

		<media:content url="http://kamirao.files.wordpress.com/2009/01/smashingmagazine-nav.jpg" medium="image">
			<media:title type="html">smashingmagazine-nav</media:title>
		</media:content>

		<media:content url="http://kamirao.files.wordpress.com/2009/01/delicious_32x32.png" medium="image">
			<media:title type="html">delicious</media:title>
		</media:content>

		<media:content url="http://kamirao.files.wordpress.com/2009/01/digg_32x321.png" medium="image">
			<media:title type="html">digg</media:title>
		</media:content>

		<media:content url="http://kamirao.files.wordpress.com/2009/01/stumbleupon_32x32.png" medium="image">
			<media:title type="html">stumbleupon_32x32</media:title>
		</media:content>
	</item>
	</channel>
</rss>
