<?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>Riot Riot &#187; Firefox</title> <atom:link href="http://riotriot.net/tag/firefox/feed/" rel="self" type="application/rss+xml" /><link>http://riotriot.net</link> <description></description> <lastBuildDate>Fri, 28 Oct 2011 17:33:16 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <atom:link rel="next" href="http://riotriot.net/tag/firefox/feed/?page=2" /><item><title>CSS3: Rounded Corners</title><link>http://riotriot.net/2010/01/css-3-rounded-corners/</link> <comments>http://riotriot.net/2010/01/css-3-rounded-corners/#comments</comments> <pubDate>Tue, 26 Jan 2010 08:22:59 +0000</pubDate> <dc:creator>Philip</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[Design & Development]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Chrome]]></category> <category><![CDATA[CSS3]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[Safari]]></category><guid isPermaLink="false">http://riotriot.net/?p=790</guid> <description><![CDATA[<a href="http://riotriot.net/2010/01/css-3-rounded-corners/" title="CSS3: Rounded Corners"><img src="http://riotriot.net/wordpress/wp-content/plugins/yet-another-photoblog/YapbThumbnailer.php?post_id=790&amp;w=180" width="1" height="1" alt="CSS3: Rounded Corners" style="float:left;padding:0 10px 10px 0;" ></a>CSS3 has a few very useful features, such as: Rounded Corners. If you are using a CSS3 compatible browser, you will notice our current version of our site uses many rounded corners. They are all done with CSS3. The following code works with Safari, Chrome and Firefox 2+. IE&#8230; is right out. 1 2 3 [...]]]></description> <content:encoded><![CDATA[<a href="http://riotriot.net/2010/01/css-3-rounded-corners/" title="CSS3: Rounded Corners"><img src="http://riotriot.net/wordpress/wp-content/plugins/yet-another-photoblog/YapbThumbnailer.php?post_id=790&amp;w=180" width="1" height="1" alt="CSS3: Rounded Corners" style="float:left;padding:0 10px 10px 0;" ></a><p>CSS3 has a few very useful features, such as: Rounded Corners. If you are using a CSS3 compatible browser, you will notice our current version of our site uses many rounded corners. They are all done with CSS3. <span id="more-790"></span></p><p>The following code works with Safari, Chrome and Firefox 2+. IE&#8230; is right out.</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.rounded-corners</span> <span style="color: #00AA00;">&#123;</span>
  -webkit-border-top-left-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -webkit-border-top-right-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -webkit-border-bottom-left-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -webkit-border-bottom-right-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -khtml-border-radius-topleft<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -khtml-border-radius-topright<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -khtml-border-radius-bottomleft<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -khtml-border-radius-bottomright<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -moz-border-radius-topleft<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -moz-border-radius-topright<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>			
  -moz-border-radius-bottomleft<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -moz-border-radius-bottomright<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>	
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div><p>You can also shorthand the Chrome and Firefox CSS3 corners. Safari does not play nice, so I usually use the full version for all three.</p><div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* set all corners */</span>
<span style="color: #6666ff;">.rounded-corners</span> <span style="color: #00AA00;">&#123;</span>
  -khtml-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>	
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* or assign each corner clockwise starting top left */</span>
<span style="color: #6666ff;">.rounded-corners</span> <span style="color: #00AA00;">&#123;</span>
  -khtml-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  -moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>]]></content:encoded> <wfw:commentRss>http://riotriot.net/2010/01/css-3-rounded-corners/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/14 queries in 0.009 seconds using disk: basic
Object Caching 322/337 objects using disk: basic

Served from: riotriot.net @ 2012-05-20 10:43:29 -->
