<?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>Webdevtuts &#187; css3</title>
	<atom:link href="http://www.webdevtuts.net/tag/css3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevtuts.net</link>
	<description>Making tutorials fun and easy!</description>
	<lastBuildDate>Mon, 06 Sep 2010 17:54:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Adding rounded corners to internet explorer 6,7, and 8 using CSS3</title>
		<link>http://www.webdevtuts.net/coding/css/adding-rounded-corners-to-internet-explorer-6-7-and-8-using-css3/</link>
		<comments>http://www.webdevtuts.net/coding/css/adding-rounded-corners-to-internet-explorer-6-7-and-8-using-css3/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 18:34:38 +0000</pubDate>
		<dc:creator>Marcell</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[ie9]]></category>
		<category><![CDATA[rounded corners]]></category>

		<guid isPermaLink="false">http://www.webdevtuts.net/?p=1573</guid>
		<description><![CDATA[Adding rounded corners to IE using css3 was impossible considering Internet Explorer does not support css3. The only way to add rounded corners to IE was to create rounded corner images. Well today I will go over the techniques that will allow you to use rounded corners and IE web browsers.]]></description>
			<content:encoded><![CDATA[<p>Adding rounded corners to IE using css3 was impossible considering Internet Explorer does not support css3. The only way to add rounded corners to IE was to create rounded corner images. Well today I will go over the techniques that will allow you to use rounded corners in IE web browsers.</p>
<h2>The Steps</h2>
<p>So adding rounded corners to IE6, IE7, and IE8 is fairly simple thanks to <a href="http://css3pie.com/" title="css3 pie" target="_blank">css3pie</a> . First things first, download the PIE distribution zip and save it.</p>
<p>You should have 3 files inside of the folder. Look for a file called <b>pie.htc</b> and drag it into your website directory. It can be place where just remember to call it correctly in the stylesheet. </p>
<p>Now we will create the rounded corners and call the effects. In the code below I have written some css. The <b>#myelement</b> is the variable that you can identify in your HTML document. I&#8217;ve also called for the <b>pie.htc</b> function in my stylesheet where I would like for rounded corners to work in IE. </p>
<pre>
<code>
#myelement {
       behavior: url(PIE.htc);
       border-radius: 15px;
      -moz-border-radius:15px;
      -webkit-border-radius:15px;
}
</code>
</pre>
<p>You should now have rounded corners in IE browsers. Remember that this is this development is still in beta so if you just so happens discover a bug or so report it to the css3pie team. I have not encountered a problem yet but everyone code is different so look out. I hope you guys enjoy this little hack. What are your thoughts on this and have you used css3pie before?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevtuts.net/coding/css/adding-rounded-corners-to-internet-explorer-6-7-and-8-using-css3/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Create a awsesome images gallery using css3 and jquery</title>
		<link>http://www.webdevtuts.net/coding/css/create-a-awsesome-images-gallery-using-css3-and-jquery/</link>
		<comments>http://www.webdevtuts.net/coding/css/create-a-awsesome-images-gallery-using-css3-and-jquery/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 03:25:49 +0000</pubDate>
		<dc:creator>Marcell</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.webdevtuts.net/?p=809</guid>
		<description><![CDATA[Today we will be creating a very simple but great looking css3 image gallery using jquery and css3. If you're a beginner, GREAT! Follow this tutorial and you will have no problem adding jquery plugins to your website]]></description>
			<content:encoded><![CDATA[<p>Today we will be creating a very simple but great looking css3 image gallery using jquery and css3. The image gallery will be tited to the side and on hover will move. Whenever you click on the image a lightbox will pop out. So lets begin.</p>
<p><a href="http://www.demo.webdevtuts.net/css3-jquery/"/>Demo</a></p>
<h2>Folder Structure</h2>
<p>In the folder of your for your image gallery you should have 3 folders and 2 files. </p>
<ul>
<li><strong>Css</strong> -Contains the jquery css </li>
<li><strong>Images</strong> &#8211; Contains images</li>
<li><strong>Js</strong> &#8211; Contains the javascript</li>
<li>index.html</li>
<li>style</li>
</ul>
<p><img class="aligncenter" src="http://www.webdevtuts.net/wp-content/uploads/2010/01/files.jpg" alt="file structure"/></p>
<h2>The HTML Structure</h2>
<p>For the image gallery I simply wrapped the gallery in a div and added the images. Every 4 image has two different classed assigned to them. For example the first 4 images has a class name of thumb-small and for the other 4 images they have a class name of thumb-bottom. </p>
<pre>
<div id="gallery">
<code>&lt;a href=&quot;images/skate1.jpg&quot; title=&quot;You can write anything in here&quot;&gt;&lt;img class=&quot;thumb-top&quot; src=&quot;images/skate1.jpg&quot; alt=&quot;skateboarder&quot; title=&quot;skateboarder&quot;/&gt;&lt;/a&gt;
&lt;a href=&quot;images/skate1.jpg&quot; title=&quot;You can write anything in here&quot;&gt;&lt;img class=&quot;thumb-top&quot; src=&quot;images/skate1.jpg&quot; alt=&quot;skateboarder&quot; title=&quot;skateboarder&quot;/&gt;&lt;/a&gt;
&lt;a href=&quot;images/skate1.jpg&quot; title=&quot;You can write anything in here&quot;&gt;&lt;img class=&quot;thumb-top&quot; src=&quot;images/skate1.jpg&quot; alt=&quot;skateboarder&quot; title=&quot;skateboarder&quot;/&gt;&lt;/a&gt;
&lt;a href=&quot;images/skate1.jpg&quot; title=&quot;You can write anything in here&quot;&gt;&lt;img class=&quot;thumb-top&quot; src=&quot;images/skate1.jpg&quot; alt=&quot;skateboarder&quot; title=&quot;skateboarder&quot;/&gt;&lt;/a&gt;
&lt;a href=&quot;images/skate1.jpg&quot; title=&quot;You can write anything in here&quot;&gt;&lt;img class=&quot;thumb-bottom&quot; src=&quot;images/skate1.jpg&quot; alt=&quot;skateboarder&quot; title=&quot;skateboarder&quot;/&gt;&lt;/a&gt;
&lt;a href=&quot;images/skate1.jpg&quot; title=&quot;You can write anything in here&quot;&gt;&lt;img class=&quot;thumb-bottom&quot; src=&quot;images/skate1.jpg&quot; alt=&quot;skateboarder&quot; title=&quot;skateboarder&quot;/&gt;&lt;/a&gt;
&lt;a href=&quot;images/skate1.jpg&quot; title=&quot;You can write anything in here&quot;&gt;&lt;img class=&quot;thumb-bottom&quot; src=&quot;images/skate1.jpg&quot; alt=&quot;skateboarder&quot; title=&quot;skateboarder&quot;/&gt;&lt;/a&gt;
&lt;a href=&quot;images/skate1.jpg&quot; title=&quot;You can write anything in here&quot;&gt;&lt;img class=&quot;thumb-bottom&quot; src=&quot;images/skate1.jpg&quot; alt=&quot;skateboarder&quot; title=&quot;skateboarder&quot;/&gt;&lt;/a&gt;<!--formatted--></code>
</div>

<!--end gallery-->
</pre>
<h2>The Css</h2>
<p>For the Css you might wonder what -webkit, and -moz-transform is. Webkit is a Css3 tag that targets the safari web browser and moz-transform is a Css3 tag that targets the Mozilla Firefox web browser. In the css </p>
<ol>
<li><strong>-webkit-transform:</strong> &#8211; Used to rotate the images</li>
<li><strong>-webkit-transition:</strong> &#8211; Used to zoom/ease in on the images</li>
</ol>
<pre>
.thumb-top{
	clear:none;
	padding:10px 10px 30px 10px;
	height:200px;
	width:200px;
	background:#fff;
	-moz-transform:rotate(-4deg);
	-webkit-transform:rotate(-4deg);
	-webkit-transition: -webkit-transform 0.1s ease-in; /* Tells webkit to make a transition of a transform */
	border:1px solid #ececec; /* This border merges with the colour of the shadow in supporting browsers
	but in non-supporting browsers the border acts as the edge of the image */
	margin-bottom:25px;
}

.thumb-bottom{
	clear:none;
	padding:10px 10px 30px 10px;
	height:200px;
	width:200px;
	background:#fff;
	-moz-transform:rotate(-4deg);
	-webkit-transform:rotate(-4deg);
	-webkit-transition: -webkit-transform 0.1s ease-in; /* Tells webkit to make a transition of a transform */
	border:1px solid #ececec; /* This border merges with the colour of the shadow in supporting browsers
	but in non-supporting browsers the border acts as the edge of the image */
	margin-bottom:25px;
}

.thumb-top:hover{
	z-index:100;
	position:relative; /* Make the z-index work in Safari */
	-moz-transform:rotate(-8deg) scale(1.2);
	-webkit-transform:rotate(-8deg) scale(1.2);
}

.thumb-bottom:hover{
	z-index:100;
	position:relative; /* Make the z-index work in Safari */
	-moz-transform:rotate(4deg) scale(1.2);
	-webkit-transform:rotate(4deg) scale(1.2);
}

#gallery {
	margin-top:20px;
}
</pre>
<h2>Inserting and activating jquery plugins</h2>
<p>First things first when activating a jquery plugin is to simply make sure we call in the jquery script. Insert the code below into the head section of your document. The code below calls in jquery, then the two jquery plugins, and finally the plugin Css. </p>
<pre>
<code>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/jquery.lightbox-0.5.css&quot; media=&quot;screen&quot; /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.lightbox-0.5.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-1.3.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.lightbox-0.5.js&quot;&gt;&lt;/script&gt;<!--formatted--></code>
</pre>
<p>Now we want to add the script below to the body of our HTML document right before the end of the body tag.</p>
<pre>
<code>&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function(){
$(&quot;.thumb-top,.thumb-bottom&quot;).fadeTo(&quot;slow&quot;, 0.3);
$(&quot;.thumb-top,.thumb-bottom&quot;).hover(function(){
$(this).fadeTo(&quot;slow&quot;, 1.0);
},function(){
$(this).fadeTo(&quot;slow&quot;, 0.3);
});
});

$(function() {
    $(&#039;#gallery a&#039;).lightBox();
});
&lt;/script&gt;<!--formatted--></code>
</pre>
<p>For the code below I will try to explain it the best way I can so you can better understand it. I know not everyone is good with inserting Javascript plugins or changing functions. </p>
<p>The first function inside of the script tag targets the light box plugin. The light box plugin is when you click on an image and the image enlarges without being taken to the direct image location.</p>
<p> For this <b>$(&#8220;.thumb-top,.thumb-bottom&#8221;).fadeTo(&#8220;slow&#8221;, 0.3);</b>  function it just tells jquery to fade to anything with the class of thumb-top or thumb-bottom. So whenever your mouse is not on the image it will be darken.<br />
<img class="aligncenter" src="http://www.webdevtuts.net/wp-content/uploads/2010/01/dark.jpg" alt="dark"/> </p>
<p>For this <b>$(&#8220;.thumb-top,.thumb-bottom&#8221;).hover(function(){</b> function it just tells you on hover, or whenever you move over the image with your mouse that it will highlight the image.<br />
<img class="aligncenter" src="http://www.webdevtuts.net/wp-content/uploads/2010/01/highlight.jpg" alt="highlight"/></p>
<p>For the <b>$(&#8216;#gallery a&#8217;).lightBox();</b> function it just asks you what id tag would you like for it to bring up whenever you click on something with the tag of a href. For example I have the images wrapped inside of the id gallery and every image has an a href assign to it so whenever you click on it jquery knows when to call for the second lightbox function.<br />
<img class="aligncenter" src="http://www.webdevtuts.net/wp-content/uploads/2010/01/popout.jpg" alt="pop out"/><br />
<b>Note:</b> Rotation does not work in Internet explorer browsers do to lack of support of Css3. </p>
<p>After that you should now have your very own css3/jquery image gallery. I am no jquery expert but I try to help you guys understand it and a easy way instead of using words that you guys are not familiar with. </p>
<h3>Credit</h3>
<p>Credit goes to <a class="block" href="http://csswizardry.com/css3/" target="_blank">Csswizardry</a> for the css3 image gallery.<br />
Credit goes to <a class="block" href="http://leandrovieira.com/projects/jquery/lightbox/" target_blank>Leandrovieira</a> for the lightbox plugin. </p>
<p><a title="Downloaded {title} times" href="http://www.webdevtuts.net/wp-content/uploads/2009/07/downloads/css3-jquery.rar"><img src="http://webdevtuts.net/wp-content/uploads/2009/post/download_btn.gif" alt="Download" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdevtuts.net/coding/css/create-a-awsesome-images-gallery-using-css3-and-jquery/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
