<?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>Komodo Media &#187; CSS3</title>
	<atom:link href="http://www.komodomedia.com/tags/css3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.komodomedia.com</link>
	<description>blog, webdesign, illustration &#38; newsk00l javascript</description>
	<lastBuildDate>Wed, 18 Jan 2012 14:43:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rogie&#8217;s Lab</title>
		<link>http://www.komodomedia.com/blog/2011/01/rogie-lab/</link>
		<comments>http://www.komodomedia.com/blog/2011/01/rogie-lab/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 16:41:03 +0000</pubDate>
		<dc:creator>Rogie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Lab]]></category>

		<guid isPermaLink="false">http://www.komodomedia.com/?p=2879</guid>
		<description><![CDATA[

Yeah, so I like to tinker around with CSS3/HTML5 and JavaScript. I have a lab now for that.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://lab.komodomedia.com"><br />
<img src="http://d2dnrmagaqciul.cloudfront.net/wp-content/uploads/2011/01/lab.png" alt="" title="lab" width="460" height="300" class="aligncenter size-full wp-image-2880" /></a></p>
<p>Yeah, so I like to tinker around with CSS3/HTML5 and JavaScript. I have a <a href="http://lab.komodomedia.com">lab</a> now for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.komodomedia.com/blog/2011/01/rogie-lab/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Border Radius Rounded Images and Avatars</title>
		<link>http://www.komodomedia.com/blog/2010/10/border-radius-rounded-images-and-avatars/</link>
		<comments>http://www.komodomedia.com/blog/2010/10/border-radius-rounded-images-and-avatars/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 13:50:15 +0000</pubDate>
		<dc:creator>Rogie</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[avatar]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[img]]></category>

		<guid isPermaLink="false">http://www.komodomedia.com/?p=2642</guid>
		<description><![CDATA[<img src="http://d2dnrmagaqciul.cloudfront.net/wp-content/uploads/2010/10/rounded_avatars.png" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://d2dnrmagaqciul.cloudfront.net/wp-content/uploads/2010/10/rounded_avatars.png" /></p>
<p>As CSS3 is hitting the web hard, rounded stuff is poppin&#8217; up all over the place. Rounded avatars/images are starting to become a reality. Trent Walton has a nice article on <a href="http://trentwalton.com/2010/08/03/css3-border-radius-rounded-avatars/">this here</a>. It&#8217;s pretty simple, just apply a border radius to the <code class="inline">&lt;img&gt;</code> itself, however Firefox and Opera don&#8217;t play well with the border-radius like other browsers do.</p>
<p>I want a solution for Firefox and Opera. As of now, I&#8217;ve not come up with a solution that is truly a mask (meaning it would work well on backgrounds of any color/pattern/texture, but this solution works for Opera, Firefox, Webkit and Chrome on solid color backgrounds.</p>
<h3>Markup</h3>
<p><code>&lt;span class="frame"&gt;<br />
    &lt;img src="/path/to/img.png" /&gt;<br />
&lt;/span&gt;</code></p>
<h3>CSS</h3>
<p><code>.frame{<br />
    display:inline-block;<br />
    position:relative;<br />
    overflow:hidden;<br />
}<br />
.frame>img{<br />
    vertical-align:top;<br />
}<br />
.frame, .frame:before{<br />
    -moz-border-radius:100em;<br />
    border-radius:100em;<br />
}<br />
.frame>img{<br />
    -webkit-border-radius:100em;<br />
}<br />
.frame:before{<br />
    content:'';<br />
    display:block;<br />
    position:absolute;<br />
    left:0;<br />
    right:0;<br />
    width:100%;<br />
    height:100%;<br />
    margin:-10em;<br />
    border:10em solid #1a1a1a;<br />
}</code></p>
<h3>Preview</h3>
<style>.frame{
    display:inline-block;
    position:relative;
    overflow:hidden;
}
.frame>img{
    vertical-align:top;
}
.frame, .frame:before{
    -moz-border-radius:100em;
    border-radius:100em;</p>
<p>}
.frame>img{
    -webkit-border-radius:100em;   
}
.frame:before{
    content:'';
    display:block;
    position:absolute;
    left:0;
    right:0;
    width:100%;
    height:100%;
    margin:-10em;
    border:10em solid #1a1a1a;
}</style>
<p><a  class="frame" href="http://twitter.com/seangaffney"><img src="http://a3.twimg.com/profile_images/353609395/IMG_7473bw_reasonably_small.jpg" /></a> <a class="frame" href="http://twitter.com/seanwes"><img src="http://a3.twimg.com/profile_images/1136130947/twitter-dribbble-profile-pic_reasonably_small.png" /></a> <a class="frame" href="http://twitter.com/squaredeye"><img src="http://a3.twimg.com/profile_images/1100546975/Screen_shot_2010-08-11_at_9.08.03_AM_reasonably_small.png" /></a> <a class="frame" href="http://twitter.com/gedyrivera"><img src="http://a2.twimg.com/profile_images/935982818/avatar_main_copy_square_reasonably_small.jpg" /></a> <a class="frame" href="http://twitter.com/cameronmoll"><img src="http://a2.twimg.com/profile_images/553100134/cameron-400bw-2009-square_reasonably_small.jpg" /></a> </a> <a class="frame" href="http://twitter.com/behoff"><img src="http://a2.twimg.com/profile_images/1133502758/headshot_reasonably_small.jpg" /></a></p>
<h3>Cons</h3>
<p>The biggest con to this technique is that the rounding technique is just a color, not a mask, meaning this works well for solid backgrounds, but not patterned backgrounds :(</p>
<h3>Play with it!</h3>
<p>Wanna mess with the code? Go edit it live on <a href="http://jsfiddle.net/rogie/GnuXw/">JS Fiddle</a>! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.komodomedia.com/blog/2010/10/border-radius-rounded-images-and-avatars/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Rogieking.com</title>
		<link>http://www.komodomedia.com/blog/2009/01/rogieking/</link>
		<comments>http://www.komodomedia.com/blog/2009/01/rogieking/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 17:42:15 +0000</pubDate>
		<dc:creator>Rogie</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Icons]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[xHTML]]></category>

		<guid isPermaLink="false">http://www.komodomedia.com/?p=806</guid>
		<description><![CDATA[<img src="http://d2dnrmagaqciul.cloudfront.net/wp-content/uploads/2009/01/rogieking_blog_main.jpg" alt=""/>

Just wanted to show y'all (Oh no, living in Montana is changing me - I said y'all) some of the new work that I have done. I really wanted an online business card that reflected my personality, aesthetically tight, narrow (I love narrow sites) and to the point...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.komodomedia.com/portfolio/#rogieking" title="View more information for Rogieking.com in the Portfolio"><img src="http://d2dnrmagaqciul.cloudfront.net/wp-content/uploads/2009/01/rogieking_blog_main.jpg" alt=""/></a></p>
<p>Just wanted to show y&#8217;all (Oh no, living in Montana is changing me &#8211; I said y&#8217;all) some of the new work that I have done. I really wanted an online business card that reflected my personality, aesthetically tight, narrow (I love narrow sites) and to the point. I didn&#8217;t want any extra <a href="http://twitter.com/rogieking">twitter</a> streams, <a href="http://tumblr.com">tumblr</a>, <a href="http://posterous.com">posterous</a>, <a href="http://last.fm">last.fm</a> or any of that other social mumbo jumbo &#8211; A few links would suffice. </p>
<p>When building this site, I kept thinking &#8220;Audi&#8221; or a car with smooth wood and metal inside. Also, I wanted it to tie into the Komodo Media version 4 style with wood and dark colors.  I love the Apple profile icon (as does everyone and their dogs apparently), so I wanted to use that, but give it a twist to make it my own. I modified the Apple profile icon to have a backwards/sideways hat, which as some have pointed out to my deficit, I wear all the time.</p>
<p>Custom icons were and have always been very important to me, none of that mainstream stuff. So, I made me a few sweet icons. The best icons, I believe, are in the contact section, <a href="http://rogieking.com/#contact">so go check them out</a>! I have a few more social network icons to do in the <a href="http://rogieking.com/#networks">networks</a> area, so be watching for those.</p>
<p>Next, being XHTML Strict and usable was extremely important to me. You may have noticed that when JavaScript is turned off, the site becomes readable as a very tall card and when sections are clicked they moved to a named anchor, thus repositioning the browser to that area. That&#8217;s rad. When JavaScript is detected, my favorite library, <a href="http://jquery.com">jQuery</a> takes over and rocks a myriad of animations (hopefully not too many) and makes it all the more smooth. I added some cool nick-knacks such as anchor-section loading, which is a fancy way to say that the JavaScript detects the anchor loaded and loads the appropriate section.  Also check out the hover effect on the profile dude &#8211; it&#8217;s fun ;)</p>
<p>Last, I&#8217;ve used CSS tricks from CSS3 to add text shadows to give that inset/letterpress look and a ton of PNG transparent images. Enough already, <a href="http://rogieking.com">check it out online</a> or <a href="http://www.komodomedia.com/portfolio/#rogieking" title="View more information for Rogieking.com in the Portfolio">read more over in the portfolio</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.komodomedia.com/blog/2009/01/rogieking/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: komodomedia.com @ 2012-02-10 13:27:46 by W3 Total Cache -->
