<?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>Kenneth D. Nordahl’s blog &#187; css</title>
	<atom:link href="http://blog.nordahl.me/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nordahl.me</link>
	<description>blog</description>
	<lastBuildDate>Wed, 02 Jun 2010 07:59:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New version of fluidGRID online</title>
		<link>http://blog.nordahl.me/design/webdesign/new-version-of-fluidgrid-online/</link>
		<comments>http://blog.nordahl.me/design/webdesign/new-version-of-fluidgrid-online/#comments</comments>
		<pubDate>Tue, 04 May 2010 02:31:19 +0000</pubDate>
		<dc:creator>KDN</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://blog.nordahl.me/?p=715</guid>
		<description><![CDATA[A new version of fluidgrid are available at the new product site.
]]></description>
			<content:encoded><![CDATA[<p>A new version of fluidgrid are available at the <a href="http://products.nordahl.me/fluidGRID">new product site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nordahl.me/design/webdesign/new-version-of-fluidgrid-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3D text with CSS</title>
		<link>http://blog.nordahl.me/news/3d-text-with-css/</link>
		<comments>http://blog.nordahl.me/news/3d-text-with-css/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 21:01:23 +0000</pubDate>
		<dc:creator>KDN</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[3d text]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://blog.nordahl.me/?p=640</guid>
		<description><![CDATA[
You could create 3D text with CSS by adding multple shadows to the text like this:

body{
	background:#373737;
}
h1{
	color: #373737;
	text-shadow: 0 0 5px #111,
	1px 1px 0 #777;
}

]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.nordahl.me/wp-content/uploads/2009/11/nordahl-3d-text.png" alt="nordahl-3d-text" title="nordahl-3d-text" width="600" height="72" class="alignleft size-full wp-image-641" /><br />
You could create 3D text with CSS by adding multple shadows to the text like this:</p>
<pre class="brush: css;">
body{
	background:#373737;
}
h1{
	color: #373737;
	text-shadow: 0 0 5px #111,
	1px 1px 0 #777;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.nordahl.me/news/3d-text-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>@Font-Face in Internet Explorer</title>
		<link>http://blog.nordahl.me/design/webdesign/font-face-in-internet-explorer/</link>
		<comments>http://blog.nordahl.me/design/webdesign/font-face-in-internet-explorer/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 11:24:58 +0000</pubDate>
		<dc:creator>KDN</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://blog.nordahl.me/?p=519</guid>
		<description><![CDATA[Custom fonts in Internet Explorer have been around for ages with @font-face. As you all know Internet Explorer does bearly follow the last generation web standards. If you have read my previous post about @font-face, you know that the font format Embedded OpenType(.eot) works out of the box in IE.
Almost every font you buy/get is [...]]]></description>
			<content:encoded><![CDATA[<p>Custom fonts in Internet Explorer have been around for ages with @font-face. As you all know Internet Explorer does bearly follow the last generation web standards. If you have read my previous post about <a href="http://blog.nordahl.me/webdesign/font-face/">@font-face</a>, you know that the font format <a href="http://en.wikipedia.org/wiki/.eot">Embedded OpenType(.eot)</a> works out of the box in IE.</p>
<p>Almost every font you buy/get is in either <a href="http://en.wikipedia.org/wiki/.ttf">TrueType(.ttf)</a> or <a href="http://en.wikipedia.org/wiki/.otf">OpenType(.otf)</a> format. The first step to get your custom font going in IE is to convert your font into <a href="http://en.wikipedia.org/wiki/.eot">Embedded OpenType(.eot)</a>. </p>
<h5>Convert your font</h5>
<ul>
<li><a href="http://www.kirsle.net/wizards/ttf2eot.cgi">TrueType to Embedded OpenType</a></li>
<li><a href="http://onlinefontconverter.com/">All &#8211; OnlineFontConverter</a></li>
<li><a href="http://www.microsoft.com/typography/WEFT.mspx">Microsoft WEFT</a></li>
<li><a href="http://snook.ca/archives/html_and_css/screencast-converting-ttf2eot">Screencast by Snook &#8211; TTF/OTF to EOT</a>
<li>
</ul>
<p>Upload both your EOT file and your OTF/TTF file to your webserver and declare the CSS like this.</p>
<h5>The magic</h5>
<pre class="brush: css;">
/*
===========================================
Diavlo is a font by Jos Buivenga (exljbris) -&gt; www.exljbris.nl
===========================================
*/
@font-face { font-family: &quot;DiavloLight&quot;; src: url(diavlo_light.eot);  }
@font-face { font-family: &quot;DiavloLight&quot;; src: url(diavlo_light.otf); format(&quot;opentype&quot;); }
</pre>
<p>Remember to declare font-face for IE before you declare it for Firefox/Safari/Opera/All the other browsers that isn&#8217;t stuck in the 90s.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nordahl.me/design/webdesign/font-face-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microformats</title>
		<link>http://blog.nordahl.me/design/webdesign/microformats/</link>
		<comments>http://blog.nordahl.me/design/webdesign/microformats/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 22:30:56 +0000</pubDate>
		<dc:creator>KDN</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.nordahl.me/?p=491</guid>
		<description><![CDATA[
This is a new way of thinking about your data. Microformat are small patterns of HTML/XHTML to represent commonly published things like people, events, blog posts, reviews and tags on webpages. Search engins and browsers use the small snippets of code for a few different things. I&#8217;m going to go through a couple of the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.nordahl.me/wp-content/uploads/2009/10/blog-l-microformat.png" alt="Microformat on an iPhone" title="Microformat on an iPhone" width="600" height="350" class="alignnone size-full wp-image-514" /></p>
<p>This is a new way of thinking about your data. Microformat are small patterns of HTML/XHTML to represent commonly published things like people, events, blog posts, reviews and tags on webpages. Search engins and browsers use the small snippets of code for a few different things. I&#8217;m going to go through a couple of the different microformats in this blog post. You can read more about it on the <a href="http://microformats.org">microformat.org</a> website.</p>
<p><span id="more-491"></span></p>
<p>The purpose of using microformats is to solve a specific problem. It is basic semantic HTML/XHTML, so you can enhance your excisting website with minimal effort.</p>
<p>Search engine gets help from the microformats to determine what kind of content it is reading. Formats like hCard and hCalendar have nativ support in browsers like Firefox and Opera. Devices like iPhone can take advantage of contact information if you use the appropiate microformats.</p>
<ol>
<lh>Table of contents</lh></p>
<li><a href="#hcard">hCard</a></li>
<li><a href="#xfn">XFN &#8211; Xhtml Friend Network</a></li>
<li><a href="#calendar">hCalendar</a></li>
<li><a href="#votelinks">VoteLinks</a></li>
<li><a href="#license">License</a></li>
<li><a href="#tag">Tag</a></li>
</ol>
<p><a name="hcard"></a></p>
<h5>hCard</h5>
<blockquote><p>hCard is a simple, open, distributed format for representing people, companies, organizations, and places, using a 1:1 representation of vCard (<a href="http://microformats.org/wiki/rfc-2426">RFC2426</a>) properties and values in semantic HTML or XHTML. </p></blockquote>
<p><cite>Quote from <a href="http://microformats.org/wiki/hcard">Microformats.org</a> website.</cite></p>
<p>Here is the html markup for my personal hCard.</p>
<pre class="brush: xml;">
&lt;div id=&quot;hcard-Kenneth-Dahlstrøm-Nordahl&quot; class=&quot;vcard&quot;&gt;
&lt;span class=&quot;fn n&quot;&gt;
	&lt;a class=&quot;url&quot; href=&quot;http://nordahl.me&quot;&gt;
		&lt;span class=&quot;given-name&quot;&gt;Kenneth&lt;/span&gt;
		&lt;span class=&quot;additional-name&quot;&gt;Dahlstrøm&lt;/span&gt;
		&lt;span class=&quot;family-name&quot;&gt;Nordahl&lt;/span&gt;
&lt;/a&gt;
&lt;/span&gt;
&lt;a class=&quot;email&quot; href=&quot;mailto:kenneth@nordahl.me&quot;&gt;kenneth@nordahl.me&lt;/a&gt;
&lt;div class=&quot;adr&quot;&gt;
	&lt;span class=&quot;street-address&quot;&gt;Fredriksfrydveien 1&lt;/span&gt;
	&lt;span class=&quot;postal-code&quot;&gt;1792&lt;/span&gt;
	&lt;span class=&quot;locality&quot;&gt;Tistedal&lt;/span&gt;
	&lt;span class=&quot;country-name&quot;&gt;Norway&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;tel&quot;&gt;
&lt;dt&gt;Phone (&lt;span class=&quot;type&quot;&gt;Cell&lt;/span&gt;):&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;value&quot;&gt;+47 45432614&lt;/span&gt;&lt;/dd&gt;
&lt;/div&gt;
&lt;a class=&quot;url skype&quot; href=&quot;callto://kdnmedia&quot;&gt;Call me on skype&lt;/a&gt;
&lt;a class=&quot;url aim&quot; href=&quot;aim:goim?screenname=kenneth@nordahl.me&quot;&gt;IM with me&lt;/a&gt;
&lt;a class=&quot;url msn&quot; href=&quot;msnim:chat?contact=kenneth@nordahl.me&quot;&gt;Add me to your msn&lt;/a&gt;
&lt;a class=&quot;url&quot; href=&quot;kdn.vcf&quot;&gt;&lt;img src=&quot;download.png&quot; alt=&quot;download&quot; class=&quot;download&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;&lt;!-- end of hCard div --&gt;
</pre>
<p>As you can see the only thing you have to do to add this to your site is adding some class and rel attributes. I&#8217;m not going to bother explaining each line since they are pretty self explainary.</p>
<p>Just a little bit of css to make it pretty.</p>
<pre class="brush: css;">
/*
 hCard STYLING
*/
body { background:url(body-bg.jpg) no-repeat #000; background-position:50% 50%; }
.vcard { position:relative; width:235px; height:136px; background:url(kdn-hcard-bg.png) no-repeat #000; margin:100px auto; padding:10px; -webkit-box-shadow:2px 2px 8px #000; -moz-box-shadow:2px 2px 8px #000; box-shadow:2px 2px 8px #000; }
.vcard .download { position:absolute; right:8px; bottom:8px; }
.vcard .given-name,.vcard .additional-name,.vcard .family-name { display:block; float:left; margin-right:3px; margin-bottom:10px; }
.vcard .email { display:block; float:left:; margin-top:10px; margin-bottom:10px; }
.vcard .tel { margin-top:10px; }
.vcard .postal-code,.vcard .country-name { margin-left:45px; }

/*
 TYPGROGRAPHY
*/
/*
===========================================
Diavlo is a font by Jos Buivenga (exljbris) -&gt; www.exljbris.nl
===========================================
*/
@font-face { font-family: &quot;DiavloLight&quot;; src: url(diavlo_light.otf); format(&quot;opentype&quot;); }
body { color:#aaa; font-family:Helvetica Neue,Helvetica; font-size:10px; text-shadow:1px 1px 2px #000; }
a { color:#fff; text-decoration:none; font-style:italic; }
a:hover { text-decoration:underline; }
.given-name,.additional-name,.family-name { font-family:DiavloLight, Helvetica Neue,Helvetica; font-size:14px; }
.license { font-family:DiavloLight, Helvetica Neue,Helvetica; text-align:center; font-variant:small-caps; font-size:12px; text-shadow:1px 1px 2px #000; }
</pre>
<p><a name="xfn"></a></p>
<h5>XFN &#8211; Xhtml Friend Network</h5>
<p>This is used to define links between peoples websites. You can link to your friends/relatives/acquaintances/people you met with the [code]]czo2OlwicmVsPVwiXCJcIjt7WyYqJl19[[/code] attribute. If all the people in your network use this you get a map of your relations.</p>
<pre class="brush: xml;">
&lt;a href=&quot;http://jane-blog.example.org/&quot; rel=&quot;sweetheart date met&quot;&gt;Jane&lt;/a&gt;
&lt;a href=&quot;http://dave-blog.example.org/&quot; rel=&quot;friend met&quot;&gt;Dave&lt;/a&gt;
&lt;a href=&quot;http://darryl-blog.example.org/&quot; rel=&quot;friend met&quot;&gt;Darryl&lt;/a&gt;
&lt;a href=&quot;http://adam-blog.example.org/&quot; rel=co-worker friend met&quot;&gt;Adam&lt;/a&gt;
&lt;a href=&quot;http://www.metafilter.com/&quot;&gt;MetaFilter&lt;/a&gt;
&lt;a href=&quot;http://james-blog.example.com/&quot; rel=&quot;met&quot;&gt;James Expert&lt;/a&gt;
</pre>
<p><cite>Derative of example code from <a href="http://gmpg.org/xfn/intro">gmpg.org</a></cite><br />
You can style the links with the attribute selector syntax in CSS2.1+ aware browser.</p>
<pre class="brush: css;">
a[rel~=&quot;friend&quot;] {font-weight: bold;}
a[rel~=&quot;co-worker&quot;] {text-decoration: underline;}
a[rel~=&quot;acquaintance&quot;] {font-style: italic;}
a[rel~=&quot;sweetheart&quot;] {font-style: italic;color=&quot;red&quot;;}
</pre>
<p><cite>Derative of example code from <a href="http://gmpg.org/xfn/intro">gmpg.org</a></cite><br />
<a name="calendar"></a></p>
<h5>hCalendar</h5>
<blockquote><p>
hCalendar is a simple, open, distributed calendaring and events format, using a 1:1 representation of standard iCalendar (<a href="http://microformats.org/wiki/rfc-2445">RFC2445</a>) VEVENT properties and values in <a href="http://microformats.org/wiki/semantic-xhtml">semantic HTML or XHTML</a>.
</p></blockquote>
<p><cite>Quote from <a href="http://microformats.org/wiki/hcalendar">microformat.org</a></cite><br />
Here is an event from my iCal<br />
[code]]czozODM6XCINCkJFR0lOOlZDQUxFTkRBUg0KQkVHSU46VkVWRU5UDQpVSUQ6MDU2NDcxQTItQkRCOS00MjJCLUI5REUtMDE0NjlENEN7WyYqJl19NDA1NQ0KRFRTVEFNUDoyMDA5MTAwNFQxOTM1MjhaDQpERVNDUklQVElPTjpQZWxsZW50ZXNxdWUgaGFiaXRhbnQgbW9yYmkgdHJpc3tbJiomXX10aXF1ZSBzZW5lY3R1cyBldCBuZXR1cyBldCBtYWxlc3VhZGEgZmFtZXMgYWMgdHVycGlzIGVnZXN0YXMuDQpTVU1NQVJZOkxhdW5je1smKiZdfWggb2YgcHJvamVjdCBYDQpMT0NBVElPTjpodHRwOi8vcHJvZHVjdHMubm9yZGFobC5tZQ0KRFRFTkQ7VFpJRD1FdXJvcGUvT3Nsbzp7WyYqJl19MjAwOTEwMDZUMTYwMDAwDQpEVFNUQVJUO1RaSUQ9RXVyb3BlL09zbG86MjAwOTEwMDZUMTIwMDAwDQpFTkQ6VkVWRU5UDQpFTkQ6VntbJiomXX1DQUxFTkRBUg0KXCI7e1smKiZdfQ==[[/code]<br />
This could look something like this in the hCalendar format.</p>
<pre class="brush: xml;">
&lt;div class=&quot;vevent&quot;&gt;
&lt;h3 class=&quot;summary&quot;&gt;Launch of project X&lt;/h3&gt;
&lt;p class=&quot;description&quot;&gt;Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.&lt;/p&gt;
&lt;p&gt;To be held on &lt;abbr class=&quot;dtstart&quot; title=&quot;2009-10-06T12:00:00+02:00&quot;&gt;October 6th, 2009 from 12:00pm CET&lt;/abbr&gt;
until &lt;abbr class=&quot;dtend&quot; title=&quot;2009-10-06T12:16:00+02:00&quot;&gt;4:30pm CET&lt;/abbr&gt;&lt;/p&gt;
&lt;p&gt;Location: &lt;span class=&quot;location&quot;&gt;http://products.nordahl.me&lt;/span&gt;&lt;/p&gt;
&lt;small&gt;Created by: &lt;span class=&quot;uid&quot;&gt;Kenneth D. Nordahl&lt;/span&gt; on
&lt;abbr class=&quot;dtstamp&quot; title=&quot;20091004T193528Z&quot;&gt;October 4th, 2009 9:55pm CET&lt;/abbr&gt;&lt;/small&gt;
&lt;/div&gt;
</pre>
<p>There is no specifications on how you convert from iCalendar to the hCalendar format. You would have to convert the time from the format used in iCalendar to the format used in hCalendar.</p>
<p><a name="votelinks"></a></p>
<h5>VoteLinks</h5>
<p>This is used on links to vote the related content either up or down. Another way to use VoteLinks is on polls.</p>
<pre class="brush: xml;">
&lt;h1&gt;Do you like this post?&lt;/h1&gt;
&lt;a rev=&quot;vote-for&quot; href=&quot;http://example.com/yes&quot;  title=&quot;I like this post!&quot;&gt;Yes!&lt;/a&gt;
&lt;a rev=&quot;vote-against&quot; href=&quot;http://example.com/no&quot;  title=&quot;Its useless!&quot;&gt;No!&lt;/a&gt;
</pre>
<p><a name="license"></a></p>
<h5>rel="license"</h5>
<p>This microformat is used to mark the license links on a page. You could specify several licenses on one page.</p>
<pre class="brush: xml;">
&lt;p&gt;The content on this site is protected with a
&lt;a href=&quot;http://creativecommons.org/licenses/by-nc-sa/3.0/no/deed.en&quot; rel=&quot;license&quot;&gt;CC by-nc-sa 3.0&lt;/a&gt; license if it isn't cited.
&lt;/p&gt;
</pre>
<p><a name="tag"></a></p>
<h5>rel="tag"</h5>
<p>You can add the [code]]czo5OlwicmVsPVwidGFnXCJcIjt7WyYqJl19[[/code] attribute to a hyperlink. This indicates that the destination of that hyperlink is an author-designed "tag" (or keyword/subject) for the current page. You could add several tag links to one page. If you use wordpress the [code]]czoxNTpcIndwX3RhZ19jbG91ZCgpO1wiO3tbJiomXX0=[[/code] function add the tag attribute automatically.</p>
<pre class="brush: xml;">
&lt;a style=&quot;font-size: 10.8pt;&quot; rel=&quot;tag&quot; title=&quot;3 topics&quot; class=&quot;tag-link-96&quot; href=&quot;http://blog.nordahl.me/tag/css3/&quot;&gt;css3&lt;/a&gt;
</pre>
<p>There is are a couple more minor microformats on the <a href="http://microformats.org">microformat.org</a> website. The one mentioned in this post is the most used microformats. <a href="http://twitter.com">Twitter</a> is one of the major sites who have taken advantage of both XFN and hCard.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nordahl.me/design/webdesign/microformats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Text Shadow</title>
		<link>http://blog.nordahl.me/design/webdesign/text-shadow/</link>
		<comments>http://blog.nordahl.me/design/webdesign/text-shadow/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 21:00:02 +0000</pubDate>
		<dc:creator>KDN</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[text-shadow]]></category>

		<guid isPermaLink="false">http://blog.nordahl.me/?p=470</guid>
		<description><![CDATA[Text-shadow is used to either get a shadow or an effect on a text element. You can pass multiple shadows to one text element. When you use text-shadow for a effect you may get totaly different resaults depending on the type of font you use. Lets take a look at the markup.
Regular black shadow

text-shadow:
1px /* [...]]]></description>
			<content:encoded><![CDATA[<p>Text-shadow is used to either get a shadow or an effect on a text element. You can pass multiple shadows to one text element. When you use text-shadow for a effect you may get totaly different resaults depending on the type of font you use. Lets take a look at the markup.</p>
<h5 style="text-shadow: 1px 1px 4px black;">Regular black shadow</h5>
<pre class="brush: css;">
text-shadow:
1px /* X-coordinate of the text shadow - px/em */
1px /* Y-coordinate of the text shadow - px/em */
4px  /* The blur radius of the text shadow - px/em */
black; /* Color of the text shadow - #/rgb/rgba/color name */
</pre>
<p>Lets create some different effects.</p>
<h5 style="text-shadow: 0 1px 0 white;">White highlight</h5>
<p>This efffect is a little bit trendy at the moment. I use it in the menu on this site.</p>
<pre class="brush: css;">
text-shadow: 0 1px 0 white;
</pre>
<h5 style="text-shadow: 0 -1px 0 white, 0 1px 0 black;">Multiple shadows &#8211; 3D effect</h5>
<pre class="brush: css;">
text-shadow: 0 -1px 0 white, 0 1px 0 black;
</pre>
<h5 style="text-shadow: 0 0 2px #aaa, 2px 2px 4px #ff3, 4px 12px 6px #fd3, 8px 15px 11px #f80, 8px 18px 18px #f20;">Fiery Effect</h5>
<pre class="brush: css;">
text-shadow: 0 0 2px #aaa, 2px 2px 4px #ff3, 4px 12px 6px #fd3, 8px 15px 11px #f80, 8px 18px 18px #f20;
</pre>
<p>It is pretty simple. If you create something beautiful please leave a link in the comments.</p>
<h5>Compatibility</h5>
<ul>
<li>IE ≤ 8 no</li>
<li>Firefox 3.1+</li>
<li>Safari 3.0+</li>
<li>Chrome 2+</li>
<li>Opera 9.62+</li>
<li>Konqueror 3.5.7+</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.nordahl.me/design/webdesign/text-shadow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webkit gradients explained</title>
		<link>http://blog.nordahl.me/design/webdesign/webkit-gradients-explained/</link>
		<comments>http://blog.nordahl.me/design/webdesign/webkit-gradients-explained/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 12:38:46 +0000</pubDate>
		<dc:creator>KDN</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[gradient]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://blog.nordahl.me/?p=419</guid>
		<description><![CDATA[As explained in my portfolio the idea behind this site, was to create a website without using any images for the design. If you are viewing this site with Safari or one of the nightly webkit builds you might notice the gradient in the header. That is what this article is about.
Example page
Linear gradient markup

background: [...]]]></description>
			<content:encoded><![CDATA[<p>As explained in my <a href="http://portfolio.nordahl.me">portfolio</a> the idea behind this site, was to create a website without using any images for the design. If you are viewing this site with Safari or one of the nightly webkit builds you might notice the gradient in the header. That is what this article is about.<br />
<a href="http://prototype.nordahl.me/example/cssgradients/"><span class="button">Example page</span></a></p>
<h5>Linear gradient markup</h5>
<pre class="brush: css;">
background: -webkit-gradient(
linear, /* Type of gradient */
0 0, /* Left-, top- position */
0% 100%, /* Left-, top- position */
from(rgb(0,0,255)), /* Starting color */
color-stop(0.7, orange), /* specifies the location of a gradient stop and the color it has */
 to(red)); /* end color */
</pre>
<h5>Radial gradient markup</h5>
<pre class="brush: css;">background: -webkit-gradient(
radial, /* Type of gradient */
150 80, /* center location of the center of the circle */
10, /* Size of the center of the circle */
120 80, /* center location of the outside of the circle */
130, /* Size of the center of the circle */
from(rgb(255,255,255)), /* Color to the center of the gradient */
color-stop(0.5, orange), /* specifies the location of a gradient stop and the color it has -&gt; I dont use it in my header. */
to(rgba(255,255,255, 0))); /* the end color */
</pre>
<p>As you can see in the header I don`t use the specified color-stop.</p>
<h5>Some notes</h5>
<ul>
<li>Location can be specified with a number and %</li>
<li>Color can be specified with color name, hex, rgb and rgba</li>
</ul>
<p>So whats the cool things you can do with this? </p>
<h5>Button with highlight and a hover effect.</h5>
<pre class="brush: css;">
.bevelandemboss{
width: 100px;
background:
-webkit-gradient(linear, 0 0, 0 100%, from(rgba(0,255,0,0.3)), to(rgba(0,255,0,1))),
-webkit-gradient(radial, 70 70, 10, 70 70, 80, from(rgba(255, 255, 255,0)), color-stop(0.8, rgba(255, 255, 255,4)), to(rgba(50, 255, 50, 0.7)));
-webkit-border-radius:10px;
color: #333;
font-size: 1.5em;
text-align: center;
text-shadow: 0 1px 0 white;
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.6);
}
.bevelandemboss:hover{
background:
-webkit-gradient(linear, 0 0, 0 100%, from(rgb(0,255,0)), color-stop(0.5, rgba(0,255,0,0.5)), to(green)),
-webkit-gradient(radial, 70 70, 10, 70 70, 80, from(rgba(255, 255, 255,0)), color-stop(0.8, rgba(255, 255, 255,4)), to(rgba(100, 255, 100, 0)));
cursor: pointer;
-webkit-box-shadow: 0 4px 4px rgba(0,0,0,0.4);
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.nordahl.me/design/webdesign/webkit-gradients-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
