<?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>ScottGale.com &#187; rounded corners</title>
	<atom:link href="http://scottgale.com/blog/tag/rounded-corners/feed/" rel="self" type="application/rss+xml" />
	<link>http://scottgale.com/blog</link>
	<description>Exploring New Web Technologies</description>
	<lastBuildDate>Fri, 07 Oct 2011 12:14:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Pure CSS3 Rounded Corners Slideshow</title>
		<link>http://scottgale.com/blog/css3-rounded-corners-slideshow/2010/02/19/</link>
		<comments>http://scottgale.com/blog/css3-rounded-corners-slideshow/2010/02/19/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 04:00:28 +0000</pubDate>
		<dc:creator>Scott Gale</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[rounded corners]]></category>
		<category><![CDATA[slide show]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://www.scottgale.com/blog/?p=30</guid>
		<description><![CDATA[Be sure to view this example in SAFARI or CHROME. CSS3 and HTML5 are presenting some exciting opportunities for the future.  So I set out to test some of the features that are emerging.  The ability to do rounded corners and shadows has been around for awhile. With CSS3 it&#8217;s such a pleasure to be [...]]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://static.scottgale.com/blogsamples/css3slideshow/css3slideshowthumb.html" width="440" height="155" frameborder="0" scrolling="no"></iframe><br />
Be sure to view this example in SAFARI or CHROME.</p>
<p>CSS3 and HTML5 are presenting some exciting opportunities for the future.  So I set out to test some of the features that are emerging.  The ability to do rounded corners and shadows has been around for awhile. With CSS3 it&#8217;s such a pleasure to be able to quickly add these.  Webkit specifically is now supporting animation capability.  There are now options for styling that include quite a few animations. Hopefully this will get picked up in FireFox and standardized (it&#8217;s in the proposed spec for the w3c).  Although I think we still need some work in terms of a dynamic set of N items, this is a good start.  To be able to do this without any JavaScript or Flash at all is a pretty great step in the right direction for the web, oh and yes, this works on your iPhone.</p>
<p><a href="http://scottgale.com/blogsamples/css3slideshow/css3slideshow.html" target="_new">View Larger Example</a></p>
<p>First I setup some basic markup:</p>
<pre>&lt;div class="slideshow-example-frame"&gt;
	&lt;img class="img1" src="2010-quattroporte-sport-gt-s-sedan_01-thumb.jpg" alt="2010 Quattroporte Sport GT-S" /&gt;
	&lt;img class="img2" src="2010-grandcabrio-convertible_01-thumb.jpg" alt="2010 GrandCabrio" /&gt;
	&lt;img class="img3" src="2010-grandturismo-s-automatic-coupe_01-thumb.jpg" alt="2010 GrandTurismo S" /&gt;
	&lt;img class="img4" src="2010-grandturismo-s-coupe_01-thumb.jpg" alt="GrandTurismo S Coupe" /&gt;
&lt;/div&gt;</pre>
<p>Then I setup some basic CSS3 to do the rounded corners and shadows:</p>
<pre>&lt;style type="text/css"&gt;
	.slideshow-example-frame {
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		border-radius: 7px;
		-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
		-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
		box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
		width:420px;
		height:131px;
		margin:30px 30px 30px 22px;
		background-image:url(2010-grandturismo-s-coupe_01-thumb.jpg);
	}

	.slideshow-example-frame img {
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		border-radius: 7px;
		-webkit-animation-iteration-count: infinite;
		-webkit-animation-timing-function: linear;
		-webkit-animation-duration:15s;
	}

	.slideshow-example-frame img {
		position:absolute;
		top:0;
		left:0;
		margin:30px;

	}
&lt;style&gt;</pre>
<p>Next add the animation pieces:</p>
<pre>&lt;style type="text/css"&gt;
	.slideshow-example-frame .img1 {
		-webkit-animation-name: fadein1;
	}

	.slideshow-example-frame .img2 {
		-webkit-animation-name: fadein2;
	}

	.slideshow-example-frame .img3 {
		-webkit-animation-name: fadein3;
	}

	.slideshow-example-frame .img4 {
		-webkit-animation-name: fadein4;
	}

	@-webkit-keyframes fadein1 {
		0% {opacity:0;}
		5% {opacity:1;}
		25% {opacity:1;}
		100% {opacity:1;}
	}

	@-webkit-keyframes fadein2 {
		0% {opacity:0;}
		25% {opacity:0.0;}
		30% {opacity:1;}
		50% {opacity:1;}
		100% {opacity:1;}
	}

	@-webkit-keyframes fadein3 {
		0% {opacity:0;}
		50% {opacity:0;}
		55% {opacity:1;}
		75% {opacity:1;}
		100% {opacity:1;}
	}

	@-webkit-keyframes fadein4 {
		0% {opacity:0;}
		75% {opacity:0;}
		80% {opacity:1;}
		100% {opacity:1;}
	}
&lt;style&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://scottgale.com/blog/css3-rounded-corners-slideshow/2010/02/19/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

