<?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>rounded corners &#8211; Blogvaria</title>
	<atom:link href="https://blog.evaria.com/key/rounded-corners/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.evaria.com</link>
	<description>The personal pages</description>
	<lastBuildDate>Thu, 17 Sep 2009 08:57:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
<site xmlns="com-wordpress:feed-additions:1">1077093</site>	<item>
		<title>Rounded corners without graphics</title>
		<link>https://blog.evaria.com/2009/rounded-corners-without-graphics/</link>
		
		<dc:creator><![CDATA[Thomas]]></dc:creator>
		<pubDate>Thu, 17 Sep 2009 08:54:27 +0000</pubDate>
				<category><![CDATA[CSS & Design]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[rounded corners]]></category>
		<category><![CDATA[tricks]]></category>
		<guid isPermaLink="false">http://blog.evaria.com/?p=1152</guid>

					<description><![CDATA[I know this isn&#8217;t a new trick but I&#8217;ll post it anyway for my own records, and anyone else that may find it useful. As shown below you can add &#8230; ]]></description>
										<content:encoded><![CDATA[<p>I know this isn&#8217;t a new trick but I&#8217;ll post it anyway for my own records, and anyone else that may find it useful. As shown below you can add a few lines of code to your stylesheet(s) and get round corners on almost any style element that supports borders.</p>
<h3>CSS rounded corners code</h3>
<pre>.corners {
	-moz-border-radius: 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}</pre>
<p>As you can see the first line is specifically for Firefox, the next 4 for Safari/Chrome and the last 4 for any browser that fully supports <a href="http://www.w3.org/TR/2005/WD-css3-background-20050216/#the-border-radius" target="_blank">CSS3</a>.</p>
<p><span id="more-1152"></span></p>
<p>The reason for keeping it separate is that you can add it like a second class to any style reference you are using within your HTML mark-up. For example, if you have defined the following styling to your submit button:</p>
<pre>input.send {
	font:1.5em Arial, Helvetica, sans-serif;
	font-weight: bold;
	color:#eff;
	background: #036;
	border: 1px solid #369;
	height:30px;
	cursor:pointer;
	}
input.send:hover {
	border: 1px solid #036;
	}</pre>
<p>Then you can add the following to get the desired result:</p>
<pre>&lt;input class="send corners" type="submit" value="Send" /&gt;</pre>
<p>I&#8217;ll leave it with you to see the end result <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<h3>Known limitations</h3>
<p>It may come as no surprise that this effect isn&#8217;t visible in Internet Explorer. At least not on any versions I&#8217;ve tried. If you believe it is please let me know what version you are running, but for any version below 8 it definitely isn&#8217;t showing.</p>
<h3>Conclusion</h3>
<p>I believe it&#8217;s a nice little extra styling option that saves you the trouble of creating graphics for some parts of your site to get the desired effect. And although it isn&#8217;t supported by all browsers and versions it falls back nicely to standard borders so there&#8217;s really nothing to worry about.</p>
<p>Please feel free to share cool effects and additional tricks if you know any. I&#8217;d love to see what can be done using only CSS!</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1152</post-id>	</item>
	</channel>
</rss>
