<?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>Cascading Style Sheets Syntax &#187; learn css</title>
	<atom:link href="http://csssyntax.com/tag/learn-css/feed" rel="self" type="application/rss+xml" />
	<link>http://csssyntax.com</link>
	<description>CSS BASIC REFERENCE</description>
	<lastBuildDate>Sat, 31 Jul 2010 08:26:13 +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>How to set Padding with CSS</title>
		<link>http://csssyntax.com/how-to-set-padding-with-css.html</link>
		<comments>http://csssyntax.com/how-to-set-padding-with-css.html#comments</comments>
		<pubDate>Tue, 05 Jan 2010 06:30:36 +0000</pubDate>
		<dc:creator>gusdwi</dc:creator>
				<category><![CDATA[CSS Basic]]></category>
		<category><![CDATA[css code]]></category>
		<category><![CDATA[css style]]></category>
		<category><![CDATA[learn css]]></category>

		<guid isPermaLink="false">http://csssyntax.com/?p=339</guid>
		<description><![CDATA[is a function to set the distance between the border with content on an HTML element.]]></description>
			<content:encoded><![CDATA[<p><strong>Padding</strong> Property, is a function to set the distance between the border with content on an HTML element.<br />
Css padding at crucial point in terms of making web pages, so instead I suggest that you really notice this css syntax.</p>
<p><span id="more-339"></span></p>
<p>In writing of the padding property, almost equal to the <a href="http://csssyntax.com/css-margin.html"><strong>margin property</strong></a> in writing</p>
<p>Look <strong>Examples</strong> in below :</p>
<p>1.</p>
<blockquote><p>div#sidebox {padding:10px;}</p></blockquote>
<p>Its purpose is to show that the four sides of the selector sidebox are spaced 10 pixels between the <strong>border </strong>and <strong>content</strong>.</p>
<p>2.</p>
<blockquote><p>div#sidebox {padding:10px 20px;}</p></blockquote>
<p>Intent of the code above is to show that the distance between <strong>border</strong> and <strong>content</strong> on the top and <strong>bottom</strong> of the selector sidebox is 10 pixels while on the left and right is 20 pixels.</p>
<p>3.</p>
<blockquote><p>div#sidebox {padding:10px 20px 30px 40px;}</p></blockquote>
<p>or it could be way below:</p>
<blockquote>
<p style="text-align: left;">div#sidebox {padding-top:10px; padding-right:20px;<br />
padding-bottom:30px; padding-left:40px;}</p>
</blockquote>
<p>Intent of the code above is to show that the distance between <strong>border</strong> and <strong>content</strong> of the selector sidebox on the top 10 pixels, right 20 pixels, 30 pixels down, and the left is 40 pixels.</p>
<p>4.</p>
<blockquote><p>div#sidebox {padding-top:10px;}</p></blockquote>
<p>Intent of the code above is to show that the distance from the <strong>border</strong> with the <strong>content selector</strong> sidebox on the top is 10 pixels, while others limit Default value. And besides padding-top, also with the property padding-right, <strong>padding-bottom</strong> and <strong>padding-left</strong>.</p>
<p>In addition to the units of px <strong>(pixels) </strong>can also be a unit <strong>emphasis</strong> (em) or <strong>percentages</strong> (%), as an example:</p>
<blockquote><p>div#sidebox {padding:1em 2%;}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://csssyntax.com/how-to-set-padding-with-css.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS 3 Opacity Image</title>
		<link>http://csssyntax.com/how-to-make-opacity-image-using-css-3.html</link>
		<comments>http://csssyntax.com/how-to-make-opacity-image-using-css-3.html#comments</comments>
		<pubDate>Wed, 04 Nov 2009 01:57:07 +0000</pubDate>
		<dc:creator>gusdwi</dc:creator>
				<category><![CDATA[About CSS 3]]></category>
		<category><![CDATA[css 3]]></category>
		<category><![CDATA[css code]]></category>
		<category><![CDATA[learn css]]></category>

		<guid isPermaLink="false">http://csssyntax.com/?p=262</guid>
		<description><![CDATA[Using CSS3, you can create a transparent image with a very easy]]></description>
			<content:encoded><![CDATA[<h3><span style="text-decoration: underline;">How to make Opacity Image using CSS 3 ?</span></h3>
<p>Before there was CSS 3, to get a transparent effect on the image in the browser, the web designers using image transparent PNG format.<br />
You can achieve a similar effect by using the opacity property. Now, the opacity property has been around for a while, but our beloved IE has its own properties.</p>
<p><strong>Example css 3 image opacity:</strong></p>
<pre class="brush:xml">&lt;html&gt;
&lt;head&gt;
  &lt;title&gt; Opacity Image using css3&lt;/title&gt;
  &lt;style type="text/css"&gt;
  .img_opacity {
  opacity: .6; // all modern browsers (this is CSS3)
 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
 //IE 8
  filter: alpha(opacity=60); // IE 5-7
  }
  &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;img src="http://localhost/cs3/images/photo6.jpg"
          width="241" height="228"/&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>The Result:<br />
<img style="opacity: .6;" src="http://gusdwi.info/images/widy-in-besakih.jpg" alt="image opacity" width="232" height="174" /></p>
<p>In modern browsers like Safari, Google Chrome, Firefox, you simply write CSS code like below:</p>
<pre class="brush:css">.img_opacity {
         opacity: .6;
         }</pre>
]]></content:encoded>
			<wfw:commentRss>http://csssyntax.com/how-to-make-opacity-image-using-css-3.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS 3 Background Color Opacity</title>
		<link>http://csssyntax.com/how-to-make-background-color-opacity-using-css3.html</link>
		<comments>http://csssyntax.com/how-to-make-background-color-opacity-using-css3.html#comments</comments>
		<pubDate>Wed, 04 Nov 2009 01:34:53 +0000</pubDate>
		<dc:creator>gusdwi</dc:creator>
				<category><![CDATA[About CSS 3]]></category>
		<category><![CDATA[css 3]]></category>
		<category><![CDATA[learn css]]></category>

		<guid isPermaLink="false">http://csssyntax.com/?p=264</guid>
		<description><![CDATA[Everyone knows what RGB stands for (red, green, blue), but what does the A stand for?]]></description>
			<content:encoded><![CDATA[<h3><span style="text-decoration: underline;">How to make Background Color Opacity using CSS 3 ?</span></h3>
<p>Everyone knows what <strong>RGB</strong> stands for (red, green, blue), but what does the A stand for?<br />
It stands for Alpha, which refers to the <strong>transparency</strong>.</p>
<p>Other than rounded corners, RGBA is my next most used CSS3 property. Sometimes I just want to add a few light white/black background to navigation links when a user hover overs them. It&#8217;s much easier than creating a new image for each color. but using css3 property you can make <strong>background</strong> with <strong>opacity</strong>.</p>
<p><strong>Example css3 background :</strong></p>
<pre class="brush:xml">&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;Background Color Opacity&lt;/title&gt;
  &lt;style type="text/css"&gt;
    .rgba {
       width:200px;
       text-align:center;
       padding:10px;
       background: rgba(239, 182, 29, .50);
       }
  &lt;/style&gt;
&lt;body&gt;
  &lt;div&gt;how to make background color opacity&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>The Result:</p>
<div class="rgba" style="width:200px;text-align:center;padding:10px;background: rgba(239, 182, 29, .50);">Background color with opacity</div>
<div class="rgb" style="width:200px;text-align:center;padding:10px;background: rgb(239, 182, 29);">Background color opacity none</div>
]]></content:encoded>
			<wfw:commentRss>http://csssyntax.com/how-to-make-background-color-opacity-using-css3.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS 3 Box Shadow</title>
		<link>http://csssyntax.com/how-to-make-box-shadow-using-css-3.html</link>
		<comments>http://csssyntax.com/how-to-make-box-shadow-using-css-3.html#comments</comments>
		<pubDate>Tue, 03 Nov 2009 01:45:11 +0000</pubDate>
		<dc:creator>gusdwi</dc:creator>
				<category><![CDATA[About CSS 3]]></category>
		<category><![CDATA[css 3]]></category>
		<category><![CDATA[css tutorials]]></category>
		<category><![CDATA[learn css]]></category>

		<guid isPermaLink="false">http://csssyntax.com/?p=258</guid>
		<description><![CDATA[Excess CSS3 is able to make something that can not be done by CSS2]]></description>
			<content:encoded><![CDATA[<h3><span style="text-decoration: underline;">How to make Box Shadow using CSS 3</span></h3>
<p>Excess CSS3 is able to make something that can not be done by CSS2, which usually only be done by using javascript or jQuery assistance with writing complex code. but CSS3 able to turn it into a simple form. Like the way I made following the how to create a <strong>Box shadow</strong> using the CSS3.</p>
<p><strong>Example for css3 box shadow:</strong></p>
<pre class="brush:xml">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;How to make Box Shadow using CSS 3&lt;/title&gt;
&lt;style type="text/css"&gt;
.boxShadow {
          box-shadow: 5px 5px 2px black;
          -moz-box-shadow: 5px 5px 2px black;
          -webkit-box-shadow: 5px 5px 2px black;
          width:200px;
          padding:5px;
          text-align:center;
          background:#dddddd;
          border:solid 1px #666666;
          }
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
   &lt;div&gt;
      &lt;h2&gt;How to make Box Shadow using CSS 3&lt;/h2&gt;
   &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p><strong>The Result:</strong></p>
<div style="box-shadow: 5px 5px 2px black; -moz-box-shadow: 5px 5px 2px black; -webkit-box-shadow: 5px 5px 2px black; width:200px; padding:5px; text-align:center; background:#dddddd; border:solid 1px #666666;">
<h2>How to make Box Shadow using CSS 3</h2>
</div>
<p><strong>Note:</strong> This tutorial applies only to modern browsers such as Mozilla v 3.5.3 and above, safari, Google chrome</p>
]]></content:encoded>
			<wfw:commentRss>http://csssyntax.com/how-to-make-box-shadow-using-css-3.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
