<?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/"
	>

<channel>
	<title>naioo.com - Design // Dev // Inspiration &#187; CSS</title>
	<atom:link href="http://naioo.com/blog/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://naioo.com/blog</link>
	<description>Graphic Design, Web Development &#38; Inspiration</description>
	<lastBuildDate>Wed, 01 Feb 2012 19:27:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Weekend Links #1</title>
		<link>http://naioo.com/blog/weekend-links-1/</link>
		<comments>http://naioo.com/blog/weekend-links-1/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 11:34:40 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[freefont]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[weekend]]></category>

		<guid isPermaLink="false">http://naioo.com/blog/?p=63</guid>
		<description><![CDATA[Some inspiring sites &#38; articles to take a look at: Smooth scrolling background with CSS &#38; JavaScript Great: Pure CSS rolling Coke Can Monster drawings from children painted by an artist Freefont &#8220;PT Sans&#8221; by Paratype And of course, something on the iPad &#8211; interesting read! I&#8217;ll make some changes to my blog within the [...]]]></description>
			<content:encoded><![CDATA[<p>Some inspiring sites &amp; articles to take a look at:</p>
<ul>
<li><a href="http://youlove.us/blog/the-youloveus-scrolling-background-effect-explained" target="_blank">Smooth scrolling background with CSS &amp; JavaScript</a></li>
<li>Great: <a href="http://www.romancortes.com/blog/pure-css-coke-can/" target="_blank">Pure CSS rolling Coke Can</a></li>
<li><a href="http://unrealitymag.com/index.php/2010/01/27/monster-drawings-painted-realistically/">Monster drawings from children painted by an artist</a></li>
<li><a href="http://fonts.ru/public/" target="_blank">Freefont &#8220;PT Sans&#8221; by Paratype</a></li>
<li>And of course, <a href="http://www.usabilitypost.com/2010/01/29/on-the-ipad/" target="_blank">something on the iPad</a> &#8211; interesting read!</li>
</ul>
<p>I&#8217;ll make some changes to my blog within the next days. The footer finally needs some content, a search field is still missing and the sidebar looks a bit empty by now. There are still a lot of things to do around here&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://naioo.com/blog/weekend-links-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Creating Dynamic Buttons With CSS3</title>
		<link>http://naioo.com/blog/creating-dynamic-buttons-with-css3/</link>
		<comments>http://naioo.com/blog/creating-dynamic-buttons-with-css3/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 19:07:19 +0000</pubDate>
		<dc:creator>Henning</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[buttons]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://naioo.com/blog/?p=35</guid>
		<description><![CDATA[Creating buttons with CSS becomes a lot more comfortable. The following example demonstrates how to create nice looking, dynamic buttons that are fully scaleable using the new CSS3 properties border-radius, box-shadow and RGBa. Update! This example uses a small background gradient image to achieve the plastic look of the button. Click here for an updated [...]]]></description>
			<content:encoded><![CDATA[<p>Creating buttons with CSS becomes a lot more comfortable. The following example demonstrates how to create nice looking, dynamic buttons that are fully scaleable using the new CSS3 properties <strong>border-radius</strong>, <strong>box-shadow</strong> and <strong>RGBa</strong>.</p>
<p><img class="alignnone size-full wp-image-45" title="CSS-Buttons" src="http://naioo.com/blog/wp-content/uploads/2010/01/css-buttons.jpg" alt="CSS-Buttons" width="558" height="90" /></p>
<p><span id="more-35"></span></p>
<h2>Update!</h2>
<p>This example uses a small background gradient image to achieve the plastic look of the button. <a title="CSS3 buttons without images" href="http://naioo.com/blog/css3-buttons-without-any-images/">Click here for an updated version of the CSS buttons without any images at all.</a></p>
<h2>The main CSS markup</h2>
<pre>.btn {
	display: inline-block;
	background: url(btn.bg.png) repeat-x 0px 0px;
	padding:5px 10px 6px 10px;
	font-weight:bold;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
	border:1px solid rgba(0,0,0,0.4);
	-moz-border-radius: 5px;
	-moz-box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}</pre>
<p>By using RGBa color values, the button and text shadows always blend well with any color we&#8217;ll add to our button later on. No matter if we want the button to be green, red or blue. The code above always stays the same.</p>
<p><img class="alignnone size-full wp-image-60" title="CSS3-Buttons" src="http://naioo.com/blog/wp-content/uploads/2010/01/css-buttons-colors.jpg" alt="CSS3-Buttons" width="558" height="90" /></p>
<p>Using the common hex-values, we would get a result similar to the one on the right when hovering the button.</p>
<h2>Adding the color</h2>
<pre>.blue		{background-color: #CCCCCC; color: #141414;}
.blue:hover	{background-color: #00c0ff; color: #ffffff;}

.green		{background-color: #CCCCCC; color: #141414;}
.green:hover	{background-color: #8aff00; color: #ffffff;}

.red		{background-color: #CCCCCC; color: #141414;}
.red:hover	{background-color: #ff004e; color: #ffffff;}</pre>
<p>This is where we define the different color variations. All we need to change is the text- and background color along with the mouseover/hover values. To change the color of a button, just attach the corresponding class to the main button class.</p>
<p><a href="http://files.naioo.com/css3-buttons/creating-dynamic-buttons-with-css3.html" target="_blank">Click here for a live demo.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://naioo.com/blog/creating-dynamic-buttons-with-css3/feed/</wfw:commentRss>
		<slash:comments>68</slash:comments>
		</item>
	</channel>
</rss>

