<?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>CSS &#8211; VeriTeknik</title>
	<atom:link href="https://www.veriteknik.net.tr/en/category/knowledge_base/programm-in/css/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.veriteknik.net.tr/en/</link>
	<description>VeriTeknik Bilişim &#124; VeriTeknik Bilişim</description>
	<lastBuildDate>Thu, 17 May 2012 21:58:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>CSS3 Borders &#8211; What&#8217;s New ?</title>
		<link>https://www.veriteknik.net.tr/en/css3-borders-whats-new/</link>
					<comments>https://www.veriteknik.net.tr/en/css3-borders-whats-new/#respond</comments>
		
		<dc:creator><![CDATA[ckaraca]]></dc:creator>
		<pubDate>Thu, 17 May 2012 21:58:56 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[border-image]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[box-shadow]]></category>
		<category><![CDATA[cascading stylesheets]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=413</guid>

					<description><![CDATA[<p>Hi there, it&#8217;s me again. Today, i&#8217;m gonna talk about CSS3 border features. By using CSS3, you can; create rounded borders (it was really a big problem cause we had to use images or junk javascript libraries) box shadows (it was also a big problem) use image files as border without using a design program [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/css3-borders-whats-new/">CSS3 Borders &#8211; What&#8217;s New ?</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi there, it&#8217;s me again.</p>
<p>Today, i&#8217;m gonna talk about CSS3 border features.</p>
<p>By using CSS3, you can;</p>
<ul>
<li>create rounded borders (it was really a big problem cause we had to use images or junk javascript libraries)</li>
<li>box shadows (it was also a big problem)</li>
<li>use image files as border</li>
</ul>
<p>without using a design program like Adobe Photoshop or some javascript plugins.</p>
<h4>CSS3 Rounded Corners</h4>
<p>In CSS3 creating rounded borders is a piece of cake. Just apply following css code to your elements.</p>
<p>Usage:</p>
<pre class="brush: css; gutter: true; first-line: 1">-webkit-border-radius: 5px 5px 3px 3px;
-moz-border-radius: 5px 5px 3px 3px;
 -ms-border-radius: 5px 5px 3px 3px;
 -o-border-radius: 5px 5px 3px 3px;
border-radius: 5px 5px 3px 3px;</pre>
<p>Syntax:</p>
<blockquote><p>
border-radius: top-left-radius, top-right-radius, bottom-right-radius, bottom-left-radius;
</p></blockquote>
<p>You can see there are various codes for each browser.</p>
<p>Briefly,</p>
<p>Mozilla Firefox needs &#8220;-moz-&#8221; prefix,</p>
<p>Chrome and Safari needs &#8220;-webkit-&#8221; prefix,</p>
<p>Opera needs &#8220;-o-&#8221; prefix,</p>
<p>Internet Explorer needs &#8220;-ms-&#8221; prefix (will be deprecated),</p>
<p>and for last &#8220;border-radius&#8221; code is used for general CSS3 border styling.</p>
<h4>CSS3 Box Shadow</h4>
<p>With CSS3 you can use &#8220;box-shadow&#8221; property to add shadow to boxes.</p>
<p>Usage:</p>
<pre class="brush: css; gutter: true; first-line: 1">-webkit-box-shadow: 0 0 5px #d5d5d5;
 -moz-box-shadow: 0 0 5px #d5d5d5;
 box-shadow: 0 0 5px #d5d5d5;</pre>
<p>Syntax:</p>
<blockquote><p>box-shadow: <em>h-shadow v-shadow blur spread color</em> inset;</p></blockquote>
<p>As you see, you should add &#8220;-webkit-&#8221; prefix for Safari and Chrome, &#8220;-moz-&#8221; prefix for Mozilla Firefox and lastly &#8220;box-shadow&#8221; property for general CSS3 Shadow effects.</p>
<p>Syntax:</p>
<blockquote><p>box-shadow: (horizontal dimension of shadow, can be a negative value), (vertical dimension of shadow, also can be a negative value), (shadow blur amount), (hex code of shadow color)</p></blockquote>
<h4>CSS3 Border Image</h4>
<p>To create border images for your elements, you should use border-image property.</p>
<p>Right now, Internet Explorer does not support border-image property.</p>
<p>For other browsers you should add prefixes just like other border properties(ex. &#8220;-moz-&#8220;, &#8220;-webkit-&#8220;, &#8220;-o-&#8220;)</p>
<p>Usage:</p>
<pre class="brush: css; gutter: true; first-line: 1">-moz-border-image:url(border.png) 30 30 round;
 -webkit-border-image:url(border.png) 30 30 round;
 -o-border-image:url(border.png) 30 30 round;
 border-image:url(border.png) 30 30 round;</pre>
<p>Syntax:</p>
<blockquote><p>border-image: <em>source slice width outset repeat</em>;</p></blockquote>
<p>border-image-source: the path to the border image file.</p>
<p>border-image-slice: inward offsets of the border image.</p>
<p>border-image-width: width of border image.</p>
<p>border-image-outset: the amount by which the border image area extends beyond the border box.</p>
<p>border-image-repeat: type of repetition, repeat, round, stretch.</p>
<p>That&#8217;s all for now.</p>
<p>I&#8217;ll tell more about javascript equivalents of CSS border properties for fallback support  and other CSS3 features later.</p>
<p>Enjoy your CSS3 styles, and have a nice day.</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/css3-borders-whats-new/">CSS3 Borders &#8211; What&#8217;s New ?</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/css3-borders-whats-new/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">413</post-id>	</item>
	</channel>
</rss>
