<?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>WebDesign&#38;Such &#187; CSS3</title>
	<atom:link href="http://webdesignandsuch.com/tag/css3/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdesignandsuch.com</link>
	<description>a Beantown Design Production</description>
	<lastBuildDate>Sat, 14 Jan 2012 20:09:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>10 Awesome jQuery Responsive Sliders, Galleries &amp; Plugins</title>
		<link>http://webdesignandsuch.com/responsive-sliders-images-galleries-plugins-jquery/</link>
		<comments>http://webdesignandsuch.com/responsive-sliders-images-galleries-plugins-jquery/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 11:42:50 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Slider]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2855</guid>
		<description><![CDATA[Responsive website layouts have become increasingly popular. What are developers supposed to do about sliders and galleries when developing a responsive website? Here are 10 great solutions.]]></description>
			<content:encoded><![CDATA[<p>Responsive website layouts have become extremely popular recently due to the increasing support of desktop browsers and the increasing variety of browser sizes on other devices (tablets and phones). A responsive layout shrinks to fit whatever screen it&#8217;s on, making the website the correct size depending on the screen size. Many design blog owners have switched their blogs over to a responsive layout. A blog is mostly text and images, making this process rather easy. </p>
<p>The idea of creating responsive websites for real world business websites raises a few questions. The main question many designers and developers had (including myself) was <strong>&#8220;What about image galleries and sliders?&#8221;</strong>. Most websites have moved away from Flash in the last few years, many Flash animations being replaced by jQuery sliders. So how do you deal with a slider when developing a responsive website? Until now that left most people scratching their heads, but recently there have been some great responsive image sliders, galleries and plugins released.. so let me introduce <strong>my roundup of the 10 best responsive image sliders and galleries you can use on your website today</strong><em>(in no special order)</em>.. enjoy!</p>
<h2>1. <a href="http://flex.madebymufffin.com/" target="_blank">FlexSlider</a></h2>
<p><a href="http://flex.madebymufffin.com/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-jquery-slider.jpg" alt="responsive jquery slider"  width="575" height="410" class="alignnone size-full wp-image-3191" /></a></p>
<h2>2. <a href="http://marktyrrell.com/labs/blueberry/" target="_blank">Blueberry</a></h2>
<p><a href="http://marktyrrell.com/labs/blueberry/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-jquery-images.jpg" alt="responsive jquery images" width="575" height="223" class="alignnone size-full wp-image-3188" /></a></p>
<h2>3. <a href="http://tympanus.net/Tutorials/ResponsiveImageGallery/" target="_blank">Responsive Image Gallery</a></h2>
<p><a href="http://tympanus.net/Tutorials/ResponsiveImageGallery/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-thumbnail-gallery.jpg" alt="responsive thumbnail gallery"  width="575" height="361" class="alignnone size-full wp-image-3192" /></a></p>
<h2>4. <a href="http://graphik.fi/lab/responsive-jquery-slideshow/" target="_blank">Responsive jQuery Slideshow</a></h2>
<p><a href="http://graphik.fi/lab/responsive-jquery-slideshow/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-jquery-slideshow.jpg" alt="responsive jquery slideshow" width="575" height="397" class="alignnone size-full wp-image-3187" /></a></p>
<h2>5. <a href="http://unoslider.heroku.com/" target="_blank">UnoSlider</a></h2>
<p><a href="http://unoslider.heroku.com/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-jquery-image-slider.jpg" alt="responsive jquery image slider"  width="575" height="272" class="alignnone size-full wp-image-3185" /></a></p>
<h2>6. <a href="http://tympanus.net/Development/Elastislide/" target="_blank">Elastislide</a></h2>
<p><a href="http://tympanus.net/Development/Elastislide/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/jquery-responsive-plugin.jpg" alt="jquery responsive plugin"  width="575" height="185" class="alignnone size-full wp-image-3190" /></a></p>
<h2>7. <a href="http://www.photoswipe.com/" target="_blank">Photoswipe</a></h2>
<p><a href="http://www.photoswipe.com/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-image-gallery.jpg" alt="responsive image gallery"  width="575" height="384" class="alignnone size-full wp-image-3189" /></a></p>
<h2>8. <a href="http://www.matmarquis.com/carousel/" target=_blank">Responsive jQuery Carousel</a></h2>
<p><a href="http://www.matmarquis.com/carousel/" target=_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-carousel.jpg" alt="responsive jquery carousel"  width="575" height="291" class="alignnone size-full wp-image-3183" /></a></p>
<h2>9. <a href="http://css-tricks.com/13372-seamless-responsive-photo-grid/" target="_blank">Seamless Responsive Photo Grid</a></h2>
<p><a href="http://css-tricks.com/13372-seamless-responsive-photo-grid/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-image-grid.jpg" alt="responsive image grid"  width="575" height="407" class="alignnone size-full wp-image-3186" /></a></p>
<h2>10. <a href="http://johnpolacek.github.com/ResponsiveThumbnailGallery/" target="_blank">responsive thumbnail image gallery plugin</a></h2>
<p><a href="http://johnpolacek.github.com/ResponsiveThumbnailGallery/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-gallery-thumbnail.jpg" alt="responsive thumbnail image gallery plugin"  width="575" height="322" class="alignnone size-full wp-image-3194" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/responsive-sliders-images-galleries-plugins-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a fading magnifying glass overlay on image hover with jQuery and CSS3</title>
		<link>http://webdesignandsuch.com/create-overlay-on-image-hover-jquery-css3/</link>
		<comments>http://webdesignandsuch.com/create-overlay-on-image-hover-jquery-css3/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 14:15:05 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Slider]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2477</guid>
		<description><![CDATA[Here's a demo of how to create a fading transparent overlay effect of  a magnifying glass when you hover over an image, using jQuery &#038; CSS3. A great way to make image galleries more user friendly.]]></description>
			<content:encoded><![CDATA[<p>A common method for setting up a quick image gallery on a website is to have small thumnbnail images which when clicked on pop open larger versions of the image <em>(using a script like Fancybox)</em>. It&#8217;s a good idea to have some sort of effect on the smaller thumbnail images when they are hovered over to make it more user friendly <em>(in the same way you might change the color of a text link when hovered over)</em>. One simple method is to put a colored border around the image with CSS and change the color of the border when hovered over. Another more exciting option is to apply a background shadow behind the image with CSS3 when hovered over. I&#8217;ve used both of these methods on multiple websites, but wanted a more exciting solution.</p>
<h3>The Idea</h3>
<p>What I decided to create was a transparent image overlay when hovered on. So when you hover over the image you would see a magnifying glass icon over a transparent black background. This would make it easy for the user to see where they are on the page. Another reason this method is better than simply changing the border color is that the magnifying glass gives an indication that the image will zoom in or expand when clicked on. I&#8217;ve create two ways of accomplishing this effect, one used jQuery, and the other uses only CSS3.</p>
<h3>The Solution</h3>
<p><img src="http://webdesignandsuch.com/wp-content/uploads/jquery-fade1.jpg" alt="jquery fade image" title="jquery fade image" width="443" height="338" class="alignnone size-full wp-image-2696" /></p>
<p>Both methods use similar techniques, the only difference is weather they use jQuery or CSS for fading the opcaity. There is an image wrapped in a link. Inside of this link there is a span element. By setting the span to display block, setting the width and height of the span, and setting a higher z-index than the image; the span element covers the image. By setting the background image and color the span element hides the original image. Setting the opacity to zero on the span element allows the thumbnail image to be seen. To create the overlay effect we simply change the opacity of the span element to 70% <em>(or whatever you want to use for your project)</em>. One method uses jQuery to apply this opacity, the other method uses CSS3 transitions and opacity settings.</p>
<p><strong>Check out the demo, and grab the free download.</strong></p>
<div class="postButtons">
<div class="double"><a href="http://webdesignandsuch.com/posts/jquery-image-rollover/" class="demo">Demo</a><a href="http://webdesignandsuch.com/posts/jquery-image-rollover/jquery-image-rollover.zip" class="download">Download</a></div>
</div>
<h3 style="margin-top:40px">jQuery Method</h3>
<p>The jQuery method is cross browser safe, and unlike the CSS3 method fades the magnifying glass both in AND out. This method uses jQuery to set the opacity of the span element when hovered over. Here is the HTML for this method:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;a class=&quot;image&quot;  href=&quot;#&quot;&gt;
	&lt;span class=&quot;roll&quot; &gt;&lt;/span&gt;
	&lt;img class=&quot;imgborder&quot; alt=&quot;&quot; src=&quot;images/pic.jpg&quot;&gt;
&lt;/a&gt;
</pre>
<p>Here is the CSS for this method:</p>
<pre class="brush: css; title: ; notranslate">
span.roll {
	background:url(images/mag.png) center center no-repeat #000;
	height: 346px;
	position: absolute;
	width: 347px;
	z-index: 10;
	-webkit-box-shadow: 0px 0px 4px #000;
	-moz-box-shadow: 0px 0px 4px  #000;
	box-shadow: 0px 0px 4px  #000;
}</pre>
<p>And the jQuery:</p>
<pre class="brush: jscript; title: ; notranslate">
$(function() {
// OPACITY OF BUTTON SET TO 0%
$(&quot;.roll&quot;).css(&quot;opacity&quot;,&quot;0&quot;);

// ON MOUSE OVER
$(&quot;.roll&quot;).hover(function () {

// SET OPACITY TO 70%
$(this).stop().animate({
opacity: .7
}, &quot;slow&quot;);
},

// ON MOUSE OUT
function () {

// SET OPACITY BACK TO 50%
$(this).stop().animate({
opacity: 0
}, &quot;slow&quot;);
});
});
</pre>
<h3 style="margin-top:40px">CSS3 Method</h3>
<p>With the increasing support for CSS3 in modern browsers I just had to try this method using CSS3 opacity and transitions. Here&#8217;s the HTML for the CSS (no javascript used) method:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;a class=&quot;image&quot;  href=&quot;#&quot;&gt;
	&lt;span class=&quot;rollover&quot; &gt;&lt;/span&gt;
	&lt;img class=&quot;imgborder&quot; alt=&quot;&quot; src=&quot;images/pic2.jpg&quot;&gt;
&lt;/a&gt;
</pre>
<p>Here&#8217;s the CSS, where all the magic happens:</p>
<pre class="brush: css; title: ; notranslate">
span.rollover {
	opacity: 1;
	-o-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-webkit-transition: -webkit-transform 1s;
	background:url(images/mag.png) center center no-repeat #000;
	cursor: pointer;
	height: 346px;
	width: 347px;
	position: absolute;
	z-index: 10;
	opacity: 0;
}

span.rollover:hover {
	opacity: .7;
	-o-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-webkit-transition: -webkit-transform 1s;
	-webkit-box-shadow: 0px 0px 4px #000;
	-moz-box-shadow: 0px 0px 4px #000;
	box-shadow: 0px 0px 4px #000;
}
</pre>
<p>Credits:<br />
<a href="http://www.hv-designs.co.uk/2010/01/13/learn-how-to-add-a-jquery-fade-in-and-out-effect/" target="_blank">jQuery Fade Script</a><br />
<a href="http://www.iconfinder.com/icondetails/16966/128/find_magnifying_glass_search_zoom_icon" target="_blank">Magnifying Glass Image</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/create-overlay-on-image-hover-jquery-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Post-it Note with CSS3</title>
		<link>http://webdesignandsuch.com/create-a-post-it-note-with-css3/</link>
		<comments>http://webdesignandsuch.com/create-a-post-it-note-with-css3/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 15:17:17 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Slider]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2452</guid>
		<description><![CDATA[If you need to put a quick note on a website, why not use a Post-it note? There's no need to use any images now that we have good old CSS3. We can use some nice handwritten text, skew the note to the side, even add a shadow.]]></description>
			<content:encoded><![CDATA[<p>If you need to put a quick note on a website, why not use a Post-it note? There&#8217;s no need to use any images now that we have CSS3. We can use some nice handwritten text, skew the note to the side, even add a shadow.</p>
<div class="postButtons">
<div class="single"><a href="http://webdesignandsuch.com/posts/css3-post-it/index.html" class="demo">Download</a></div>
</div>
<p>Here&#8217;s the CSS used for the Post-it in the demo <em>(which is a div with class &#8220;post-it&#8221;)</em>.</p>
<pre class="brush: css; title: ; notranslate">
.post-it {
background:#fefabc;
padding:15px;
font-family: 'Gloria Hallelujah', cursive;
font-size:15px;
color: #000;
width:200px; 

-moz-transform: rotate(7deg);
-webkit-transform: rotate(7deg);
-o-transform: rotate(7deg);
-ms-transform: rotate(7deg);
transform: rotate(7deg);

box-shadow: 0px 4px 6px #333;
-moz-box-shadow: 0px 4px 6px #333;
-webkit-box-shadow: 0px 4px 6px #333;

}</pre>
<p>You can customize your CSS Post-it note by changing the background color, changing how much the note is rotated, or changing the font. Here is the font I used for the demo: <a href="http://www.google.com/webfonts#QuickUsePlace:quickUse/Family:Gloria+Hallelujah" target="_blank"><strong>Gloria Hallelujah</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/create-a-post-it-note-with-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Zebra Striping to a Table with jQuery</title>
		<link>http://webdesignandsuch.com/add-zebra-striping-to-a-table-with-jquery/</link>
		<comments>http://webdesignandsuch.com/add-zebra-striping-to-a-table-with-jquery/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 23:57:52 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=960</guid>
		<description><![CDATA[Learn how to use jQuery to apply zebra striping to a table; a technique which is cross browser compatible. Yup, even your favorite browser Internet Explorer can pull this one off!]]></description>
			<content:encoded><![CDATA[<p>In a <strong><a href="http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-css3/">previous post</a></strong> I showed how to use CSS3 to add a background color to every other row in a table, a technique called &#8220;zebra striping&#8221;. While this is a great technique, it doesn&#8217;t work in browsers that don&#8217;t support certain CSS3 features, such as Internet Explorer. By using a little jQuery we can make sure that every other row will have the background color, regardless of what browser the website user is on. Check out the demo and then grab the code for your project.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/zebra-striping/index2.html">View Demo</a><br />
<span id="more-960"></span><br />
Copy and paste the following code into the head of your HTML file. Then add a table with multiple rows and you should see your table have different colors in every other row, just like the demo. </p>
<p>The code below is doing 3 things. First it is calling jQuery to be attached to the file. Second, we are assigning a background-color to the CSS class &#8220;odd&#8221;. The last step is using jQuery to automatically add the class &#8220;odd&#8221; to every other row. Pretty simple trick that works across browsers.</p>
<div class="codeBox" style="overflow:hidden">
<pre id="line1">&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;

&lt;style type="text/css"&gt;
&lt;!--
.odd {background: #caf2fe;}
--&gt;
&lt;/style&gt;

&lt;script type="text/javascript"&gt;
 $(document).ready(function(){
 $("tr:odd").addClass("odd");
 });
&lt;/script&gt;</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/add-zebra-striping-to-a-table-with-jquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Add Zebra Striping to a Table with CSS3</title>
		<link>http://webdesignandsuch.com/add-zebra-striping-to-a-table-with-css3/</link>
		<comments>http://webdesignandsuch.com/add-zebra-striping-to-a-table-with-css3/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 23:39:04 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=952</guid>
		<description><![CDATA[Zebra striping is a technique used to help the usability of a table in html. By coloring every other row in the table, it makes it easier for your eye to keep it's place. CSS3 makes this "uber" easy.]]></description>
			<content:encoded><![CDATA[<p>When you have a table on a website with a lot of rows it looks nice to add a background color to every other row. Just a subtle color change in every other row can help the human eye keep it&#8217;s place as it looks both across the row and down the page across the rows vertically. This technique is called &#8220;zebra striping&#8221;.</p>
<p>Sure you can add a CSS class to every other row manually, but what happens if you need to re-arrange or delete some rows? Having to go back and manually make sure every other row has a class so the zebra striping is on every other row is no longer a suitable solution. Luckily with the power of CSS3 this is no longer necessary. Check out the demo, and then grab the CSS code for your project.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/zebra-striping/index.html">View Demo</a><br />
<span id="more-952"></span><br />
All you need to do to add a background color to every other row in your table is add the following to your CSS file. This won&#8217;t work in Internet Explorer (big surprise), so if you really need to support every browser including IE, then check out how to use <a href="http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-jquery/"><strong>jQuery to apply zebra striping to a table</strong></a>.</p>
<div class="codeBox">
<pre id="line1">tbody tr:nth-child(odd) {
   background-color:#a9cdeb
}
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/add-zebra-striping-to-a-table-with-css3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using Box-Shadow with CSS3</title>
		<link>http://webdesignandsuch.com/using-box-shadow-with-css3/</link>
		<comments>http://webdesignandsuch.com/using-box-shadow-with-css3/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 21:20:54 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=567</guid>
		<description><![CDATA[Learn how to use CSS3 to add shadows to an image, table or div.]]></description>
			<content:encoded><![CDATA[<p>I showed in a <a href="http://webdesignandsuch.com/2009/11/using-text-shadow-with-css3/">previous post</a> how to use text-shadow with CSS3. Now it&#8217;s time to move on to something that&#8217;s just about as exciting, using <strong>Box-Shadow with CSS3</strong>. Throw it on a div, on a table, on an image.. anything goes! Of course it doesn&#8217;t work in every browser, but then again not much I talk about on this site does!</p>
<p>Check out the demo to see some examples and then keep reading to find out how to use <strong>Box-Shadow</strong>.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/box-shadow/box-shadow.html">View Demo</a><br />
<span id="more-567"></span><br />
Below are the examples from the demo page, with the code below it which made the shadow. For each shadow, you need to declare the dimensions for <strong>-webkit-box-shadow:</strong> and <strong> -moz-box-shadow:</strong>, which takes care of any browser that supports the box-shadow at this point.</p>
<p>The three numbers are similar to using text-shadow with CSS3, the first number is <strong>how far right</strong> the shadow is from the &#8220;box&#8221;, the next number is <strong>how far below</strong>, and the final number is the <strong>amount of blur</strong> for the shadow. Finally, you <strong>declare the color</strong> of the shadow.</p>
<p>You&#8217;ll see on a couple of them I used the awesome border-radius to show how the shadow wraps around a rounded corner. If you need a refresher on the border-radius declarations, <a href="http://webdesignandsuch.com/2009/10/rounded-corners-with-css3-border-radius/">look here</a>. If you want to check out some examples and code of text-shadow, <a href="http://webdesignandsuch.com/2009/11/using-text-shadow-with-css3/">look here</a>.</p>
<div class="codeBox" ><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 2px 2px 4px #000; -moz-box-shadow: 2px 2px 4px #000"/></p>
<p>{<br />-webkit-box-shadow: 2px 2px 4px #000; <br />-moz-box-shadow: 2px 2px 4px #000<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 6px 6px 6px #444; -moz-box-shadow: 6px 6px 6px #444"/></p>
<p>{<br />-webkit-box-shadow: 6px 6px 6px #444;<br />-moz-box-shadow: 6px 6px 6px #444<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 4px 4px 6px #fc6; -moz-box-shadow: 4px 4px 6px #FF66CC"/></p>
<p>{<br />-webkit-box-shadow: 4px 4px 6px #F6C;<br />-moz-box-shadow:4px 4px 6px #F6C<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 6px 6px 10px #000; -moz-box-shadow: 6px 6px 10px #000; -webkit-border-radius:12px; -moz-border-radius:12px; border:15px solid #FF9900"/></p>
<p>{<br />-webkit-box-shadow: 6px 6px 10px #000; <br />-moz-box-shadow: 6px 6px 10px #000;<br />-webkit-border-radius:12px;<br />
-moz-border-radius:12px; <br />border:15px solid #F90<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 6px 6px 10px #990; -moz-box-shadow: 6px 6px 10px #990; -webkit-border-radius:12px; -moz-border-radius:12px; border:12px solid #000"/></p>
<p>{<br />-webkit-box-shadow: 6px 6px 10px #990; <br />-webkit-border-radius:12px; <br />-moz-box-shadow: 6px 6px 10px #990;<br />-moz-border-radius:12px; <br />border:12px solid #000<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 0px 0px 20px #6F0; -moz-box-shadow: 0px 0px 20px #66FF00"/></p>
<p>{<br />-webkit-box-shadow: 0px 0px 20px #6F0;<br />-moz-box-shadow: 0px 0px 20px #6F0<br />}</div>
<div class="codeBox" style="margin-top:20px"><img class="alignnone" title="nice" src="http://webdesignandsuch.com/posts/box-shadow/rico.jpg" alt="" width="400" height="300" style="-webkit-box-shadow: 0px 0px 30px #000; -moz-box-shadow: 0px 0px 30px #000"/></p>
<p>{<br />-webkit-box-shadow: 0px 0px 30px #000; <br />-moz-box-shadow: 0px 0px 30px #000<br />}</div>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/using-box-shadow-with-css3/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Using Text-Shadow with CSS3</title>
		<link>http://webdesignandsuch.com/using-text-shadow-with-css3/</link>
		<comments>http://webdesignandsuch.com/using-text-shadow-with-css3/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 16:03:07 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=538</guid>
		<description><![CDATA[Remember the old days when the only way to create a shadow on text was to make it an image? That&#8217;s good for search engines..right? Oh sure, just use some ...]]></description>
			<content:encoded><![CDATA[<p>Remember the old days when the only way to create a shadow on text was to make it an image? <em>That&#8217;s good for search engines..right?</em> Oh sure, just use some image replacement and then the search engines can read it. Not so easy for text edits in the future. Or for changing the color of the text or the background behind the text.</p>
<p><strong>Fastforward to CSS3</strong>. Now we can define a shadow behind live text on a website. <em>Wiggity whaaat?</em> That&#8217;s right, simply with some good old CSS. Of course you&#8217;ll need to use a real browser, as of any other cool CSS technique, but I won&#8217;t even begin to go into that topic. <strong>So why is this so great?</strong></p>
<ul>
<li><strong>Search engines can read the text</strong></li>
<li><strong>Easily change the color of the text</strong></li>
<li><strong>Easily change the color, size, or blur of the shadow</strong></li>
<li><strong>Easily change the background color or image behind the text</strong></li>
<li><strong>Your friends will be like<em> totally impressed</em></strong></li>
</ul>
<p>An example of this is the title to every article on this lil website of mine. Do you see the shadow behind the title &#8220;<strong>Using Text-Shadow with CSS3</strong>&#8220;? If you don&#8217;t for the love of god.. <a href="http://www.mozilla.com/en-US/firefox/personal.html">DOWNLOAD FIREFOX</a>! Check out the demo for some more examples of text-shadow created with CSS3, and then continue reading to learn how to write the CSS.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/text-shadow/text-shadow.html">View Demo</a></p>
<p><span id="more-538"></span></p>
<p>The CSS to create the text-shadow is pretty simple. It&#8217;s written like this:</p>
<p> <strong>{text-shadow: 2px 2px 4px #000}</strong> </p>
<p>The first number is how far right of the text the shadow should go, the second is how far below the text, and the final number is the amount of blur to apply to the shadow. Then of course the color of the shadow is declared.</p>
<p>You can see below the examples from the demo page, and below them are the CSS styles that create each effect.</p>
<div class="codeBox">
<h1 style="color:#000; text-shadow:2px 2px 4px #000">H1 with text-shadow applied.</h1>
<p>{color:#000; text-shadow:2px 2px 4px #000}</p></div>
<p></p>
<div class="codeBox">
<h1 style="color:#000; text-shadow:2px 2px 8px #000">More blur applied to the shadow.</h1>
<p>{color:#000; text-shadow:2px 2px 8px #000}</p></div>
<p></p>
<div class="codeBox">
<h1 style="color:#000; text-shadow:4px 4px 4px #CCC; line-height:25px">Same blur, more distance, lighter color.</h1>
<p>{color:#000; text-shadow:4px 4px 4px #CCC}</p></div>
<p></p>
<div class="codeBox">
<h1 style="color:#006; text-shadow:2px 2px 4px #00C">Using color for the shadow.</h1>
<p>{color:#006; text-shadow:2px 2px 4px #00C}</p></div>
<p></p>
<div class="codeBox">
<h1 style="color:#F09; text-shadow:2px 2px 5px #F6F">Another example of color.</h1>
<p>{color:#F09; text-shadow:2px 2px 5px #F6F}</p></div>
<p></p>
<p>In this next example you can see how you can create a beveled look by using a shadow that goes zero pixels to either side, but goes 1 pixel straight up above the text.</p>
<div class="codeBox">
<h1 style="color:#090; text-shadow:0px -1px 0px #000">Create a beveled look.</h1>
<p>{color:#090; text-shadow:0px -1px 0px #000}</p>
</div>
<p><strong>So there it is, creating text-shadows with CSS3.</strong> You might also want to check out a <a href="http://webdesignandsuch.com/2009/10/rounded-corners-with-css3-border-radius/">recent article</a> where I show how to use border-radius with CSS3; (which is how the rounded corners on these divs above were created).</p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/using-text-shadow-with-css3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create a Navigation with an Unordered List &amp; CSS3</title>
		<link>http://webdesignandsuch.com/create-a-navigation-with-an-unordered-list-css3/</link>
		<comments>http://webdesignandsuch.com/create-a-navigation-with-an-unordered-list-css3/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 11:42:04 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=465</guid>
		<description><![CDATA[Using an unordered list is a simple and easy to style method of creating a navigation bar. Now with CSS3 and round corners created by the browser, it&#8217;s even easier ...]]></description>
			<content:encoded><![CDATA[<p>Using an unordered list is a simple and easy to style method of creating a navigation bar. Now with CSS3 and round corners created by the browser, it&#8217;s even easier to make a nice and clean nav. I introduced CSS3&#8242;s border-radius in a previous post, <a href="http://webdesignandsuch.com/2009/10/rounded-corners-with-css3-border-radius/">located here</a>.</p>
<p>Check out the example I created, and then keep reading to find out how to create the above nav with nothing more than some CSS.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/nav/ul-nav.html">View Demo</a><br />
<span id="more-465"></span><br />
<strong>First create your unordered list in your XHTML.</strong></p>
<div class="codeBox">&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221; class=&#8221;current&#8221;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;About&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Services&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;#&#8221;&gt;Contact&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</div>
<p>The first thing to do with your CSS is to make your unordered list display on the same line, and with no bullet points.</p>
<div class="codeBox">ul {list-style-type:none}<br />
li {display:inline}</div>
<p><strong>The next step is to style the links.</strong> We&#8217;ll add some padding around the links to space them out, and to give the background color the width and height we want. On the hover state of the links I made the border appear as you roll over the link. </p>
<p>You&#8217;ll see I made an &#8220;active&#8221; state for the current page you are on. I set the cursor for the active state to be the &#8220;default&#8221; cursor. This is so when you roll over the link of the current page you are on the pointer cursor will turn into the arrow, giving the illusion that it isn&#8217;t a link (even though it really is).</p>
<div class="codeBox">a:link, a:visited {text-decoration:none; color:#ccc; border:#000 1px solid; padding:5px 15px; -webkit-border-radius:10px; -moz-border-radius:10px}</p>
<p>a:hover, a:active {text-decoration:none; color:#ccc; border:#333 1px solid; padding:5px 15px; -webkit-border-radius:10px; -moz-border-radius:10px }</p>
<p>a.current {-webkit-border-radius:10px; -moz-border-radius:10px; background:#333; color:#FFF; border:#333 1px solid; cursor:default}</p></div>
<p>So there it is, with this basic foundation and your imagination you can make a variety of looks for your navigation. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/create-a-navigation-with-an-unordered-list-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rounded corners with CSS3 ~ border-radius</title>
		<link>http://webdesignandsuch.com/rounded-corners-with-css3-border-radius/</link>
		<comments>http://webdesignandsuch.com/rounded-corners-with-css3-border-radius/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 14:11:35 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=416</guid>
		<description><![CDATA[If you&#8217;ve designed websites before you know what a pain making rounded corners on a box can be. You can make an image of a box with rounded corners in ...]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve designed websites before you know what a pain making rounded corners on a box can be. You can make an image of a box with rounded corners in Photoshop and use it as a background-image on a div. The problem with this is that the content can&#8217;t ever become wider or longer, or it would be outside the box. </p>
<p>You can make separate images for the top rounded corners, the middle content section, and the bottom rounded corners. With this method you make the middle background image repeat on the y-axis as the content grows longer, which forces the box to grow and the bottom rounded corners to expand.</p>
<p>That&#8217;s a much better option, but still takes some time to create the images and set up the box. And of course if you want to change the color of the box or border you need to create new images.</p>
<p><strong>And then there was CSS3</strong>. One of the most exciting things of the new CSS3 spec is &#8220;border-radius&#8221;. What this means is that you can define the radius of any of the corners of a box, creating rounded corners. This is of course the ultimate, since the colors of the box and borders can be changed; and the box can grow wider and longer as content is expanded or enlarged. As with the other CSS3 features, all browsers don&#8217;t support this yet. So at this time it&#8217;s best to use it in situations where it helps visually, but doesn&#8217;t destroy the design if it doesn&#8217;t work in a browser. For example, check out the top of <a href="https://twitter.com/ilz_">my twitter page</a> in Internet Explorer (which doesn&#8217;t support border-radius), and Firefox (which does).</p>
<p><img alt="" src="http://webdesignandsuch.com/imagesForPosts/twitter1.jpg" title="border-radius" class="alignnone" width="545" height="209" /></p>
<p><img alt="" src="http://webdesignandsuch.com/imagesForPosts/twitter2.jpg" title="border-radius" class="alignnone" width="545" height="209" /><br />
<span id="more-416"></span><br />
You can see how in Internet Explorer the rounded corners do not appear. In Firefox they do. It doesn&#8217;t change the usability of the site if the corners don&#8217;t show up, it just looks better when they do. Another example of this is on my website. I use the border-radius for the breadcrumb navigation. <a href="http://beantowndesign.com/web-portfolio.html">See it here.</a> The links show the rounded corners in compliant browsers, and will be a box with straight corners in non-compliant browsers. It&#8217;s like a treat for people with current browsers.</p>
<p><strong>Here is how to use CSS border-radius.</strong></p>
<pre class="brush: css; title: ; notranslate">
.roundBox {
-webkit-border-radius:10px;
-moz-border-radius:10px
}
</pre>
<p>You&#8217;ll notice how you need to write slightly different code for Mozilla and WebKit based browsers. Eventually all browsers should all support rounded corners and universal code will be created. But even writing two different extensions like I showed above is a lot easier than creating multiple images. </p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/rounded-corners-with-css3-border-radius/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

