<?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>Cameron Baney Design Blog &#187; Tutorials</title>
	<atom:link href="http://blog.cameronbaney.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cameronbaney.com</link>
	<description>Web design information, tutorials, articles and inspiration</description>
	<lastBuildDate>Wed, 14 Jul 2010 22:58:11 +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>Create a CSS3 Search Form</title>
		<link>http://blog.cameronbaney.com/tutorials/create-a-css3-search-form/</link>
		<comments>http://blog.cameronbaney.com/tutorials/create-a-css3-search-form/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 22:47:39 +0000</pubDate>
		<dc:creator>Cameron Baney</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[search form]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.cameronbaney.com/?p=295</guid>
		<description><![CDATA[A site&#8217;s search form is a vital tool for visitors to quickly find exactly what they want. Since it is such a useful tool, it should not only stand out on your site in location, but also by appearance. Thanks to CSS3, creating a slick search form is easier than ever. Download SourceDemo The Markup [...]]]></description>
			<content:encoded><![CDATA[<p>A site&#8217;s search form is a vital tool for visitors to quickly find exactly what they want. Since it is such a useful tool, it should not only stand out on your site in location, but also by appearance. Thanks to CSS3, creating a slick search form is easier than ever.</p>
<p><span id="more-295"></span><br />
<span class="tutbtn r"><a class="tutsource" href="/tutorials/css3-search-form/css3-search-form.zip">Download Source</a></span><span class="tutbtn"><a class="tutdemo" href="/tutorials/css3-search-form/">Demo</a></span></p>
<h2>The Markup</h2>
<p>The markup is simple. All that is needed is a form, a text box and a submit button.</p>
<pre name="code" class="html">
<form id="search-form">
<input type="text" />
<input type="submit" value="Search" />
</form>
</pre>
<h2>CSS3 Magic</h2>
<p>The rest is done with CSS. This includes everything from gradients to rounded corners. CSS3 takes out a lot of the need for images, allowing elements to be more scalable as well as being easier to create. There are regular background colors included in the CSS for browsers that don&#8217;t support CSS3. They may not look as spiffy as the CSS3 version, but it will appear somewhat close.</p>
<pre name="code" class="css">
#search-form {
	background: #e1e1e1; /* Fallback color for non-css3 browsers */
	width: 365px;

	/* Gradients */
	background: -webkit-gradient( linear,left top, left bottom, color-stop(0, rgb(243,243,243)), color-stop(1, rgb(225,225,225)));
	background: -moz-linear-gradient( center top, rgb(243,243,243) 0%, rgb(225,225,225) 100%);

	/* Rounded Corners */
	border-radius: 17px;
	-webkit-border-radius: 17px;
	-moz-border-radius: 17px;

	/* Shadows */
	box-shadow: 1px 1px 2px rgba(0,0,0,.3), 0 0 2px rgba(0,0,0,.3);
	-webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.3), 0 0 2px rgba(0,0,0,.3);
	-moz-box-shadow: 1px 1px 2px rgba(0,0,0,.3), 0 0 2px rgba(0,0,0,.3);
}

/*** TEXT BOX ***/
input[type="text"]{
	background: #fafafa; /* Fallback color for non-css3 browsers */

	/* Gradients */
	background: -webkit-gradient( linear, left bottom, left top, color-stop(0, rgb(250,250,250)), color-stop(1, rgb(230,230,230)));
	background: -moz-linear-gradient( center top, rgb(250,250,250) 0%, rgb(230,230,230) 100%);

	border: 0;
	border-bottom: 1px solid #fff;
	border-right: 1px solid rgba(255,255,255,.8);
	font-size: 16px;
	margin: 4px;
	padding: 5px;
	width: 250px;

	/* Rounded Corners */
	border-radius: 17px;
	-webkit-border-radius: 17px;
	-moz-border-radius: 17px;

	/* Shadows */
	box-shadow: -1px -1px 2px rgba(0,0,0,.3), 0 0 1px rgba(0,0,0,.2);
	-webkit-box-shadow: -1px -1px 2px rgba(0,0,0,.3), 0 0 1px rgba(0,0,0,.2);
	-moz-box-shadow: -1px -1px 2px rgba(0,0,0,.3), 0 0 1px rgba(0,0,0,.2);
}

/*** USER IS FOCUSED ON TEXT BOX ***/
input[type="text"]:focus{
	outline: none;
	background: #fff; /* Fallback color for non-css3 browsers */

	/* Gradients */
	background: -webkit-gradient( linear, left bottom, left top, color-stop(0, rgb(255,255,255)), color-stop(1, rgb(235,235,235)));
	background: -moz-linear-gradient( center top, rgb(255,255,255) 0%, rgb(235,235,235) 100%);
}

/*** SEARCH BUTTON ***/
input[type="submit"]{
	background: #44921f;/* Fallback color for non-css3 browsers */

	/* Gradients */
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgb(79,188,32)), color-stop(0.15, rgb(73,157,34)), color-stop(0.88, rgb(62,135,28)), color-stop(1, rgb(49,114,21)));
	background: -moz-linear-gradient( center top, rgb(79,188,32) 0%, rgb(73,157,34) 15%, rgb(62,135,28) 88%, rgb(49,114,21) 100%);

	border: 0;
	color: #eee;
	cursor: pointer;
	float: right;
	font: 16px Arial, Helvetica, sans-serif;
	font-weight: bold;
	height: 30px;
	margin: 4px 4px 0;
	text-shadow: 0 -1px 0 rgba(0,0,0,.3);
	width: 84px;
	outline: none;

	/* Rounded Corners */
	border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;

	/* Shadows */
	box-shadow: -1px -1px 1px rgba(255,255,255,.5), 1px 1px 0 rgba(0,0,0,.4);
	-moz-box-shadow: -1px -1px 1px rgba(255,255,255,.5), 1px 1px 0 rgba(0,0,0,.2);
	-webkit-box-shadow: -1px -1px 1px rgba(255,255,255,.5), 1px 1px 0 rgba(0,0,0,.4);
}
/*** SEARCH BUTTON HOVER ***/
input[type="submit"]:hover {
	background: #4ea923; /* Fallback color for non-css3 browsers */

	/* Gradients */
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgb(89,222,27)), color-stop(0.15, rgb(83,179,38)), color-stop(0.8, rgb(66,143,27)), color-stop(1, rgb(54,120,22)));
	background: -moz-linear-gradient( center top, rgb(89,222,27) 0%, rgb(83,179,38) 15%, rgb(66,143,27) 80%, rgb(54,120,22) 100%);
}
input[type="submit"]:active {
	background: #4ea923; /* Fallback color for non-css3 browsers */

	/* Gradients */
	background: -webkit-gradient( linear, left bottom, left top, color-stop(0, rgb(89,222,27)), color-stop(0.15, rgb(83,179,38)), color-stop(0.8, rgb(66,143,27)), color-stop(1, rgb(54,120,22)));
	background: -moz-linear-gradient( center bottom, rgb(89,222,27) 0%, rgb(83,179,38) 15%, rgb(66,143,27) 80%, rgb(54,120,22) 100%);
}
</pre>
<h2>Compatibility</h2>
<p>CSS3 works in most new browsers, with the exception of Internet Explorer (any version). This has been tested cross-browser and cross-platform. If you have any issues, please comment below and I will try to patch them.</p>
<p>In addition, this tutorial is just to style the search form. You can slap these styles on a search form such as the WordPress search form for functionality.</p>
<p><span class="tutbtn r"><a class="tutsource" href="/tutorials/css3-search-form/css3-search-form.zip">Download Source</a></span><span class="tutbtn"><a class="tutdemo" href="/tutorials/css3-search-form/">Demo</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cameronbaney.com/tutorials/create-a-css3-search-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update your mobile site for Opera Mini</title>
		<link>http://blog.cameronbaney.com/tutorials/update-your-mobile-site-for-opera-mini/</link>
		<comments>http://blog.cameronbaney.com/tutorials/update-your-mobile-site-for-opera-mini/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 20:30:13 +0000</pubDate>
		<dc:creator>Cameron Baney</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.cameronbaney.com/?p=265</guid>
		<description><![CDATA[The unthinkable has happened: Opera Mini, a mobile version of the Opera browser, has been approved for the iPhone. It is a great browser, and has many features that the stock Safari browser doesn&#8217;t have. Unfortunately, your special iPhone version of your site may be broken when viewing it in Opera. This can easily be [...]]]></description>
			<content:encoded><![CDATA[<p>The unthinkable has happened: Opera Mini, a mobile version of the <a href="http://www.opera.com/">Opera browser</a>, has been approved for the iPhone. It is a great browser, and has many features that the stock Safari browser doesn&#8217;t have. Unfortunately, your special iPhone version of your site may be broken when viewing it in Opera. This can easily be fixed by adding in some more CSS.</p>
<h2><span id="more-265"></span>Supported CSS</h2>
<p>There may be some things that you don&#8217;t have to change for your mobile site&#8217;s CSS. Opera supports all of the advanced CSS selectors and pseudo classes that you have grown to love. Opera also supports the following CSS3 that you may have already been using:</p>
<ul>
<li>text-shadow</li>
<li>RGBA</li>
<li>outline</li>
</ul>
<p>Assuming you have been using -webkit specific CSS code, you may need to add some more CSS to get it to look right in Opera. Opera uses a mix of the generic properties, as well as specific Opera properties which has the &#8220;-o-&#8221; in front of the normal property such as &#8220;-o-box-sizing&#8221;.</p>
<h2>Box Shadows</h2>
<pre style="padding-left: 30px;">box-shadow: 1px 1px 2px rgba(0,0,0,.4);</pre>
<h2>Rounded Corners</h2>
<pre style="padding-left: 30px;">border-radius: 5px;</pre>
<h2>Box Sizing</h2>
<pre style="padding-left: 30px;">-o-box-sizing: border-box;</pre>
<h2>Transforms</h2>
<p>Transforms can be done by using the special &#8220;-o-&#8221; property. In this example I am going to be rotating my element.</p>
<pre style="padding-left: 30px;">-o-transform: rotate(7.5deg);</pre>
<h2>Gradients</h2>
<p>This was one of my favorite CSS3 properties. Unfortunately, this is one of the properties that Opera doesn&#8217;t support yet. Since Opera Mini is a regular iPhone app, they can put out regular updates. If they do support CSS gradients eventually, the update will be made available to all users.</p>
<h2>More resources</h2>
<p><a href="http://css3please.com/">CSS3 Please</a> &#8211; A quick guide that lets you see how to create different effects right on the site. The CSS on the site is editable, and all the changes are reflected live on the site.<a href="http://css3generator.com/"></a></p>
<p><a href="http://css3generator.com/">CSS3 Generator</a> &#8211; A very quick tool that lets you select what you want to do, and gives  you all CSS code for each browser (if available) to achieve it</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cameronbaney.com/tutorials/update-your-mobile-site-for-opera-mini/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create an iPhone-like content slider with jQuery</title>
		<link>http://blog.cameronbaney.com/tutorials/create-a-slick-content-slider-using/</link>
		<comments>http://blog.cameronbaney.com/tutorials/create-a-slick-content-slider-using/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 19:56:34 +0000</pubDate>
		<dc:creator>Cameron Baney</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.cameronbaney.com/?p=229</guid>
		<description><![CDATA[As I&#8217;m sure you are well aware, jQuery is a great and efficient way to enhance your website. Using jQuery, you can display your content in a different way, promote user interaction, and stand out from the rest. Today we will learn how to create an iPhone inspired content slider with jQuery and Nathan Searles&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m sure you are well aware, <a href="http://www.jquery.com">jQuery</a> is a great and efficient way to enhance your website. Using jQuery, you can display your content in a different way, promote user interaction, and stand out from the rest. Today we will learn how to create an iPhone inspired content slider with jQuery and Nathan Searles&#8217; loopedSlider.</p>
<p><span class="tutbtn r"><a class="tutsource" href="http://blog.cameronbaney.com/tutorials/iphone-like-slider/iphone-like-slider.zip">Download Source</a></span><span class="tutbtn"><a class="tutdemo" href="http://blog.cameronbaney.com/tutorials/iphone-like-slider/demo.html">Demo</a></span></p>
<p><span id="more-229"></span></p>
<p>I chose loopedSlider for this slider for many reasons. <a href="http://nathansearles.com/">Nathan Searles</a> is constantly updating the plugin over at <a href="http://github.com/nathansearles/loopedSlider">GitHub</a>. All of the updates are great because they add new features, and fix any bugs that may come up. This also allows all of the users of the plugin to easily get the latest version of the plugin. I also chose loopedSlider because of all of its features.</p>
<h2>About loopedSlider</h2>
<p>Unlike other jQuery sliders out there, loopedSlider can do it all, and at only 10kb, or 6kb minified. LoopedSlider&#8217;s main attraction is having a constant stream of content. When you reach the end, the slider doesn&#8217;t have to slider all the way back to the beginning, it just places the first item after the last, and continues going. LoopedSlider can also use a variety of ways to navigate through the content. You can have pagination links to each slide, or a previous and next arrow. The pagination can also be added dynamically by jQuery, or hardcoded. If you chose, you can also set the scroll speed, auto start, fade speed and auto height.</p>
<h2>The Theme</h2>
<p>I created a custom theme based on loopedSlider inspired by the iPhone. This custom theme is easy to use and implement into any version of loopedSlider whether it be the current version, or any future versions Nathan Searles&#8217; may put out. It is a full theme including themed pagination, previous button, and a next button with all of the active, hover and &#8220;current slide&#8221; effects. The complete package, including the CSS, images, demo and jQuery scripts, are available below.</p>
<h2>Further Resources</h2>
<p>For more information on loopedSlider and the latest versions, <a href="http://github.com/nathansearles/loopedSlider">visit its home at GitHub</a>.</p>
<p><span class="tutbtn r"><a class="tutsource" href="http://blog.cameronbaney.com/tutorials/iphone-like-slider/iphone-like-slider.zip">Download Source</a></span><span class="tutbtn"><a class="tutdemo" href="http://blog.cameronbaney.com/tutorials/iphone-like-slider/demo.html">Demo</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cameronbaney.com/tutorials/create-a-slick-content-slider-using/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Portfolio Design Tutorial 2: The Animation</title>
		<link>http://blog.cameronbaney.com/tutorials/new-portfolio-design-tutorial-2-the-animation/</link>
		<comments>http://blog.cameronbaney.com/tutorials/new-portfolio-design-tutorial-2-the-animation/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 17:07:22 +0000</pubDate>
		<dc:creator>Cameron Baney</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.cameronbaney.com/?p=175</guid>
		<description><![CDATA[In part two of the new portfolio design tutorials, you will learn how to recreate the animations used to transition between pages. Again, the entire site is on one page, in separate divs. They are broken up into different &#8220;pages&#8221; with jQuery. jQuery also takes care of the animations between page changes. To view the [...]]]></description>
			<content:encoded><![CDATA[<p>In part two of the <a href="http://www.cameronbaney.com">new portfolio</a> design tutorials, you will learn how to recreate the animations used to transition between pages. Again, the entire site is on one page, in separate divs. They are broken up into different &#8220;pages&#8221; with jQuery. jQuery also takes care of the animations between page changes. To view the animation that we will be recreating, <a href="http://www.cameronbaney.com">visit my portfolio</a> and navigate between the pages.  <span id="more-175"></span> If you have never used jQuery before, don&#8217;t be intimidated. Once you start to play around with jQuery and become more familiar with it, you will want to use it more and more in your projects. For those of you who don&#8217;t know, jQuery is a free, compact JavaScript library that enhances your website in many different ways. jQuery itself is like a foundation, needed for any jQuery project, but the magic happens with the plugins. These plugins are written by the community, and released free to everyone. The jQuery community is very large, and there are thousands of plugins across the web. Many of the plugins can be found on the <a href="http://plugins.jquery.com/">official jQuery website</a>.  In addition to the variety of plugins, there are tons of tutorials on how to use jQuery out there. A great jQuery tutorial resource is <a href="http://jqueryfordesigners.com/">jQuery for Designers</a>, run by <a href="http://twitter.com/rem">Remy Sharp</a>. The site is geared towards designers who don&#8217;t know everything about developing, but is a helpful resource to anyone interested in jQuery. I used one of Remy&#8217;s tutorials to replicate the animation for my site.</p>
<h3>The Tutorial</h3>
<p>The tutorial <a href="http://jqueryfordesigners.com/jquery-look-tim-van-damme/">jQuery look: Tim Van Damme</a> gave me a great foundation for what I wanted to accomplish on my website. There were just a few tweaks that I need to make to have it work smoothly for my website. To focus on just the animation part of the tutorial, navigate to the beginning of the <strong>&#8220;Accordion bounce&#8221; </strong>section. Follow the rest of Remy&#8217;s tutorial to accomplish all of the animation effects.  There were some problems in Internet Explorer for me because of my container&#8217;s transparent background. To solve this, I removed the following line in the jQuery script:</p>
<pre class="jscript">// (4) If the browser supports opacity, fade the panels out
  if ($.support.opacity) {
    $panels.stop().animate({opacity: 0 }, delay);
  }</pre>
<h3>That&#8217;s it</h3>
<p>Now you should have a nice animated site courtesy of jQuery and <a href="http://jqueryfordesigners.com/jquery-look-tim-van-damme/">jQuery for Designers</a>. Stay tuned for the next tutorial in the series that will teach you how to design the buttons used in &#8220;Connect With Me&#8221; section of <a href="http://www.cameronbaney.com">my portfolio</a>.</p>
<h3>Related Articles</h3>
<ul>
<li><a href="http://blog.cameronbaney.com/design/new-portfolio-design-tutorial-1-the-background/">New Portfolio Design Tutorial 1: The Background</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.cameronbaney.com/tutorials/new-portfolio-design-tutorial-2-the-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Portfolio Design Tutorial 1: The Background</title>
		<link>http://blog.cameronbaney.com/design/new-portfolio-design-tutorial-1-the-background/</link>
		<comments>http://blog.cameronbaney.com/design/new-portfolio-design-tutorial-1-the-background/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 19:45:18 +0000</pubDate>
		<dc:creator>Cameron Baney</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.cameronbaney.com/?p=144</guid>
		<description><![CDATA[I recently redesigned my portfolio from the ground up. I like to change up my designs every once and a while to keep it fresh, and to use the latest technologies that I learned since my last design. My latest portfolio design is a simple layout focused on user interaction. Almost everything has an element that reacts to the user's moves. Also, the site is built all on one page, but separated into sections by jQuery. This allows for a fast initial load time, and no loading after that.

This is the first tutorial in the series that I will teach you how I created the site. In this tutorial, you will learn how to recreate the background of my website.]]></description>
			<content:encoded><![CDATA[<p>I recently redesigned my <a href="http://www.cameronbaney.com">portfolio</a> from the ground up. I like to change up my designs every once and a while to keep it fresh, and to use the latest technologies that I learned since my last design. My latest portfolio design is a simple layout focused on user interaction. Almost everything has an element that reacts to the user&#8217;s moves. Also, the site is built all on one page, but separated into sections by jQuery. This allows for a fast initial load time, and no loading after that.</p>
<p>This is the first tutorial in the series that I will teach you how I created the site. In this tutorial, you will learn how to recreate the background of my website.</p>
<h3><span id="more-144"></span>Create the gradient</h3>
<p>In Photoshop, create a new document and make it the size you want. For my background, I used 1920 pixels x 1200 pixels. Next, create a new layer (Layer -&gt; New -&gt; Layer) and name it &#8220;Gradient&#8221;. Fill this layer with any color. It doesn&#8217;t matter what color you use, because the gradient will be all you see.</p>
<p>Next, add some blending options to the layer (Layer -&gt; Layer Style -&gt; Blending Options). In the layer style window, select <strong>Gradient Overlay</strong> and use the properties in the screenshot below.</p>
<p style="text-align: center;"><a class="fancyb" href="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-1-gradient.jpg"><img class="aligncenter size-medium wp-image-152" title="Gradient Overlay Properties" src="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-1-gradient-598x289.jpg" alt="Gradient Overlay Properties" width="598" height="289" /></a></p>
<p>For the actual gradient, you may use whatever colors you want. I chose to use a variety of colors in the spectrum. Once you applied the gradient, you should have something that looks similar to the following:</p>
<p style="text-align: center;"><a class="fancyb" href="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-1.jpg"><img class="aligncenter size-medium wp-image-151" title="Gradient" src="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-1-598x321.jpg" alt="Gradient" width="598" height="321" /></a></p>
<h3>Darken the Edges</h3>
<p>To add more depth, you can darken the edges. This adds depth to the graphic, and creates a subtle border. This step is simple, and a matter of preference.</p>
<p>Create a new layer above the gradient layer to separate the image effects and name it &#8220;Edges&#8221;. Use a large soft brush with black as the color (I used around a brush size of around 300.) Next, go around the edges of the image and paint the black. The easiest way to achieve this effect is to zoom out of your image so you can see the grey document background. Once you have zoomed out, paint with your only a quarter of your brush over the actual image, and the rest of the document background. Put more of the brush on the image to create a darker area. Repeat this process until you are please with the look. After this step, you should have something that looks similar to the following:</p>
<p style="text-align: center;"><a class="fancyb" href="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-2.jpg"><img class="aligncenter size-medium wp-image-154" title="Dark edges" src="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-2-598x321.jpg" alt="background-2" width="598" height="321" /></a></p>
<h3>Adding Lines for More Depth</h3>
<p>The next step is where the background comes to life. Create a new layer above the dark edges, name it &#8220;Lines&#8221;, and fill it with any color. Add blending options to the new layer, and select <strong>Gradient Overlay</strong>. This time, we are going to use a <strong>noise gradient</strong> instead of a solid gradient. This layer will be desaturated in the end, so colors do not matter. Use the properties in the screenshot below.</p>
<p style="text-align: center;"><a class="fancyb" href="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-3-properties.jpg"><img class="aligncenter size-medium wp-image-157" title="Noise Gradient Properties" src="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-3-properties-598x288.jpg" alt="Noise Gradient Properties" width="598" height="288" /></a></p>
<p>To get different effects, use the <strong>Randomize </strong>button in the Gradient Editor. You can keep hitting the button until you find a pattern that you like. Make sure you are focusing on the lines that it is creating, and not the colors. Remember, this layer will be desaturated in the end, so colors do not matter.</p>
<p>After the blending options have been set, and you are satisfied with the look, you need to separate the layer style from the layer. This is done by selecting the layer, and then selecting Layer -&gt; Layer Style -&gt; Create Layer. This creates a new layer for all of the layer styles applied in the Blending Options.</p>
<p>Once the new layer was created, you can delete the original &#8220;Lines&#8221; layer. Rename the &#8220;Lines&#8217;s Gradient Fill&#8221; layer to &#8220;Lines&#8221;. Next, desaturate the layer so the original gradient&#8217;s colors can be shown. This is done by selecting Image -&gt; Adjustments -&gt; Desaturate. The desaturate property will remove all color from the layer. Finally, select the &#8220;Lines&#8221; layer and change it to a <strong>Hard Light</strong> layer with <strong>75% Opacity</strong>. This allows what is under the layer to show through the &#8220;Lines&#8221; layer. You should end up with something that looks like the following:</p>
<p style="text-align: center;"><a class="fancyb" href="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-3.jpg"><img class="aligncenter size-medium wp-image-158" title="Lines" src="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-3-598x321.jpg" alt="background-3" width="598" height="321" /></a></p>
<h3>Add Highlight Lines</h3>
<p>The final step adds another level of depth to the image, but this time with highlights. This step is depends entirely on preference. Create a white line using the Line tool that follows the existing lines. The best way to do this is to zoom out of your image so you can see the document background as well. Then, when creating the line, hold in the shift button so you create a line that has an angle of 45°. Also, when you create the line, make sure that it extends the entire height of the image. See below for an example of what the plain line should look like (located in the middle).</p>
<p style="text-align: center;"><a class="fancyb" href="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-4-line.jpg"><img class="aligncenter size-medium wp-image-160" title="Plain Highlight Line" src="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-4-line-598x321.jpg" alt="background-4-line" width="598" height="321" /></a></p>
<p>Next, line up the highlight line with one of the existing lines. This will keep up with the consistency of the image and make the highlights more fluid. Finally, add a mask to the line shape layer. This step will be for the lines in the middle that come up from the edge, and fade near the middle of the image.</p>
<p>For the mask, use a large soft black brush and paint over the areas of the line you don&#8217;t want to appear on the image. Make sure that you keep the soft edge of the brush towards the part of the line that you want to appear in the image. That way, you will have a smooth fade. Once the mask is complete, adjust the layer&#8217;s opacity so it blends with the image, and doesn&#8217;t look out of place. For the four highlight lines that I created, I used one 25% opacity layer and three 40% opacity layers. The level of opacity will depend on the colors you used, and your preference. Repeat these steps to create more highlight lines until you are satisfied.</p>
<h3>You&#8217;re Done</h3>
<p>The final image should look similar to the following:</p>
<p style="text-align: center;"><a class="fancyb" href="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-final.jpg"><img class="aligncenter size-medium wp-image-164" title="Final Background" src="http://blog.cameronbaney.com/wp-content/uploads/2009/12/background-final-598x373.jpg" alt="background-final" width="598" height="373" /></a></p>
<p>Feel free to use this tutorial to create backgrounds for your own website, design, or desktop! Tune in for the next tutorial in the series that will teach you how to create the animation effect for the different pages of the <a href="http://www.cameronbaney.com">portfolio</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cameronbaney.com/design/new-portfolio-design-tutorial-1-the-background/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Create an Advanced CSS3 Menu</title>
		<link>http://blog.cameronbaney.com/tutorials/advanced-css3-menu/</link>
		<comments>http://blog.cameronbaney.com/tutorials/advanced-css3-menu/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 20:12:25 +0000</pubDate>
		<dc:creator>Cameron Baney</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://blog.cameronbaney.com/?p=96</guid>
		<description><![CDATA[Creating a nice looking menu no longer needs all the code and time it use to, thanks to CSS3. This is a tutorial explaining how to create great looking buttons using just CSS3. Download SourceDemo Writing the Markup Create an unordered list with some links in it Link Big Link Bigger Link Biggest link of [...]]]></description>
			<content:encoded><![CDATA[<p>Creating a nice looking menu no longer needs all the code and time it use to, thanks to CSS3. This is a tutorial explaining how to create great looking buttons using just CSS3.</p>
<p><span class="tutbtn r"><a class="tutsource" href="http://blog.cameronbaney.com/tutorials/cbdb-menu/cbdb-menu.zip">Download Source</a></span><span class="tutbtn"><a class="tutdemo" href="http://blog.cameronbaney.com/tutorials/cbdb-menu/demo.html">Demo</a></span><br />
<span id="more-96"></span></p>
<h3>Writing the Markup</h3>
<p>Create an unordered list with some links in it</p>
<pre name="code" class="html">
<ul>
<li><a href="#">Link</a></li>
<li><a href="#">Big Link</a></li>
<li><a href="#">Bigger Link</a></li>
<li><a href="#">Biggest link of them all</a></li>
<li><a href="#">Link</a></li>
</ul>
</pre>
<hr/>
<p>Add classes to the elements. In this case, we are going to add the &#8220;cbdb-menu&#8221; to the unordered list, and colors to the list items.</p>
<pre name="code" class="html">
<ul class="cbdb-menu">
<li class="red"><a href="#">Link</a></li>
<li class="green"><a href="#">Big Link</a></li>
<li class="yellow"><a href="#">Bigger Link</a></li>
<li class="cyan"><a href="#">Biggest link of them all</a></li>
<li class="blue"><a href="#">Link</a></li>
</ul>
</pre>
<h3>Styling the buttons with CSS3</h3>
<p>That&#8217;s all the markup you need. Right now your list looks plain, but CSS will make it look sharp. Let&#8217;s start by adding the style for the menu.</p>
<pre name="code" class="css">
.cbdb-menu li {
	display: block;
	float: left;
	line-height: 35px;
	list-style:none;
	margin: 0 5px;
	padding: 0 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}
</pre>
<p>This applies these styles to the list items of the unordered list with the &#8220;cbdb-menu&#8221; class. Notice we are using browser specific tags. Those are the special CSS tags that allow us to achieve the effects we could only get by using images before. The <em>border-radius</em> tag gives the buttons rounded corners, while the <em>box-shadow</em> tag gives them a drop shadow.</p>
<hr/>
<p>With the buttons stylized, the next step is to style the button&#8217;s text. Add the following to your stylesheet.</p>
<pre name="code" class="css">
.cbdb-menu li a {
	color: rgba(255, 255, 255, 0.8);
	font: 18px "Myriad Pro","Lucida Grande",Helvetica,Arial,sans-serif;
        font-weight: bold;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
.cbdb-menu a:hover {
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}
li.dark a {
	color: rgba(0, 0, 0, 0.8);
font-weight: bold;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4);
}
</pre>
<p>The properties for <em>.cbdb-menu li a</em> make it look more like a button than a link. The text-shadow property lets the button look inset in the button. The <em>dark</em> class is an optional class that you can put on your list items if you want dark text.</p>
<h3>That&#8217;s it!</h3>
<p>Now you have your own super sexy menu built entirely with CSS3. Since these buttons are made with CSS3, they are easily expandable based on how long the link is. The techniques aren&#8217;t limited to creating a menu. The same CSS can be applied to regular links to create easy and great looking call to action buttons, submit buttons, or any other button you can think of!</p>
<p>For even more information about CSS3, visit <a href="http://www.css3.info">www.css3.info</a>.</p>
<p><span class="tutbtn r"><a class="tutsource" href="http://blog.cameronbaney.com/tutorials/cbdb-menu/cbdb-menu.zip">Download Source</a></span><span class="tutbtn"><a class="tutdemo" href="http://blog.cameronbaney.com/tutorials/cbdb-menu/demo.html">Demo</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cameronbaney.com/tutorials/advanced-css3-menu/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Welcome to my blog</title>
		<link>http://blog.cameronbaney.com/design/welcome-to-my-blog/</link>
		<comments>http://blog.cameronbaney.com/design/welcome-to-my-blog/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 17:26:02 +0000</pubDate>
		<dc:creator>Cameron Baney</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Neat Tweets]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.cameronbaney.com/?p=16</guid>
		<description><![CDATA[It has been a long time coming, but my blog is finally finished! For those of you who don&#8217;t know me, I am a web designer. When I&#8217;m not designing a site, I am constantly looking for inspiration and the latest techniques. I hope that I can inspire some of you, as well as help [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a long time coming, but my blog is finally finished! For those of you who don&#8217;t know me, I am a web designer. When I&#8217;m not designing a site, I am constantly looking for inspiration and the latest techniques. I hope that I can inspire some of you, as well as help you with your designs.</p>
<p>I will be posting everything from website showcases for inspiration to tutorials and even my favorite tweets. Aside from my blog, you can also follow me on twitter: <a title="Follow me on Twitter" href="http://www.twitter.com/cameronbaney">@cameronbaney</a> where I tweet about everything web design.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cameronbaney.com/design/welcome-to-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
