<?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>Devil is Blogging &#187; CSS</title>
	<atom:link href="http://devildesigns.net/blog/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://devildesigns.net/blog</link>
	<description>If Java had true garbage collection, most programs would delete themselves upon execution.</description>
	<lastBuildDate>Sat, 27 Mar 2010 19:17:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Round corners with CSS3. Super Cool.</title>
		<link>http://devildesigns.net/blog/round-corners-with-css3-super-cool/</link>
		<comments>http://devildesigns.net/blog/round-corners-with-css3-super-cool/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 08:40:26 +0000</pubDate>
		<dc:creator>saurabh</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Round Corner]]></category>

		<guid isPermaLink="false">http://dna.intellwiz.com/?p=66</guid>
		<description><![CDATA[I was not very fond of CSS, until recently.  I just used html elements to style my pages. But then once I happened to use some simple CSS elements, coz I had basic CSS in my college syllabus. Ever since I&#8217;m a great fan and admirer of this simple, kewl technique.. CSS. deviroinvinciusdevildesigns I have [...]


Related posts:<ol><li><a href='http://devildesigns.net/blog/25-incredibly-useful-and-cool-firefox-addons-for-geeks-and-web-developers/' rel='bookmark' title='Permanent Link: 25 Incredibly Useful and Cool Firefox Addons for Geeks and Web Developers'>25 Incredibly Useful and Cool Firefox Addons for Geeks and Web Developers</a> <small>Hey guys, a lot of people (well, not so much...</small></li>
<li><a href='http://devildesigns.net/blog/browse-in-iphone-without-an-iphone-android-too/' rel='bookmark' title='Permanent Link: Browse in iPhone without an iPhone (Android too)'>Browse in iPhone without an iPhone (Android too)</a> <small>Hey guys, ever wanted to see how Gmail looks in...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/' onclick="pageTracker._trackPageview('/outgoing/mitcho.com/code/yarpp/?referer=');">Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I was not very fond of CSS, until recently.  I just used html elements to style my pages. But then once I happened to use some simple CSS elements, coz I had basic CSS in my college syllabus. Ever since I&#8217;m a great fan and admirer of this simple, kewl technique.. CSS. deviroinvinciusdevildesigns </p>
<p><img class="size-full wp-image-69 alignright" title="CSS-Round-Corner" src="http://blog.devildesigns.net/wp-content/uploads/2009/04/round-corner.png" alt="CSS Round Corner Menu" width="370" height="66" /></p>
<p>I have been fascinated by round cornered elements in web pages. I tried to learn the &#8216;secret art of round corners!!&#8217;. Most of my searches returned tutorials for rounding corners using images, Including <a title="Rounded Corners using CSS and 4 corner images" href="http://kalsey.com/2003/07/rounded_corners_in_css/" onclick="pageTracker._trackPageview('/outgoing/kalsey.com/2003/07/rounded_corners_in_css/?referer=');">this one</a>. It uses 4 corner images and is pretty simple to implement.</p>
<p>A few days ago, I was browsing through some script from <a title="DynamicDrive CSS Library" href="http://dynamicdrive.com/style" onclick="pageTracker._trackPageview('/outgoing/dynamicdrive.com/style?referer=');">DynamicDrive CSS Library</a>, I found an unfamiliar css element: <span style="color: #339966;">-moz-border-radius</span>. I did a lil research and eventually I got to CSS3. Checkout <a href="http://css3.info/" onclick="pageTracker._trackPageview('/outgoing/css3.info/?referer=');">www.css3.info</a>. CSS3 is still in draft and all browsers have not started to support it. Yet some like Firefox, Safari etc has already started to adopt CSS3.</p>
<p><span style="color: #339966;">border-radius <span style="color: #000000;">(<a title="border-radius" href="http://www.w3.org/TR/css3-background/#border-radius" onclick="pageTracker._trackPageview('/outgoing/www.w3.org/TR/css3-background/_border-radius?referer=');">reference</a>)</span> </span>is an element which is included in the forthcoming CSS3. It can be used in the following forms.</p>
<p>If you use <span style="color: #008000;">border-radius: 4em;<span style="color: #000000;"> , then all the four corners will be rounded by 4em. Or you can use </span></span><span style="color: #008000;">border-radius: 5px 5px 0px 10px;</span><span style="color: #008000;"><span style="color: #000000;">, so you can use individual radii for all the four corners. Or the single attribute can be broken down as follows. </span></span></p>
<p><span style="color: #008000;">border-top-left-radius:     4em;<br />
border-top-right-radius:    4em;<br />
border-bottom-right-radius: 4em;<br />
border-bottom-left-radius:  4em;</span></p>
<p><span style="color: #008000;"><span style="color: #000000;"> The <a title="Gecko Layout Engine" href="http://en.wikipedia.org/wiki/Gecko_(layout_engine)" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Gecko_layout_engine?referer=');">Gecko Layout Engine</a> which is the basis of Mozilla Firefox uses some equivalent attributes instead of </span></span><span style="color: #008000;">border-radius.<span style="color: #000000;"> The <span style="color: #008000;">border-radius</span> equivalent in Gecko is </span><span style="color: #008080;">-moz-border-radius</span><span style="color: #000000;"> (<a title="-moz-border-radius" href="https://developer.mozilla.org/en/CSS/-moz-border-radius" onclick="pageTracker._trackPageview('/outgoing/developer.mozilla.org/en/CSS/-moz-border-radius?referer=');">reference</a>). It can also take 4 arguments as in <span style="color: #008080;">-moz-border-radius:15px 0px 15px 0px;</span>. If only 1 attribute is specified as in <span style="color: #008080;">-moz-border-radius:15px;</span>, the same will be applied for all 4 corners. </span></span><span style="color: #008000;"><span style="color: #008080;">-moz-border-radius</span><span style="color: #000000;"> </span></span><span style="color: #008000;"><span style="color: #000000;">can also be written as 4 different elements as follows.</span></span></p>
<p><span style="color: #008000;"><span style="color: #000000;"><span style="color: #008080;"> -moz-border-radius-bottomleft:15px;<br />
-moz-border-radius-bottomright:15px;<br />
-moz-border-radius-topright:15px;<br />
-moz-border-radius-topleft:15px;</span></span></span></p>
<p><span style="color: #008000;"><span style="color: #000000;"><span style="color: #008080;"><span style="color: #000000;"><a href="http://blog.devildesigns.net/wp-content/uploads/2009/04/border-radius.htm" onclick="pageTracker._trackPageview('/outgoing/blog.devildesigns.net/wp-content/uploads/2009/04/border-radius.htm?referer=');">Here</a> is a few examples I made which uses the </span></span></span></span><span style="color: #008000;"><span style="color: #008080;">-moz-border-radius</span><span style="color: #000000;"> </span></span><span style="color: #008000;"><span style="color: #000000;"><span style="color: #008080;"><span style="color: #000000;">element for rounding corners. See the code of the page and see how simple it is. But remember </span></span></span></span><span style="color: #008000;"><span style="color: #008080;">-moz-border-radius</span></span><span style="color: #008000;"><span style="color: #000000;"><span style="color: #008080;"><span style="color: #000000;"> works only in Gecko based browsers, which includes Firefox, NetScape, Camino, SeaMonkey K-Meleon etc (</span></span></span></span>Google&#8217;s picture-organization software Picasa is based on Gecko<span style="color: #008000;"><span style="color: #000000;"><span style="color: #008080;"><span style="color: #000000;">).</span></span></span></span></p>
<p><span style="color: #008000;"><span style="color: #000000;"><span style="color: #008080;"><span style="color: #000000;">That was Kewl, ain&#8217;t it? cya, babye.<br />
</span></span></span></span></p>
<img src="http://devildesigns.net/blog/?ak_action=api_record_view&id=66&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdevildesigns.net%2Fblog%2Fround-corners-with-css3-super-cool%2F&amp;linkname=Round%20corners%20with%20CSS3.%20Super%20Cool." onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save?linkurl=http_3A_2F_2Fdevildesigns.net_2Fblog_2Fround-corners-with-css3-super-cool_2F_amp_linkname=Round_20corners_20with_20CSS3._20Super_20Cool.&amp;referer=');"><img src="http://devildesigns.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></p>

<p>Related posts:<ol><li><a href='http://devildesigns.net/blog/25-incredibly-useful-and-cool-firefox-addons-for-geeks-and-web-developers/' rel='bookmark' title='Permanent Link: 25 Incredibly Useful and Cool Firefox Addons for Geeks and Web Developers'>25 Incredibly Useful and Cool Firefox Addons for Geeks and Web Developers</a> <small>Hey guys, a lot of people (well, not so much...</small></li>
<li><a href='http://devildesigns.net/blog/browse-in-iphone-without-an-iphone-android-too/' rel='bookmark' title='Permanent Link: Browse in iPhone without an iPhone (Android too)'>Browse in iPhone without an iPhone (Android too)</a> <small>Hey guys, ever wanted to see how Gmail looks in...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/' onclick="pageTracker._trackPageview('/outgoing/mitcho.com/code/yarpp/?referer=');">Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://devildesigns.net/blog/round-corners-with-css3-super-cool/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
