<?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>Xguiden &#187; image</title>
	<atom:link href="http://xguiden.dk/tag/image/feed/" rel="self" type="application/rss+xml" />
	<link>http://xguiden.dk</link>
	<description>Dine guides findes her</description>
	<lastBuildDate>Sat, 13 Mar 2010 16:37:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Make an Attractive Vector Butterfly</title>
		<link>http://xguiden.dk/2010/03/10/how-to-make-an-attractive-vector-butterfly/</link>
		<comments>http://xguiden.dk/2010/03/10/how-to-make-an-attractive-vector-butterfly/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 10:20:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[brushes]]></category>
		<category><![CDATA[butterfly wing]]></category>
		<category><![CDATA[ellipse tool]]></category>
		<category><![CDATA[gradients]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[mesh]]></category>
		<category><![CDATA[polygon tool]]></category>
		<category><![CDATA[shades]]></category>
		<category><![CDATA[shape]]></category>
		<category><![CDATA[shapes]]></category>
		<category><![CDATA[transformation]]></category>
		<category><![CDATA[transition]]></category>
		<category><![CDATA[transparency]]></category>
		<category><![CDATA[Transparent]]></category>
		<category><![CDATA[triangle]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5551</guid>
		<description><![CDATA[In this tutorial I will show you how to make a vector butterfly using the blending mode from transparency box and the gradient mesh. The techniques shown in this tutorial will help you make shades on objects and liquid transition of colors. Believe me it is very easy.
 
Step 1
Let’s start with creating a butterfly wing. [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I will show you how to make a vector butterfly using the blending mode from transparency box and the gradient mesh. The techniques shown in this tutorial will help you make shades on objects and liquid transition of colors. Believe me it is very easy.</p>
<p><span> </span></p>
<h3>Step 1</h3>
<p>Let’s start with creating a butterfly wing. Open up a new document and select the Polygon Tool, and use it to create a triangle. Apply the settings you see below. I usually use simple shapes and then transform them into complex ones; you can also use the Pen Tool (P) for creating the shape of the wing.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/1.jpg" border="0" alt="" /></div>
<h3>Step 2</h3>
<p>Start the transformation. Convert the corner anchor points to smooth and add new smooth anchor points; deform the shape using the Direct Selection Tool (A). This is how we create the top shape of the butterfly wing.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/2.jpg" border="0" alt="" /></div>
<h3>Step 3</h3>
<p>Create the lower part of the wing using the same technique.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/3.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 4</h3>
<p>Use the Pen Tool (P) to create the shape you see in the picture below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/4.jpg" border="0" alt="" width="600" height="600" /></div>
<p>Fill it with light-blue. The colors will be adjusted later on. Copy and Paste in Front the blue shape. Select the blue and light-blue copies, then click Intersect in the Pathfinder palette. Then press Expand.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/5.jpg" border="0" alt="" width="600" height="600" /></div>
<p>Keeping it selected, click on the button Divide in the Pathfinder palette. Ungroup all the objects.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/6.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 5</h3>
<p>As the result of these actions we have a lot of redundant objects.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/7.jpg" border="0" alt="" width="600" height="600" /></div>
<p>In order to delete them, lock the sub layer with blue and light-blue shape, then use use the Selection Tool (V) select to all the redundant objects, and press the Delete key.</p>
<h3>Step 6</h3>
<p>The light blue shape has a lot of anchor points. If you want to reduce their amount go to Object &gt; Path &gt; Simplify, and apply the settings you see below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/9.jpg" border="0" alt="" width="600" height="600" /></div>
<p>This procedure is not necessary to conduct. I just do not like it when there are a lot of unnecessary objects in the project. Are you doing well? There is an easier way: if the light-blue shape is open, just click on the button Divide from the Pathfinder palette and there will be no need to do all the further actions.</p>
<h3>Step 7</h3>
<p>Fill the upper shape with a linear gradient that starts from light green to green, as shown on the picture below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/10.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 8</h3>
<p>Fill the lower shape with a linear gradient that starts with a light blue and goes to blue as shown.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/11.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 9</h3>
<p>Copy the lower shape and Paste in Front. Fill the shape with a solid light blue color. Now change the Blending Mode and Opacity from the Transparency palette as shown below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/12.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 10</h3>
<p>Let’s create the darkening on the top of the butterfly wing. Use the Pen Tool (P) to create the shape shown below. Copy and Paste in Front the light blue shape. Now select this copy and the newly created shape, then click on Intersect from the Pathfinder palette. Then press Expand.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/13.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 11</h3>
<p>Use the Mesh Tool (U) to create the gradient mesh shown below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/14.jpg" border="0" alt="" width="600" height="600" /></div>
<p>Select the upper points of the Mesh using the Direct Selection Tool (A) and change their color to blue. And following is the secret of success. In order to reach the liquid transition of colors, make the lower points of the mesh white. The idea is that a white color during the converting of the Blending Mode from Normal to Multiply turns into transparent. Select the whole shape by using the Selection Tool (V) and set the Blending Mode and Opacity as shown.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/15.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 12</h3>
<p>Now create a few more shades of blue color on the wing. Use the previously described techniques.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/16.jpg" border="0" alt="" width="600" height="600" /></div>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/17.jpg" border="0" alt="" width="600" height="600" /></div>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/18.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 13</h3>
<p>Use the Ellipse Tool (L) to create a few concentric ellipses.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/19.jpg" border="0" alt="" width="600" height="600" /></div>
<p>Add a few more ellipses of varying transparency on the wing.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/20.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 14</h3>
<p>Now let’s create the shading of the green color on the left and bottom part of the wing. Use the technique described in the previous steps.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/21.jpg" border="0" alt="" width="600" height="600" /></div>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/22.jpg" border="0" alt="" width="600" height="600" /></div>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/23.jpg" border="0" alt="" width="600" height="600" /></div>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/24.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 15</h3>
<p>Start creating the veins on the wing. Open up the Brushes box: Window &gt; Brushes and go to Open Brush library &gt; Artistic &gt; Artistic Ink and select Tapered Stroke. Apply a green color for the stroke and create the veins using the Pen Tool (P). Apply the settings you see below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/25.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 16</h3>
<p>Create a wavy image in the lower part of the wing. Select the Pen Tool (P) and create a wavy shape of a green color. Using Intersect from the Pathfinder to cut it out in the shape of a wing.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/26.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 17</h3>
<p>Now change the settings of the Blending Mode and Opacity from the Transparency palette as shown.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/27.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 18</h3>
<p>Copy the created shape and Paste it in Front. Then move it a little bit down using the Selection Tool (V). Cut out the copy in the shape of a wing.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/28.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 19</h3>
<p>Create the highlights on the wings. Select the Pen Tool (P) and create the shapes with black fills that have no stroke. Such elements have to show the structure of the wing.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/29.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 20</h3>
<p>Select each object and create the Gradient Mesh for it using the appropriate tool. Gradient Mesh has to be as simple as possible – put the point on one of the sides of the selected shape. If the Gradient Mesh is not as desired, one can undo the previous actions by pressing keys Command + Z.</p>
<p>Change it into a green color near the vein points and leave the rest black. Now select all the objects with the Gradient Mesh and set up the Blending Mode and Opacity as shown.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/30.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 21</h3>
<p>Now create the liquid transition of the color in the lower corner of the wing. Use the technique described above, but now instead of the Gradient Mesh use the radial gradient starting with green to white.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/31.jpg" border="0" alt="" width="600" height="600" /></div>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/32.jpg" border="0" alt="" width="600" height="600" /></div>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/33.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 22</h3>
<p>Create the lower part of the wing applying the achieved knowledge.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/34.jpg" border="0" alt="" width="600" height="600" /></div>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/35.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 23</h3>
<p>Make up a pattern on the lower part of the wing as shown in Step 13. Fill the ellipses with different colors, change the Blending Mode – have fun experimenting.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/36.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 24</h3>
<p>The wing is finished. Let’s create another one. Select all the objects of the wing using the Selection Tool (V) or Lasso Tool (Q) and go to Object &gt; Transform &gt; Reflect… Apply the settings you see below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/37.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 25</h3>
<p>Move the copy of the wing to the left using the Selection Tool (V) while pressing the Shift key to constrain the movement.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/38.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 26</h3>
<p>Create the body of the butterfly. Use the Ellipse Tool (L) to create a brown ellipse without stroke. Add the anchor points using the Direct Selection Tool (A).</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/39.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 27</h3>
<p>Select the body of the butterfly and create the Gradient Mesh using the Mesh Tool (U). Choose the points on Gradient Mesh and change the colors into different shades of the brown color from the Swatches box, starting with dark on the edges to light towards the center. This is how the volume effect is achieved.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/40.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 28</h3>
<p>Put the stripes on the body of the butterfly using the Pen Tool (P).</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/41.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 29</h3>
<p>Fill the stripes with black and white linear gradients and change the Blending Mode and Opacity from the Transparency palette. Apply the settings you see below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/42.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 30</h3>
<p>Select the Pen Tool (P) and draw the upper part of the body of the butterfly.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/43.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 31</h3>
<p>Now create the shade from the upper part on the lower part of the body. Use the Pen Tool (P) to draw the shape of the shade. Select the lower part of the body and go to Object &gt; Path &gt; Offset Path, and apply the settings you see below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/44.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 32</h3>
<p>Select the shape of the shade and the created Path and click on Intersect in the Pathfinder palette. Then press Expand.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/45.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 33</h3>
<p>Fill the shape of the shade with a black to white linear gradient and change the Blending Mode and Opacity from the Transparency palette. Apply the settings you see below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/46.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 34</h3>
<p>Select the upper part of the body and go to Object &gt; Create Gradient Mesh as shown below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/47.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 35</h3>
<p>Paint the upper part like the lower one, but I made the left lower point light green – that is the reflected light of the wing.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/48.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 36</h3>
<p>Create the eyes of the butterfly. Use the Ellipse Tool to create the dark-brown circle, while holding the Shift key. Then take the Mesh Tool (U) and create the net as shown. Choose the points and change their color to varying shades of brown.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/49.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 37</h3>
<p>Now create the highlight on the eye with the help of the Pen Tool (P). The stroke weight is 2 pixels. In order to round the edges of the highlighting click on the Round Cap button from stroke palette. Set the Opacity to 55% in the Transparency palette. Group (Command + G) all the eye-elements and double them. Drag the copy to its place as shown. The eyes are ready.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/50.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 38</h3>
<p>Create the antennae with the help of the Pen Tool (P). Use the same brush for the curves as for the veins on the the wings (see Step 15).</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/51.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Step 39</h3>
<p>Keeping the antennae selected go to Object &gt; Expand Appearance and fill them with the linear gradient as shown.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/52.jpg" border="0" alt="" width="600" height="600" /></div>
<h3>Conclusion</h3>
<p>The final image is shown below. Have fun creating your own butterfly. If you want to master this tutorial then be sure to experiment with color. Good luck!</p>
<div><a href="http://vector.tutsplus.com/butterfly4.jpg"><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/279_Vector_Butterfly/0.jpg" border="0" alt="" width="600" height="600" /></a></div>
<p> </p>
<p><img src="http://feeds.feedburner.com/~r/vectortuts/~4/H_cf3O5-rOI" alt="" width="1" height="1" /></p>

	Tags: <a href="http://xguiden.dk/tag/brushes/" title="brushes" rel="tag">brushes</a>, <a href="http://xguiden.dk/tag/butterfly-wing/" title="butterfly wing" rel="tag">butterfly wing</a>, <a href="http://xguiden.dk/tag/ellipse-tool/" title="ellipse tool" rel="tag">ellipse tool</a>, <a href="http://xguiden.dk/tag/gradients/" title="gradients" rel="tag">gradients</a>, <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/mesh/" title="mesh" rel="tag">mesh</a>, <a href="http://xguiden.dk/tag/polygon-tool/" title="polygon tool" rel="tag">polygon tool</a>, <a href="http://xguiden.dk/tag/shades/" title="shades" rel="tag">shades</a>, <a href="http://xguiden.dk/tag/shape/" title="shape" rel="tag">shape</a>, <a href="http://xguiden.dk/tag/shapes/" title="shapes" rel="tag">shapes</a>, <a href="http://xguiden.dk/tag/transformation/" title="transformation" rel="tag">transformation</a>, <a href="http://xguiden.dk/tag/transition/" title="transition" rel="tag">transition</a>, <a href="http://xguiden.dk/tag/transparency/" title="transparency" rel="tag">transparency</a>, <a href="http://xguiden.dk/tag/transparent/" title="Transparent" rel="tag">Transparent</a>, <a href="http://xguiden.dk/tag/triangle/" title="triangle" rel="tag">triangle</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a>, <a href="http://xguiden.dk/tag/vector/" title="vector" rel="tag">vector</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/03/08/draw-a-glowing-vector-pocket-watch-%e2%80%93-front-and-back/" title="Draw a Glowing, Vector Pocket Watch – Front and Back (08/03/2010)">Draw a Glowing, Vector Pocket Watch – Front and Back</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/shiny-green-button/" title="Shiny Green Button (13/02/2010)">Shiny Green Button</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/perfect-css-sprite-sliding-doors%c2%a0button/" title="Perfect CSS Sprite / Sliding Doors Button (13/02/2010)">Perfect CSS Sprite / Sliding Doors Button</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/making-image-overlay-caption-using-css/" title="Making Image Overlay Caption Using CSS (13/02/2010)">Making Image Overlay Caption Using CSS</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/making-a-photoshoot-effect-with-jquery-css/" title="Making a Photoshoot Effect With jQuery and CSS (13/02/2010)">Making a Photoshoot Effect With jQuery and CSS</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/10/how-to-make-an-attractive-vector-butterfly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a spattered photomontage in Photoshop</title>
		<link>http://xguiden.dk/2010/03/10/how-to-create-a-spattered-photomontage-in-photoshop/</link>
		<comments>http://xguiden.dk/2010/03/10/how-to-create-a-spattered-photomontage-in-photoshop/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 10:18:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[adobe photoshop]]></category>
		<category><![CDATA[brushes]]></category>
		<category><![CDATA[clipping mask]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[motion blur effect]]></category>
		<category><![CDATA[paint bucket tool]]></category>
		<category><![CDATA[pen tool]]></category>
		<category><![CDATA[photomontage]]></category>
		<category><![CDATA[rgb color mode]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5549</guid>
		<description><![CDATA[In this tutorial, we’ll learn how to make a spattered photomontage in Photoshop using brushes and some filters. Layered PSD file included. Let’s get started!
 
Final Image Preview

Create a new document (Ctrl+N) in Adobe Photoshop with the size 800px by 1068px (RGB color mode) at a resolution of 300 pixels/inch. Use the Paint Bucket Tool (G) [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial, we’ll learn how to make a spattered photomontage in Photoshop using brushes and some filters. Layered PSD file included. Let’s get started!<br />
<span> </span></p>
<h2>Final Image Preview</h2>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/58.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Create a new document (<strong>Ctrl+N</strong>) in <strong>Adobe Photoshop</strong> with the size <strong>800px</strong> by <strong>1068px</strong> (<strong>RGB</strong> color mode) at a resolution of <strong>300 pixels/inch</strong>. Use the<strong> Paint Bucket Tool (G)</strong> to fill with the next color <strong>#4A4B41</strong> the new background layer.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/1.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Add some noise on this background layer by applying the next filter: <strong>Filter&gt;Noise&gt;Add Noise</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/2.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next result:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/3.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Set<strong> Fill</strong> to<strong> 57%</strong> and <strong>Blending mode</strong> to <strong>Hard Light</strong> for this layer in<strong> Layers panel</strong>.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/4.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Find a stock photo with a jumping man represented on it, I used this <a href="http://www.sxc.hu/photo/1031935" target="_blank">photo</a> from <a href="http://www.sxc.hu/" target="_blank">stock.xchng</a>. I would like to thank the <a href="http://www.sxc.hu/profile/bizior" target="_blank">author</a> of this photo:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/5.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Remove the background using your favorite tools like <strong>Pen Tool (P)</strong>, <strong>Magic Wand Tool (W)</strong>, <strong>Magnetic Lasso (L)</strong> or even a simple <strong>Filter&gt;Extract </strong>and insert it on a <strong>new layer</strong> in our main document.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/6.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Choose <strong>Image &gt; Adjustments &gt; Hue/Saturation (Ctrl+U)</strong> and drag the slider to the left to decrease the<strong> Saturation</strong> of the color range for layer containing the jumping man.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/7.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next result:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/8.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
<strong>Create a new layer</strong> and select a <strong>Soft Round</strong> brush of <strong>black color (Opacity 15%)</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/9.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Use <strong>Soft Round</strong> brush to dark out the top and bottom parts of the document. Place this layer under the layer containing the jumping man:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/10.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Next we’ll make a copy of the layer containing the noise effect:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/11.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
… and select for it <strong>Filter&gt;Blur&gt;Motion blur</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/12.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next result:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/13.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Set <strong>Fill </strong>to <strong>27%</strong> for this layer in <strong>Layers panel</strong>:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/14.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Let’s create a <strong>clipping mask</strong> to make the content of the <strong>layer containing the motion blur effect</strong> only visible within the content of the <strong>layer containing the darked edges</strong>. Hold down<strong> Alt (Windows) </strong>or <strong>Option (Mac OS)</strong> and click between the last made layer and the layer with the darked edges (on the<strong> Layers panel</strong>)</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/15.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the nest effect:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/16.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
<strong>Create a new layer</strong> and use on it the <strong>Lasso Tool (L)</strong> to draw a freehand selection border as shown:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/17.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Next we have to paint the top edge inside the selection, applying the<strong> Soft Round</strong> brush of white color. Firstly we need to use a brush of bigger diameter for marking the border</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/18.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
then use <strong>Hard Mechanical</strong> brush of smaller diameter to paint the edges.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/19.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
This layer will be placed lower than the layer with the jumping man.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/20.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
<strong>Create a new layer</strong> and apply here the same technique to represent the same border for the layer on its bottom part.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/21.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
This layer will be placed also lower than the man’s layer:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/22.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next effect</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/23.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
<strong>Create a new layer</strong> and apply on it the <strong>Spatter</strong> brush of <strong>black color (Opacity 10%)</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/24.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
to dark out the bottom part of the picture. This layer needs to be placed under the man’s layer:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/25.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Click on the same layer on the bottom part of the <strong>Layers panel </strong>on <strong>Add layer mask </strong>icon and paint into mask with<strong> Hard Mechanical</strong> brush of <strong>black color</strong> to hide smoothly the dark spots.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/26.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next effect:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/27.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
<strong>Create a new layer</strong> again and select the <strong>Spatter</strong> brush</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/28.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Paint with this brush along the layer’s edges. The brush’s color is <strong>#FDC689 (Opacity 10%)</strong>. Place this layer under the layer containing the man.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/29.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /></p>
<p>Let’s create the next <strong>new layer</strong> and use here the <strong>Rectangular Marquee Tool (M)</strong> to represent the next selection:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/30.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Then right mouse click inside the selection and select <strong>Transform Selection</strong>, inclining it as it is demonstrated below:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/31.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Use the <strong>Spatter</strong> brush inside the selection and paint the top edge with the white color.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/32.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next result:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/33.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Make a copy of the last made layer with the inclined line and select the <strong>Free Transform (Ctrl+T)</strong> command to turn over the copy’s layer and place it the same way demonstrated on the next picture. The layer will be situated lower than the man’s layer:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/34.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
<strong>Create a new layer</strong> and use here <strong>Oil Medium Wet Flow</strong> brush to paint the central part of the picture. The brush’s color is <strong>#F2DABB (Opacity 29%)</strong>. This layer will be situated under the layer with the jumping man.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/35.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
The next <strong>Spatter</strong> brush will be used for painting the layer’s edges:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/36.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next result:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/37.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Set the <strong>Blending mode</strong> for this layer to <strong>Vivid Light</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/38.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
On the next <strong>new layer</strong> we’ll apply the <strong>Spatter</strong> brush of <strong>black color (Opacity 5%)</strong> to add a couple of spots on the central part of the picture.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/39.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
This layer will be situated under the man’s layer:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/40.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
<strong>Create a new layer</strong> again and select for it the <strong>Soft Round</strong> and <strong>Hard Mechanical</strong> brush of different diameter to represent several scratches. The brush’s color is <strong>black (Opacity 5%)</strong>.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/41.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/42.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next result:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/43.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Next step we’ll download a set of <a href="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/brushes_538.rar" target="_blank">brushes</a> for in Adobe Photoshop, named: <em>Blood_Brushes_by_Zattitud3 </em>and <em>Blood_splatter_brush_by_AnnFrost_stock </em>.</p>
<p><strong>Create a new layer</strong> and choose for it the next brush from downloaded set. The brushes’ color is <strong>#BF100D</strong>. Use here different <strong>Opacity </strong>for the brushes. This layer needs to be situated under the man’s layer:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/44.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/45.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next result:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/46.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
On the next<strong> new layer</strong> we’ll apply the brushes out of the above mentioned sets to represent several spots of the color <strong>#FBC671</strong>. Place this layer lower than the jumping man’s layer:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/47.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Add the next <strong>Drop Shadow</strong> settings for the layer by clicking on <strong>Add a layer style</strong> icon from bottom part of the <strong>Layers panel</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/48.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next effect:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/49.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Let’s create the next <strong>new layer</strong> and use again brushes out of the above mentioned sets. The brushes’ color is <strong>#677159</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/50.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Click on <strong>Add a layer style</strong> icon from bottom part of the<strong> Layers panel</strong> and select<strong> Drop Shadow</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/51.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
We’ve got the next effect:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/52.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
On the next <strong>new layer</strong> we’ll apply the brushes out of the next sets: <em>Blood_Brushes_by_Zattitud3</em> and <em>Blood_splatter_brush_by_AnnFrost_stock</em>. We need them to paint the zone along the man’s body with <strong>black color</strong>. Choose different <strong>Opacity</strong> and place this layer also under the man’s one:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/53.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Select<strong> Create new fill or adjustment layer</strong> from bottom part of the<strong> Layers panel</strong> and click to <strong>Curves</strong> to adjust the curve shape as shown.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/54.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
The <strong>Adjustment layer</strong> will be placed also lower than the layer with the jumping man:</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/55.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
<strong>Create a new layer</strong> and choose the <strong>Hard Mechanical</strong> brush to paint accurately the man’s hands and his face.</p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/56.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
The brush’s color is<strong> #E7BF82</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/57.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Set <strong>Fill</strong> to <strong>55%</strong> and <strong>Blending mode</strong> for this layer to <strong>Color Burn</strong></p>
<p><img src="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/58.jpg" alt="How to create a spattered photomontage in Adobe Photoshop CS4" /><br />
Finished!</p>
<p>View full size <a href="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/create-a-spattered-photomontage-in-photoshop.jpg">here</a>.</p>
<p>Download free <a href="http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial525/538.rar" target="_blank">Layered PSD file</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/rdlY5UetdA6w1Z3HkdnaEcWz2X4/0/da"><img src="http://feedads.g.doubleclick.net/~a/rdlY5UetdA6w1Z3HkdnaEcWz2X4/0/di" border="0" alt="" /></a><br />
<img src="http://feedads.g.doubleclick.net/~a/rdlY5UetdA6w1Z3HkdnaEcWz2X4/1/di" border="0" alt="" /><img src="http://feeds.feedburner.com/~r/adobetutorialz/~4/-jhiLEQLAJ4" alt="" width="1" height="1" /></p>

	Tags: <a href="http://xguiden.dk/tag/adobe/" title="Adobe" rel="tag">Adobe</a>, <a href="http://xguiden.dk/tag/adobe-photoshop/" title="adobe photoshop" rel="tag">adobe photoshop</a>, <a href="http://xguiden.dk/tag/brushes/" title="brushes" rel="tag">brushes</a>, <a href="http://xguiden.dk/tag/clipping-mask/" title="clipping mask" rel="tag">clipping mask</a>, <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/motion-blur-effect/" title="motion blur effect" rel="tag">motion blur effect</a>, <a href="http://xguiden.dk/tag/paint-bucket-tool/" title="paint bucket tool" rel="tag">paint bucket tool</a>, <a href="http://xguiden.dk/tag/pen-tool/" title="pen tool" rel="tag">pen tool</a>, <a href="http://xguiden.dk/tag/photomontage/" title="photomontage" rel="tag">photomontage</a>, <a href="http://xguiden.dk/tag/photoshop/" title="Photoshop" rel="tag">Photoshop</a>, <a href="http://xguiden.dk/tag/rgb-color-mode/" title="rgb color mode" rel="tag">rgb color mode</a>, <a href="http://xguiden.dk/tag/slider/" title="slider" rel="tag">slider</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/03/03/how-to-design-a-3d-glass-icon-in-photoshop/" title="How To Design a 3D Glass Icon in Photoshop (03/03/2010)">How To Design a 3D Glass Icon in Photoshop</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/how-to-create-waved-valentine-background-with-hearts/" title="How to create waved Valentine background with hearts (13/02/2010)">How to create waved Valentine background with hearts</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/how-to-create-a-stone-giant-matte-painting/" title="How to Create a Stone Giant Matte Painting (13/02/2010)">How to Create a Stone Giant Matte Painting</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/how-to-create-a-romantic-valentine%e2%80%99s-day-card/" title="How to Create a Romantic Valentine’s Day card (13/02/2010)">How to Create a Romantic Valentine’s Day card</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/how-to-create-a-mythical-creature-photo-manipulation/" title="How to Create a Mythical Creature Photo Manipulation (13/02/2010)">How to Create a Mythical Creature Photo Manipulation</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/10/how-to-create-a-spattered-photomontage-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making a Mosaic Slideshow With jQuery and CSS</title>
		<link>http://xguiden.dk/2010/03/10/making-a-mosaic-slideshow-with-jquery-and-css/</link>
		<comments>http://xguiden.dk/2010/03/10/making-a-mosaic-slideshow-with-jquery-and-css/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 10:11:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[css styles]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[element]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mosaic effect]]></category>
		<category><![CDATA[mosaic gallery]]></category>
		<category><![CDATA[mosaic slideshow]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[slide image]]></category>
		<category><![CDATA[slide style]]></category>
		<category><![CDATA[transition effect]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5559</guid>
		<description><![CDATA[When designing a product page, it is often necessary to present a number of images in a succession, also known as a slideshow. With the raise of the jQuery library and its numerous plugins, there is an abundance of ready-made solutions which address this problem. However, to make a lasting impression to your visitors, you [...]]]></description>
			<content:encoded><![CDATA[<p>When designing a product page, it is often necessary to present a number of images in a succession, also known as a slideshow. With the raise of the jQuery library and its numerous plugins, there is an abundance of ready-made solutions which address this problem. However, to make a lasting impression to your visitors, you need to present them with something they have not seen before.</p>
<p>Today we are making a jQuery &amp; CSS mosaic gallery. Mosaic, because it will feature an interesting tile transition effect when moving from one slide to another.</p>
<h3>Step 1 – XHTML</h3>
<p>The mosaic effect of the slideshow is achieved by dividing the original image into smaller parts. These tiles, which contain parts of the image, are sequentially hidden from view, which causes the effect. The markup of the slideshow is pretty straightforward. It consists of the main slideshow container element (<strong>#mosaic-slideshow</strong>), a left and right arrow for previous and next transition and the mosaic-slide div, which is inserted by jQuery at run-time.</p>
<h4>demo.html</h4>
<pre>&lt;div id="mosaic-slideshow"&gt;
	&lt;div class="arrow left"&gt;&lt;/div&gt;
	&lt;div class="arrow right"&gt;&lt;/div&gt;

	&lt;div class="mosaic-slide" style="z-index: 10;"&gt;

		&lt;!-- The mosaic-slide div and the tiles are generated by jQuery --&gt;
		&lt;div class="tile" style="..."&gt;&lt;/div&gt;
		&lt;div class="tile" style="..."&gt;&lt;/div&gt;
		&lt;div class="tile" style="..."&gt;&lt;/div&gt;
		&lt;div class="tile" style="..."&gt;&lt;/div&gt;

	&lt;/div&gt;
&lt;/div&gt;</pre>
<p>The div with the <strong>mosaic-slide</strong> class name is added to the page by jQuery after the<strong> transition()</strong> JavaScript function is executed (we will come back to this in the third step). Inside it you can see the <strong>tile </strong>divs. There are a total of 56 such divs, each of which has a 60px by 60px portion of the slide image set as its background.</p>
<div><a href="http://tutorialzine.com/wp-content/uploads/2010/03/i1.jpg"><img class="size-full wp-image-766" src="http://tutorialzine.com/wp-content/uploads/2010/03/i1.jpg" alt="Mosaic Slideshow" width="620" height="460" /></a>Mosaic Slideshow</p>
</div>
<h3>Step 2 – CSS</h3>
<p>To make this effect work (and most importantly look good), we have to add a few lines of CSS. Only the code directly used by the gallery is shown here. You can see the code that styles the rest of the demonstration page in <strong>styles.css</strong>.</p>
<h4>styles.css – Part 1</h4>
<pre>#mosaic-slideshow{
	/* The slideshow container div */
	height:500px;
	margin:0 auto;
	position:relative;
	width:670px;
}

.mosaic-slide{
	/* This class is shared between all the slides */
	left:80px;
	position:absolute;
	top:25px;

	border:10px solid #555;

	/* CSS3 rounded corners */
	-moz-border-radius:20px;
	-webkit-border-radius:20px;
	border-radius:20px;
}

.tile{
	/* The individual tiles */
	height:60px;
	width:60px;
	float:left;
	border:1px solid #555;
	border-width:0 1px 1px 0;
	background-color:#555;
}</pre>
<p>The slideshow is contained inside the div with an ID of <strong>mosaic-slideshow</strong> (or #mosaic-slideshow, if we refer to it in a form of a CSS / jQuery selector).  There can be only one such div in the page, hence the use of an ID attribute.</p>
<p>However there can be more than one <strong>mosaic-slide</strong> divs in the page. The effect itself is achieved by stacking two slides on top of each other and hiding the tiles of the first one to reveal the ones of the second. This is why we are using a class name instead of an ID.</p>
<p>Some of the more interesting rules presented here are the three CSS3 rules for rounded corners. As the CSS3 standard is still a work in progress, browsers don’t support the regular <strong>border-radius </strong>property yet (except for the new 10.50 version of Opera), and need vendor-specific prefixes to recognize it. The<strong> -moz-</strong> prefix is used by Firefox, and <strong>-webkit-</strong> is used by Safari and Chrome.</p>
<h4>styles.css – Part 2</h4>
<pre>.arrow{
	/* The prev/next arrows */
	width:35px;
	height:70px;
	background:url("img/arrows.png") no-repeat;
	position:absolute;
	cursor:pointer;
	top:50%;
	margin-top:-35px;
}

.arrow.left{
	left:15px;
	background-position:center top;
}

.arrow.left:hover{
	background-position:center -70px;
}

.arrow.right{
	right:15px;
	background-position:center -140px;
}

.arrow.right:hover{
	background-position:center -210px;
}

.clear{
	/* This class clears the floats */
	clear:both;
}</pre>
<p>The <strong>arrow</strong> class is shared by the previous and next arrows. They do need individual styling in addition to this common rule, so we add it after this. We are also using a CSS sprite as the background for the arrow divs. It contains a regular and hover state for both arrows, which spares us from having to use four individual images.</p>
<blockquote><p>“<strong>CSS spriting</strong>” is a widespread technique used by web designers. It allows the designer to join multiple smaller images into a single larger one, called a sprite, which is downloaded faster and saves the web server from multiple download requests. After this, the designer can use the CSS background property in conjunction with setting the elements to a fixed size, to show only the part of the sprite image that they need.</p></blockquote>
<div><a href="http://tutorialzine.com/wp-content/uploads/2010/03/i2.jpg"><img class="size-full wp-image-767" src="http://tutorialzine.com/wp-content/uploads/2010/03/i2.jpg" alt="Mosaic Slideshow" width="620" height="260" /></a>Mosaic Slideshow</p>
</div>
<h3>Step 3 – jQuery</h3>
<p>After including the jQuery library to the page, we can move on to creating the script that will make the slideshow tick. To achieve the mosaic effect, the script defines 4 functions:</p>
<ul>
<li><strong>transition()</strong> – this function makes an animated transition between the currently shown slide, and a new one specified by the id parameter. It works by positioning the new slide we want to show, below the current one, and then hiding the current one one tile at a time;</li>
<li><strong>generateGrid()</strong> – this function is used by transition() to generate a grid of tiles. Each tile contains a part of the slide image as its background;</li>
<li><strong>next()</strong> – detects which the next slide is and runs the transition() function with its index;</li>
<li><strong>prev()</strong> – analogous to next().</li>
</ul>
<h4>script.js – Part 1</h4>
<pre>/* The slide images are contained in the slides array. */
var slides = new Array('img/slide_1.jpg',
					   'img/slide_2.jpg',
					   'img/slide_3.jpg',
					   'img/slide_4.jpg',
					   'img/slide_5.jpg');

$(document).ready(function(){
	/* This code is executed after the DOM has been completely loaded */

	$('.arrow.left').click(function(){
		prev();

		/* Clearing the autoadvance if we click one of the arrows */
		clearInterval(auto);
	});

	$('.arrow.right').click(function(){
		next();
		clearInterval(auto);
	});

	/* Preloading all the slide images: */

	for(var i=0;i&lt;slides.length;i++)
	{
		(new Image()).src=slides[i];
	}

	/* Showing the first one on page load: */
	transition(1);

	/* Setting auto-advance every 10 seconds */

	var auto;

	auto=setInterval(function(){
		next();
	},10*1000);
});</pre>
<p>The <strong>$(document).ready()</strong> method is executed once the page has finished loading. This will ensure that all the divs and other elements are accessible to the script. Inside it we bind a function for the click event on the previous and next arrows, preload all the images, show the first slide (otherwise the slideshow would be empty) and set up the auto-advance interval.</p>
<h4>script.js – Part 2</h4>
<pre>var current = {};
function transition(id)
{
	/* This function shows the slide specified by the id. */

	if(!slides[id-1]) return false;

	if(current.id)
	{
		/* If the slide we want to show is currently shown: */
		if(current.id == id) return false;

		/* Moving the current slide layer to the top: */
		current.layer.css('z-index',10);

		/* Removing all other slide layers that are positioned below */
		$('.mosaic-slide').not(current.layer).remove();
	}

	/* Creating a new slide and filling it with generateGrid: */
	var newLayer = $('&lt;div class="mosaic-slide"&gt;').html(generateGrid({rows:7,cols:8,image:slides[id-1]}));

	/* Moving it behind the current slide: */
	newLayer.css('z-index',1);

	$('#mosaic-slideshow').append(newLayer);

	if(current.layer)
	{
		/* Hiding each tile of the current slide, exposing the new slide: */
		$('.tile',current.layer).each(function(i){
			var tile = $(this);
			setTimeout(function(){
				tile.css('visibility','hidden');
			},i*10);
		})
	}

	/* Adding the current id and newLayer element to the current object: */
	current.id = id;
	current.layer = newLayer;
}</pre>
<p>The transition function uses the global <strong>current</strong> object to store the id of the currently shown slide, and a reference to the current slide div. This is later used to remove leftover slides and prevent a transition from occurring if the same slide as the currently active one is to be shown.</p>
<p>Notice how we use the each method on line 31 to loop through the tiles of the current slide and schedule them to be hidden in <strong>i*10 milliseconds</strong> in the future. As <strong>i</strong> is incremented for every tile, this mean that they are hidden 10 milliseconds apart from one another.</p>
<div><a href="http://tutorialzine.com/wp-content/uploads/2010/03/i31.png"><img class="size-full wp-image-768" src="http://tutorialzine.com/wp-content/uploads/2010/03/i31.png" alt="Slide Transition" width="620" height="460" /></a>Slide Transition</p>
</div>
<h4>script.js – Part 3</h4>
<pre>function next()
{
	if(current.id)
	{
		transition(current.id%slides.length+1);
	}
}

function prev()
{
	if(current.id)
	{
		transition((current.id+(slides.length-2))%slides.length+1);
	}

}

/* Width and height of the tiles in pixels: */
var tabwidth=60, tabheight=60;

function generateGrid(param)
{
	/* This function generates the tile grid, with each tile containing a part of the slide image */

	/* Creating an empty jQuery object: */
	var elem = $([]),tmp;

	for(var i=0;i&lt;param.rows;i++)
	{
		for(var j=0;j&lt;param.cols;j++)
		{
			tmp = $('&lt;div&gt;', {
					"class":"tile",
					"css":{
						"background":'#555 url('+param.image+') no-repeat '+(-j*tabwidth)+'px '+(-i*tabheight)+'px'
					}
			});

			/* Adding the tile to the jQuery object: */
			elem = elem.add(tmp);
		}

		/* Adding a clearing element at the end of each line. This will clearly divide the divs into rows: */
		elem = elem.add('&lt;div class="clear"&gt;&lt;/div&gt;');
	}

	return elem;
}</pre>
<p>The parameter passed to <strong>generateGrid()</strong> is an object containing the rows and the columns we want to be generated, as well as the image to be set as the background of the tiles. While generating the tiles, the background image is offset according to the current position of the tile in the row and in the column. Finally the tile is added to an empty jQuery object which is returned at the end.</p>
<p><strong>With this the mosaic slideshow is complete!</strong></p>
<h3>Wrapping it up</h3>
<p>Today we created a slideshow with an animated mosaic transition effect. You can modify it to include a different number of rows and columns or change the way slides are changed entirely.</p>
<p><strong>What do you think? How would you use this slideshow?</strong></p>
<p><img src="http://feeds.feedburner.com/~r/Tutorialzine/~4/0GM-mbwkGBs" alt="" width="1" height="1" /></p>

	Tags: <a href="http://xguiden.dk/tag/code/" title="code" rel="tag">code</a>, <a href="http://xguiden.dk/tag/content/" title="content" rel="tag">content</a>, <a href="http://xguiden.dk/tag/css/" title="CSS" rel="tag">CSS</a>, <a href="http://xguiden.dk/tag/css-styles/" title="css styles" rel="tag">css styles</a>, <a href="http://xguiden.dk/tag/css3/" title="css3" rel="tag">css3</a>, <a href="http://xguiden.dk/tag/design/" title="design" rel="tag">design</a>, <a href="http://xguiden.dk/tag/element/" title="element" rel="tag">element</a>, <a href="http://xguiden.dk/tag/function/" title="function" rel="tag">function</a>, <a href="http://xguiden.dk/tag/html/" title="HTML" rel="tag">HTML</a>, <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/javascript/" title="JavaScript" rel="tag">JavaScript</a>, <a href="http://xguiden.dk/tag/jquery/" title="jquery" rel="tag">jquery</a>, <a href="http://xguiden.dk/tag/mosaic-effect/" title="mosaic effect" rel="tag">mosaic effect</a>, <a href="http://xguiden.dk/tag/mosaic-gallery/" title="mosaic gallery" rel="tag">mosaic gallery</a>, <a href="http://xguiden.dk/tag/mosaic-slideshow/" title="mosaic slideshow" rel="tag">mosaic slideshow</a>, <a href="http://xguiden.dk/tag/script/" title="script" rel="tag">script</a>, <a href="http://xguiden.dk/tag/slide-image/" title="slide image" rel="tag">slide image</a>, <a href="http://xguiden.dk/tag/slide-style/" title="slide style" rel="tag">slide style</a>, <a href="http://xguiden.dk/tag/transition-effect/" title="transition effect" rel="tag">transition effect</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/03/10/awesome-cssjs-form-styling/" title="Awesome CSS+JS form styling (10/03/2010)">Awesome CSS+JS form styling</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/sweet-ajax-tabs-with-jquery-1-4-and-css3/" title="Sweet AJAX Tabs With jQuery 1.4 and CSS3 (13/02/2010)">Sweet AJAX Tabs With jQuery 1.4 and CSS3</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/making-a-photoshoot-effect-with-jquery-css/" title="Making a Photoshoot Effect With jQuery and CSS (13/02/2010)">Making a Photoshoot Effect With jQuery and CSS</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/03/03/how-we%e2%80%99ll-be-building-websites-in-5-years-html5-and-css3-layout/" title="How We’ll be Building Websites in 5 years: HTML5 and CSS3 layout (03/03/2010)">How We’ll be Building Websites in 5 years: HTML5 and CSS3 layout</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/15/how-to-code-up-a-web-design-from-psd-to-html/" title="How to Code up a Web Design from PSD to HTML (15/02/2010)">How to Code up a Web Design from PSD to HTML</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/10/making-a-mosaic-slideshow-with-jquery-and-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a web hosting layout</title>
		<link>http://xguiden.dk/2010/03/08/how-to-create-a-web-hosting-layout/</link>
		<comments>http://xguiden.dk/2010/03/08/how-to-create-a-web-hosting-layout/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 11:42:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Over]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5517</guid>
		<description><![CDATA[


Today will show you how to create another eye catching hosting layout. In this tutorial I will use only 2-3 colors, with small variations, and you can use this layout for any internet business you have. of course you need to make small changes.
 
For start we will need to create a new document. the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://feedads.g.doubleclick.net/~a/EXevJVm3k8k9CXUEmdWsahzBOvc/0/da"><img src="http://feedads.g.doubleclick.net/~a/EXevJVm3k8k9CXUEmdWsahzBOvc/0/di" border="0" alt="" /></a><br />
<a href="http://feedads.g.doubleclick.net/~a/EXevJVm3k8k9CXUEmdWsahzBOvc/1/da"><img src="http://feedads.g.doubleclick.net/~a/EXevJVm3k8k9CXUEmdWsahzBOvc/1/di" border="0" alt="" /></a></p>
<div></div>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/web-hosting-layout.jpg"><img class="alignleft size-full wp-image-6206" src="http://www.grafpedia.com/wp-content/uploads/2010/03/web-hosting-layout.jpg" alt="" width="200" height="200" /></a>Today will show you how to create another eye catching hosting layout. In this tutorial I will use only 2-3 colors, with small variations, and you can use this layout for any internet business you have. of course you need to make small changes.</p>
<p><span> </span><br />
For start we will need to create a new document. the size is as always 1000×1100 pixels, and I will create this document with a white background.<br />
I will select Rectangle Tool, and I will create two shapes. For the top shape I will use the following color: #393e43, and for the bottom one I will use another color: #373a3e</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/110.jpg"><img class="alignnone size-medium wp-image-6207" src="http://www.grafpedia.com/wp-content/uploads/2010/03/110-600x660.jpg" alt="" width="600" height="660" /></a></p>
<p>Then I will create another shapes like in the following image. Please click to see the full size image.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/26.jpg"><img class="alignnone size-medium wp-image-6208" src="http://www.grafpedia.com/wp-content/uploads/2010/03/26-600x660.jpg" alt="" width="600" height="660" /></a></p>
<p>As you can see I have some layer styles applied to the layers:</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/31.jpg"><img class="alignnone size-full wp-image-6209" src="http://www.grafpedia.com/wp-content/uploads/2010/03/31.jpg" alt="" width="600" height="444" /></a></p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/41.jpg"><img class="alignnone size-full wp-image-6210" src="http://www.grafpedia.com/wp-content/uploads/2010/03/41.jpg" alt="" width="600" height="444" /></a></p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/51.jpg"><img class="alignnone size-full wp-image-6211" src="http://www.grafpedia.com/wp-content/uploads/2010/03/51.jpg" alt="" width="600" height="444" /></a></p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/61.jpg"><img class="alignnone size-full wp-image-6212" src="http://www.grafpedia.com/wp-content/uploads/2010/03/61.jpg" alt="" width="600" height="444" /></a></p>
<p>With custom shape tool, I will add some arrows. And I will add the same layer style as above.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/71.jpg"><img class="alignnone size-medium wp-image-6213" src="http://www.grafpedia.com/wp-content/uploads/2010/03/71-600x660.jpg" alt="" width="600" height="660" /></a></p>
<p>Now I will create a button, with <a rel="http://www.grafpedia.com/images/Rounded-Rectangle-Tool.jpg" href="http://www.grafpedia.com">Rounded Rectangle Tool</a>.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/81.jpg"><img class="alignnone size-full wp-image-6214" src="http://www.grafpedia.com/wp-content/uploads/2010/03/81.jpg" alt="" width="600" height="346" /></a></p>
<p>For this button I will add the following layer styles.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/91.jpg"><img class="alignnone size-full wp-image-6215" src="http://www.grafpedia.com/wp-content/uploads/2010/03/91.jpg" alt="" width="600" height="444" /></a></p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/101.jpg"><img class="alignnone size-full wp-image-6216" src="http://www.grafpedia.com/wp-content/uploads/2010/03/101.jpg" alt="" width="600" height="444" /></a></p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/111.jpg"><img class="alignnone size-full wp-image-6217" src="http://www.grafpedia.com/wp-content/uploads/2010/03/111.jpg" alt="" width="600" height="444" /></a></p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/121.jpg"><img class="alignnone size-full wp-image-6218" src="http://www.grafpedia.com/wp-content/uploads/2010/03/121.jpg" alt="" width="600" height="444" /></a></p>
<p>This is how my button will look like.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/131.jpg"><img class="alignnone size-full wp-image-6219" src="http://www.grafpedia.com/wp-content/uploads/2010/03/131.jpg" alt="" width="600" height="351" /></a></p>
<p>I will set my foreground color to #25272a, and I will create two shapes with Rounded Rectangle Tool. please click on the following image to see the full size.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/141.jpg"><img class="alignnone size-medium wp-image-6220" src="http://www.grafpedia.com/wp-content/uploads/2010/03/141-600x660.jpg" alt="" width="600" height="660" /></a></p>
<p>For both shapes I will add the following layer styles.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/151.jpg"><img class="alignnone size-full wp-image-6221" src="http://www.grafpedia.com/wp-content/uploads/2010/03/151.jpg" alt="" width="600" height="444" /></a></p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/162.jpg"><img class="alignnone size-full wp-image-6222" src="http://www.grafpedia.com/wp-content/uploads/2010/03/162.jpg" alt="" width="600" height="444" /></a></p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/171.jpg"><img class="alignnone size-full wp-image-6223" src="http://www.grafpedia.com/wp-content/uploads/2010/03/171.jpg" alt="" width="600" height="444" /></a></p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/181.jpg"><img class="alignnone size-full wp-image-6224" src="http://www.grafpedia.com/wp-content/uploads/2010/03/181.jpg" alt="" width="600" height="444" /></a></p>
<p>This is my result</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/191.jpg"><img class="alignnone size-full wp-image-6225" src="http://www.grafpedia.com/wp-content/uploads/2010/03/191.jpg" alt="" width="600" height="363" /></a></p>
<p>Over the top shape I will add another shapes, and I will use the same layer styles. here I will create the hosting plans. If you have more than three plans you can create more shapes.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/201.jpg"><img class="alignnone size-medium wp-image-6226" src="http://www.grafpedia.com/wp-content/uploads/2010/03/201-600x660.jpg" alt="" width="600" height="660" /></a></p>
<p>With <a rel="http://www.grafpedia.com/images/Horizontal-Type-Tool.jpg" href="http://www.grafpedia.com">Horizontal Type Tool</a>, I will add some text, and in the same time I will add some images with some servers. please click on the following image to see the full size image.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/211.jpg"><img class="alignnone size-medium wp-image-6227" src="http://www.grafpedia.com/wp-content/uploads/2010/03/211-600x660.jpg" alt="" width="600" height="660" /></a></p>
<p>I have used the following font: Myriad Pro ( italic )<br />
In the middle of the layout I will add a nice image and another text.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/221.jpg"><img class="alignnone size-medium wp-image-6228" src="http://www.grafpedia.com/wp-content/uploads/2010/03/221-600x660.jpg" alt="" width="600" height="660" /></a></p>
<p>My last step is to create a search box, where your customers will be able to search available domain names. I will use the same layer style I have used for the button.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/231.jpg"><img class="alignnone size-full wp-image-6229" src="http://www.grafpedia.com/wp-content/uploads/2010/03/231.jpg" alt="" width="600" height="305" /></a></p>
<p>In the footer of the layout, I will add there another shape ( use the same layer styles as above ), and some text. This is my final result. I hope you like it.</p>
<p><a rel="thumbnail" href="http://www.grafpedia.com/wp-content/uploads/2010/03/241.jpg"><img class="alignnone size-medium wp-image-6230" src="http://www.grafpedia.com/wp-content/uploads/2010/03/241-600x660.jpg" alt="" width="600" height="660" /></a></p>
<p><img src="http://feeds.feedburner.com/~r/Grafpedia/~4/AoiynxxxeJk" alt="" width="1" height="1" /></p>

	Tags: <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/images/" title="images" rel="tag">images</a>, <a href="http://xguiden.dk/tag/internet/" title="internet" rel="tag">internet</a>, <a href="http://xguiden.dk/tag/over/" title="Over" rel="tag">Over</a>, <a href="http://xguiden.dk/tag/server/" title="Server" rel="tag">Server</a>, <a href="http://xguiden.dk/tag/start/" title="Start" rel="tag">Start</a>, <a href="http://xguiden.dk/tag/text/" title="text" rel="tag">text</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/02/13/big-html-tutorial-reference/" title="Big HTML Tutorial &amp; Reference (13/02/2010)">Big HTML Tutorial &amp; Reference</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/personal-vcard-pt-2/" title="Personal vCard Pt.2 (13/02/2010)">Personal vCard Pt.2</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/how-to-make-a-css-sprite-powered-menu/" title="How to Make a CSS Sprite Powered Menu (13/02/2010)">How to Make a CSS Sprite Powered Menu</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/15/how-to-code-up-a-web-design-from-psd-to-html/" title="How to Code up a Web Design from PSD to HTML (15/02/2010)">How to Code up a Web Design from PSD to HTML</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/03/08/design-and-code-a-cool-iphone-app-website-in-html5/" title="Design and Code a Cool iPhone App Website in HTML5 (08/03/2010)">Design and Code a Cool iPhone App Website in HTML5</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/08/how-to-create-a-web-hosting-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design and Code a Cool iPhone App Website in HTML5</title>
		<link>http://xguiden.dk/2010/03/08/design-and-code-a-cool-iphone-app-website-in-html5/</link>
		<comments>http://xguiden.dk/2010/03/08/design-and-code-a-cool-iphone-app-website-in-html5/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 11:41:59 +0000</pubDate>
		<dc:creator>DiscoTK</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[DOCTYPE]]></category>
		<category><![CDATA[fil]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[GET]]></category>
		<category><![CDATA[Glow]]></category>
		<category><![CDATA[Header]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[LP]]></category>
		<category><![CDATA[Mod]]></category>
		<category><![CDATA[Mount]]></category>
		<category><![CDATA[Outline]]></category>
		<category><![CDATA[Over]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[porte]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Source]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[textur]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5520</guid>
		<description><![CDATA[HTML5 is definitely the flavor of the month, with everyone in the design community getting excited about its release. In this tutorial we’ll get a taste of what’s to come by building a cool iPhone app website using a HTML5 structure, and visual styling with some CSS3 effects.

HTML5 isn’t here just yet, but the Working [...]]]></description>
			<content:encoded><![CDATA[<p>HTML5 is definitely the flavor of the month, with everyone in the design community getting excited about its release. In this tutorial we’ll get a taste of what’s to come by building a cool iPhone app website using a HTML5 structure, and visual styling with some CSS3 effects.</p>
<p><a href="http://line25.com/wp-content/uploads/2010/html5/demo/index.html"><img src="http://line25.com/wp-content/uploads/2010/html5/12.png" alt="iPhone app website for PKE Meter" /></a></p>
<p>HTML5 isn’t here just yet, but the Working Draft is complete enough for us to play around and get to grips with the exciting new elements we can use in our code. To learn how a few of these elements can be used, let’s put together a simple website for say, a fictional iPhone app.  This tutorial covered the process of building an interface just like the awesome apps from <a href="http://tapbots.com/">Tapbots</a>, so head over and check it out, then we’ll be ready to build an accompanying website for our PKE Meter application.</p>
<p><a href="http://line25.com/wp-content/uploads/2010/html5/demo/index.html">View the demo</a></p>
<h3>The PSD concept</h3>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/01.png" alt="" /></p>
<p>First, we’ll need to put together a concept for our app website. Create a new document in Photoshop. I use the dimensions of 1680×1050 to give a typical widescreen monitor resolution to work with.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/02.png" alt="" /></p>
<p>Fill the background with grey (#252525), then add some subtle texture by heading to Filter &gt; Noise &gt; Add Noise. Select the Gaussian and Monochromatic options and set the amount to 1.3%.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/03.png" alt="" /></p>
<p>Draw a simple app icon with the rounded rectangle, and type out the name of our app in Helvetica Bold.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/04.png" alt="" /></p>
<p>Double click the layer of each object to add some layer styling. Give each one a Color Overlay of #00ffcc and a soft Outer Glow to create an illuminated appearance.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/05.png" alt="" /></p>
<p>CMD-Click the layer thumbnail of each object to load the selection, then fill a new layer with a horizontal scan-lines pattern.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/06.png" alt="" /></p>
<p>Change the blending mode of the scan-lines to Multiply and drop the opacity to around 35%. Add a little logo and the usual highlight to the iPhone icon graphic.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/07.png" alt="" /></p>
<p>Type out an enticing introduction for the app with the type tool and add the same illuminated layer style. If you haven’t guessed already, the PKE Meter is the tool Egon Spengler uses in Ghostbusters. If Egon was busting ghosts in 2010, there’s no doubt he’d be using his iPhone to track psycho-kinetic energy.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/08.png" alt="" /></p>
<p>Fill out the design with a description of the app. To give the text a little extra pop, add a black drop shadow.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/09.png" alt="" /></p>
<p>Take the time to line-up the elements of your design and finish off the description of the app with a list of features.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/10.png" alt="" /></p>
<p>Download the handy <a href="http://www.teehanlax.com/blog/2009/06/18/iphone-gui-psd-30/">iPhone UI kit</a> from <a href="http://www.teehanlax.com/blog/2009/06/18/iphone-gui-psd-30/">Teehan+Lax</a> and paste in the custom app screenshot in place. Position the iPhone over to the right. Keeping the scale pretty large will help it act as a main focal point for the design and maintain the small details of the app interface.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/11.png" alt="" /></p>
<p>No iPhone app website would be complete without the ‘Available on the App Store’ badge. Paste in a copy of the badge and add some general styling with a subtle Inner Shadow.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/12.png" alt="" /></p>
<p>With just some copyright and disclaimer information added to the footer area, the concept is ready to be sliced and exported. Save the logo, the large iPhone graphic, the app store badge and a clipping of the textured background as PNG graphics.</p>
<h3>The HTML5 structure</h3>
<div>
<pre>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
	&lt;title&gt;PKE METER app for iPhone&lt;/title&gt;
	&lt;link href="style.css" rel="stylesheet" type="text/css" media="screen" /&gt;
&lt;/head&gt;
&lt;body&gt;
	&lt;div id="container"&gt;

	&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
</div>
<p>Next we’ll put together the basics for the HTML index page. The HTML5 doctype is pretty simple indeed. Just add <code>&lt;!DOCTYPE html&gt;</code>. This is followed by some familiar HTML that outlines the <code>&lt;head&gt;</code> and <code>&lt;body&gt;</code>. We’ll add a div with an id of container to enclose all the content in a fixed width.</p>
<div>
<pre>&lt;header&gt;
	&lt;img src="images/logo.png" alt="PKE Meter" id="logo" /&gt;
	&lt;h1&gt;Track ghosts,&lt;br&gt; on your iPhone&lt;/h1&gt;
&lt;/header&gt;
</pre>
</div>
<p>Now the new HTML5 elements will come into play. The <code>&lt;header&gt;</code> element is used to enclose a group of introductory or navigational aids. The logo and intro title of our design would fit perfectly here. The logo itself is added as an image, and the intro, being the most descriptive element is coded in a <code>&lt;h1&gt;</code>.</p>
<div>
<pre>&lt;section&gt;
	&lt;p&gt;Follow in the footsteps of Ghostbuster legend Egon Spengler and become a doctor of parapsychology with the PKE METER app for iPhone.&lt;/p&gt;

	&lt;h2&gt;Features:&lt;/h2&gt;
	&lt;ul&gt;
		&lt;li&gt;Study paranormal activity.&lt;/li&gt;
		&lt;li&gt;Track sources of psycho-kinetic energy.&lt;/li&gt;
		&lt;li&gt;Measure supernatural energy readings.&lt;/li&gt;
	&lt;/ul&gt;
&lt;/section&gt;
</pre>
</div>
<p>A <code>&lt;section&gt;</code> in HTML5 refers to a grouping of content, so all the information about the app in our design can be enclosed in the section element.</p>
<div>
<pre>&lt;aside&gt;
	&lt;a href="#"&gt;&lt;img src="images/iphone.png" alt="iPhone showcasing a screenshot of the PKE METER app." /&gt;&lt;/a&gt;
&lt;/aside&gt;
</pre>
</div>
<p>An <code>&lt;aside&gt;</code> in HTML5 is pretty similar to a <code>&lt;section&gt;</code> as it also basically a grouping of content, but an aside is used specifically for separate content that has a connection to a nearby section. The large graphic of the iPhone and app screenshot is related to the information that’s within the adjacent <code>&lt;section&gt;</code> element in our design, so it would work well as an aside.</p>
<div>
<pre>&lt;footer&gt;
	&lt;a href="#" id="app-store"&gt;Available on the iPhone app store&lt;/a&gt;

	&lt;p&gt;&lt;small&gt;&amp;copy; Paranormal Lab of Columbia University.&lt;/small&gt;&lt;/p&gt;
	&lt;p&gt;&lt;small&gt;Use of PKE METER for long periods may result in brain cell mutation.&lt;/small&gt;&lt;/p&gt;
&lt;/footer&gt;
</pre>
</div>
<p>The <code>&lt;footer&gt;</code> element is another handy structural HTML tag that replaces the old <code>&lt;div id="footer"&gt;</code> method with something more descriptive. Within the footer I’ve used <code>&lt;small&gt;</code> tags to surround the copyright and disclaimer. The <code>&lt;small&gt;</code> element is used to represent small print, and can be used for disclaimers, caveats, legal restrictions and copyrights (not small as in size, as the name suggests.)</p>
<div>
<pre>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
	&lt;title&gt;PKE METER app for iPhone&lt;/title&gt;
	&lt;link href="style.css" rel="stylesheet" type="text/css" media="screen" /&gt;
&lt;/head&gt;

&lt;body&gt;
	&lt;div id="container"&gt;
		&lt;header&gt;
			&lt;img src="images/logo.png" alt="PKE Meter" id="logo" /&gt;
			&lt;h1&gt;Track ghosts,&lt;br&gt; on your iPhone&lt;/h1&gt;
		&lt;/header&gt;

		&lt;section&gt;
			&lt;p&gt;Follow in the footsteps of Ghostbuster legend Egon Spengler and become a doctor of parapsychology with the PKE METER app for iPhone.&lt;/p&gt;

			&lt;h2&gt;Features:&lt;/h2&gt;
			&lt;ul&gt;
				&lt;li&gt;Study paranormal activity.&lt;/li&gt;
				&lt;li&gt;Track sources of psycho-kinetic energy.&lt;/li&gt;
				&lt;li&gt;Measure supernatural energy readings.&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/section&gt;

		&lt;aside&gt;
			&lt;a href="#"&gt;&lt;img src="images/iphone.png" alt="iPhone showcasing a screenshot of the PKE METER app." /&gt;&lt;/a&gt;
		&lt;/aside&gt;

		&lt;footer&gt;
			&lt;a href="#" id="app-store"&gt;Available on the iPhone app store&lt;/a&gt;

			&lt;p&gt;&lt;small&gt;&amp;copy; Paranormal Lab of Columbia University.&lt;/small&gt;&lt;/p&gt;
			&lt;p&gt;&lt;small&gt;Use of PKE METER for long periods may result in brain cell mutation.&lt;/small&gt;&lt;/p&gt;
		&lt;/footer&gt;
	&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
</div>
<p>So here’s our simple HTML5 page altogether. We’ve only used a couple of the new elements, but that’s all we needed for this particular design. It has however, enabled us to create a really clean markup and has seriously cut down on the number of <code>&lt;div&gt;</code> tags scattered around the HTML, making it much more easy to see where specific sections start and end.</p>
<h3>The CSS styling</h3>
<div>
<pre>body, div, h1, h2, h3, h4, h5, h6, p, ul, li, img, header, section, aside, footer, button {
	margin: 0; padding: 0; border: 0;
}

body {
	font-family: Helvetica, Arial, Sans-Serif;
	background: #2b2b2b url(images/bg.png);
}

#container {
	width: 960px;
	margin: 0 auto;
	padding: 90px 0 100px 0;
	position: relative;
	overflow: hidden;
}
</pre>
</div>
<p>Now it’s time to get everything styled up according to the visual concept. To begin, the stylesheet is given a quick reset to strip out the browser default styling, the body is given the dark textured background and the containing div is positioned centrally.</p>
<div>
<pre>header {}
	header img#logo {
		margin: 0 0 50px 0;
	}
	header h1 {
		margin: 0 0 30px 90px;
		font-size: 60px;
		font-weight: normal;
		line-height: 74px;
		color: #00ffcc;
		text-shadow: 0px 0px 10px #00ffcc;
	}
</pre>
</div>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/13.png" alt="" /></p>
<p>The logo and title can be moved into position by editing their margins, and the text for the intro title can be styled up the match the visual concept by adding the bright green color, and the illuminated effect with the CSS3 <code>text-shadow</code> property.</p>
<div>
<pre>section {
	margin: 0 15px 30px 0;
	width: 530px;
	float: left;
}
	section p {
		margin: 0 0 30px 90px;
		font-size: 22px;
		line-height: 35px;
		color: #d9d9d9;
		text-shadow: 0px 1px 5px #000;
	}
	section h2 {
		margin: 0 0 10px 90px;
		font-size: 40px;
		font-weight: normal;
		color: #00ffcc;
		text-shadow: 0px 0px 10px #00ffcc;
	}
	section ul {
		margin: 0 0 30px 90px;
		font-size: 22px;
		line-height: 45px;
		color: #d9d9d9;
		text-shadow: 0px 1px 5px #000;
	}
</pre>
</div>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/14.png" alt="" /></p>
<p>The <code>&lt;section&gt;</code> that contains all the textual information is given a specific width and floated to the left, and all the subsequent content elements such as the header two, paragraphs and unordered list are all given the appropriate font-sizing, margin and coloring to match the PSD concept.</p>
<div>
<pre>aside {
	position: absolute;
	top: 20px;
	right: 0;
}
</pre>
</div>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/15.png" alt="" /></p>
<p>The <code>&lt;aside&gt;</code> can then be moved into place with some absolute positioning. This ensures the iPhone graphic appears 20px from the top of the page, relative to the containing div.</p>
<div>
<pre>footer {
	width: 960px;
	float: left;
	clear: both;
	overflow: hidden;
}
	footer a#app-store {
		display: block;
		width: 198px;
		height: 72px;
		background: url(images/app-store.png);
		text-indent: -9999px;
		margin: 0 0 0 84px;
		float: left;
	}
	footer p {
		float: right;
		clear: right;
		font-size: 16px;
		color: #5a5a5a;
		margin: 10px 0 0 0;
	}
</pre>
</div>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/16.png" alt="" /></p>
<p>The footer can then be cleared so that it sits underneath the previous content and given an <code>overflow:hidden</code> declaration to clear itself after the floats used on the anchor and paragraphs. Speaking of anchors and paragraphs, these elements are each given moved into place with floats to finish off the CSS.</p>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/17.png" alt="" /></p>
<p>Previewing the site in Firefox, Chrome and Safari will show the site in all its coded glory. Unfortunately, Internet Explorer doesn’t share support for HTML5, so it needs a little extra work.</p>
<div>
<pre>&lt;script&gt;
  document.createElement('header');
  document.createElement('footer');
  document.createElement('section');
  document.createElement('aside');
&lt;/script&gt;
</pre>
</div>
<p><img src="http://line25.com/wp-content/uploads/2010/html5/18.png" alt="" /></p>
<p>Because IE doesn’t support HTML5, it just doesn’t recognise those new fancy elements. The good news is it’s easy to tell IE to create them anyway by adding the above Javascript to your <code>&lt;head&gt;</code>. As soon as this code is added, everything looks perfect in IE, albeit with the cool illumination effects being gracefully degraded. It’s worth noting that if Javascript is turned off, IE will show the broken version of the site. Chances are with an iPhone app website like this, the majority of the visitors are going to be clued up on their browsers, so it’s a risk that we could take for this particular design.</p>
<p><a href="http://line25.com/wp-content/uploads/2010/html5/demo/index.html">View the demo</a></p>

	Tags: <a href="http://xguiden.dk/tag/avi/" title="avi" rel="tag">avi</a>, <a href="http://xguiden.dk/tag/chrome/" title="Chrome" rel="tag">Chrome</a>, <a href="http://xguiden.dk/tag/community/" title="Community" rel="tag">Community</a>, <a href="http://xguiden.dk/tag/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://xguiden.dk/tag/css/" title="CSS" rel="tag">CSS</a>, <a href="http://xguiden.dk/tag/css3/" title="css3" rel="tag">css3</a>, <a href="http://xguiden.dk/tag/design/" title="design" rel="tag">design</a>, <a href="http://xguiden.dk/tag/doctype/" title="DOCTYPE" rel="tag">DOCTYPE</a>, <a href="http://xguiden.dk/tag/fil/" title="fil" rel="tag">fil</a>, <a href="http://xguiden.dk/tag/firefox/" title="FireFox" rel="tag">FireFox</a>, <a href="http://xguiden.dk/tag/fix/" title="fix" rel="tag">fix</a>, <a href="http://xguiden.dk/tag/get/" title="GET" rel="tag">GET</a>, <a href="http://xguiden.dk/tag/glow/" title="Glow" rel="tag">Glow</a>, <a href="http://xguiden.dk/tag/header/" title="Header" rel="tag">Header</a>, <a href="http://xguiden.dk/tag/help/" title="help" rel="tag">help</a>, <a href="http://xguiden.dk/tag/html/" title="HTML" rel="tag">HTML</a>, <a href="http://xguiden.dk/tag/html5/" title="html5" rel="tag">html5</a>, <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/images/" title="images" rel="tag">images</a>, <a href="http://xguiden.dk/tag/internet/" title="internet" rel="tag">internet</a>, <a href="http://xguiden.dk/tag/internet-explorer/" title="Internet Explorer" rel="tag">Internet Explorer</a>, <a href="http://xguiden.dk/tag/ip/" title="IP" rel="tag">IP</a>, <a href="http://xguiden.dk/tag/java/" title="Java" rel="tag">Java</a>, <a href="http://xguiden.dk/tag/javascript/" title="JavaScript" rel="tag">JavaScript</a>, <a href="http://xguiden.dk/tag/lp/" title="LP" rel="tag">LP</a>, <a href="http://xguiden.dk/tag/mod/" title="Mod" rel="tag">Mod</a>, <a href="http://xguiden.dk/tag/mount/" title="Mount" rel="tag">Mount</a>, <a href="http://xguiden.dk/tag/outline/" title="Outline" rel="tag">Outline</a>, <a href="http://xguiden.dk/tag/over/" title="Over" rel="tag">Over</a>, <a href="http://xguiden.dk/tag/photoshop/" title="Photoshop" rel="tag">Photoshop</a>, <a href="http://xguiden.dk/tag/png/" title="png" rel="tag">png</a>, <a href="http://xguiden.dk/tag/porte/" title="porte" rel="tag">porte</a>, <a href="http://xguiden.dk/tag/script/" title="script" rel="tag">script</a>, <a href="http://xguiden.dk/tag/source/" title="Source" rel="tag">Source</a>, <a href="http://xguiden.dk/tag/start/" title="Start" rel="tag">Start</a>, <a href="http://xguiden.dk/tag/tag/" title="tag" rel="tag">tag</a>, <a href="http://xguiden.dk/tag/tags/" title="tags" rel="tag">tags</a>, <a href="http://xguiden.dk/tag/text/" title="text" rel="tag">text</a>, <a href="http://xguiden.dk/tag/textur/" title="textur" rel="tag">textur</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a>, <a href="http://xguiden.dk/tag/url/" title="URL" rel="tag">URL</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/02/15/how-to-code-up-a-web-design-from-psd-to-html/" title="How to Code up a Web Design from PSD to HTML (15/02/2010)">How to Code up a Web Design from PSD to HTML</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/03/03/how-we%e2%80%99ll-be-building-websites-in-5-years-html5-and-css3-layout/" title="How We’ll be Building Websites in 5 years: HTML5 and CSS3 layout (03/03/2010)">How We’ll be Building Websites in 5 years: HTML5 and CSS3 layout</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/18/coding-a-css3-html5-one-page-website-template/" title="Coding a CSS3 &amp; HTML5 One-Page Website Template (18/02/2010)">Coding a CSS3 &amp; HTML5 One-Page Website Template</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/03/03/design-a-prettier-web-form-with-css-3/" title="Design a Prettier Web Form with CSS 3 (03/03/2010)">Design a Prettier Web Form with CSS 3</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/how-to-make-a-css-sprite-powered-menu/" title="How to Make a CSS Sprite Powered Menu (13/02/2010)">How to Make a CSS Sprite Powered Menu</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/08/design-and-code-a-cool-iphone-app-website-in-html5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creative Button Animations with Sprites and JQuery (Part 1: Photoshop)</title>
		<link>http://xguiden.dk/2010/03/03/creative-button-animations-with-sprites-and-jquery-part-1-photoshop/</link>
		<comments>http://xguiden.dk/2010/03/03/creative-button-animations-with-sprites-and-jquery-part-1-photoshop/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 22:07:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[fil]]></category>
		<category><![CDATA[Gradient]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Over]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5322</guid>
		<description><![CDATA[This tutorial will show you how to build creative hover animations for buttons using sprites. The particular effect illustrated in this tutorial is inspired by the “Download” buttons on Tutorial9.net. Part 1 of this tutorial explains the design process in Photoshop. In Part 2 we will convert it to XHTML + CSS and as a [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial will show you how to build creative hover animations for buttons using sprites. The particular effect illustrated in this tutorial is inspired by the “Download” buttons on Tutorial9.net. Part 1 of this tutorial explains the design process in Photoshop. In Part 2 we will convert it to XHTML + CSS and as a bonus we will also use jQuery for a fading hover effect.</p>
<p><a href="http://tutorial9.net/demos/button-sprites/demo.html"></a></p>
<p><strong>Skip to Part 2:</strong> (<em>Demo files available for download</em>)</p>
<h3>Step 1 – Create the shape</h3>
<p>Create a new document in photoshop fit to your needs. In this instance, I’ll be creating a 570px wide button. The height of the new canvas should be <strong>twice</strong> the height of the button needed (<em>explained later, but for now just use the top half of the canvas</em>).</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_1.png" alt="shape of the button" width="600" height="180" /></div>
<p>We’re going to make a rounded button. Use the <strong>Rounded Rectangle Tool</strong> with a <strong>radius of 5px</strong>. Keep in mind that we will add a border and shadow, so leave some white space around the button.</p>
<h3>Step 2 – Add layer styles</h3>
<p>We will use a pretty basic color scheme for the initial state of the button. The surprise (<em>I call it the wow-effect because of the contrast</em>) will be added in the color scheme of the hover state<em> </em> button.</p>
<div>
<h4>Note from Editor</h4>
<p>The diagrams shown are not in English, but the diagrams will apply to English versions of Photoshop as well. We apologize for any inconvenience.</p>
</div>
<p><strong>Drop shadow</strong></p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_2.png" alt="Drop shadow" width="571" height="348" /></div>
<p><strong>Gradient overlay</strong></p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_3.png" alt="Gradient overlay" width="571" height="348" /></div>
<p><strong>Stroke</strong></p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_4.png" alt="Stroke" width="571" height="453" /></div>
<h3>Step 3 – Highlights</h3>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_5.png" alt="highlight, gloss" width="300" height="241" /></div>
<p>Select the the shape of the button: <strong>Ctrl</strong> (Cmd for Mac users) +<strong> Click the Layer Thumbnail</strong> in the Layers Palette. Now add a new layer and fill the selection with the color <strong>#fafafa</strong> (use the <strong>Bucket tool</strong>). Select the <strong>selection tool</strong> and move the selection 1px to the right. Now click <strong>backspace</strong> and the selection will be deleted. Now you need to move the selection 1px up and delete the selection. The last step is to move the selection 2px down and delete the selection. What remains is a sleek highlight effect on the left side of the button.</p>
<p>Apply the same trick on the right side of the button.</p>
<h3>Step 4 – Button text</h3>
<p>Type the text &#8220;Send&#8221; or &#8220;Submit&#8221;, or whatever you wish:</p>
<ul>
<li>font: Helvetica Neue Bold</li>
<li>font-size: 35px</li>
<li>color: #343434</li>
</ul>
<p>Add also the following layer style:</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_6.png" alt="Text with layer styles" width="571" height="215" /></div>
<p><strong>Final image</strong></p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_7.png" alt="Text with layer styles" width="570" height="64" /></div>
<p> </p>
<h3>Step 5 – Prepare the canvas for a sprite</h3>
<p>We’re going to make a sprite of the buttons. Why sprites and not single images? Why combine all those images? Isn’t it quicker to have smaller images?</p>
<blockquote><p><a href="http://www.tutorial9.net/web-tutorials/building-faster-websites-with-css-sprites/">Using CSS sprites</a> allows you to greatly increase your websites speed by using single image files that contain multiple graphics. In other words, when you have many images to be used, instead of having them as different individual files, we combine them into one. Therefore, the client computer only downloads one image for all the different graphics to be displayed.</p></blockquote>
<p>Measure the height of the button. My example has a height of 64px. The <em>link hover</em> button will have the same size as the <em>link</em> button so my Photoshop canvas needs to have a height of 128px (= 2 x 64px). Use Ctrl/Cmd + Alt + C to change the height of the canvas.</p>
<h3>Step 6 – The link hover button</h3>
<p>Select all layers in the layers palette and place them in one group. Duplicate this group and move it down to the empty space. Now you have the same two buttons in the sprite.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_8.png" alt="Sprite image" width="570" height="128" /></div>
<p>Change the color of the copied text to <strong>#fffff</strong> and change the drop shadow:</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_9.png" alt="Drop shadow text hover button" width="571" height="215" /></div>
<p>Add the following layer styles on the copied button shape:</p>
<p><strong>Drop shadow</strong>: don’t change it.</p>
<p><strong>Gradient overlay</strong></p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_10.png" alt="Gradient overlayhover button" width="571" height="348" /></div>
<p><strong>Stroke</strong></p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_11.png" alt="Stroke hover button" width="571" height="453" /></div>
<p><strong>Final touches</strong></p>
<p>We’re going to add some gloss to the <em>link hover</em> button. Select the the shape of the button: <strong>Ctrl/Cmd + Click the Layer Thumbnail</strong> in the Layers Palette. And fill a new layer with the color<strong> #ffffff </strong>using the <strong>Bucket</strong> tool. Cut Away the bottom part with the Selection tool and change the <strong>opacity to 7%</strong>.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_12.png" alt="Gloss effects" width="570" height="192" /></div>
<p>The final touch is changing the opacity of the highlights to 30% (which is already applied in the image above), because the original ones are too strong for the green button.</p>
<p><strong>Final image</strong></p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/design_13.png" alt="Final sprite" width="570" height="128" /></div>
<p><a href="http://www.tutorial9.net/web-tutorials/creative-button-animations-with-sprites-and-jquery-part-2/"></a></p>
<div>
<h4>Ending Design Note: Create your own buttons</h4>
<p>Use colors that fit into your design. To create a simple 3D effect for the <em>link hover</em> button, you can also flip (the background of) the link button vertically. This works fine if you’re using a simple gradient.</p>
<p>Don’t use too many buttons like these on your website. If you wan’t to use several buttons on one page it’s better to create small buttons</p>
</div>

	Tags: <a href="http://xguiden.dk/tag/3d/" title="3D" rel="tag">3D</a>, <a href="http://xguiden.dk/tag/animation/" title="animation" rel="tag">animation</a>, <a href="http://xguiden.dk/tag/avi/" title="avi" rel="tag">avi</a>, <a href="http://xguiden.dk/tag/css/" title="CSS" rel="tag">CSS</a>, <a href="http://xguiden.dk/tag/design/" title="design" rel="tag">design</a>, <a href="http://xguiden.dk/tag/fil/" title="fil" rel="tag">fil</a>, <a href="http://xguiden.dk/tag/gradient/" title="Gradient" rel="tag">Gradient</a>, <a href="http://xguiden.dk/tag/html/" title="HTML" rel="tag">HTML</a>, <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/images/" title="images" rel="tag">images</a>, <a href="http://xguiden.dk/tag/ip/" title="IP" rel="tag">IP</a>, <a href="http://xguiden.dk/tag/over/" title="Over" rel="tag">Over</a>, <a href="http://xguiden.dk/tag/photoshop/" title="Photoshop" rel="tag">Photoshop</a>, <a href="http://xguiden.dk/tag/png/" title="png" rel="tag">png</a>, <a href="http://xguiden.dk/tag/text/" title="text" rel="tag">text</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/03/03/design-a-prettier-web-form-with-css-3/" title="Design a Prettier Web Form with CSS 3 (03/03/2010)">Design a Prettier Web Form with CSS 3</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/personal-vcard-pt-2/" title="Personal vCard Pt.2 (13/02/2010)">Personal vCard Pt.2</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/15/how-to-code-up-a-web-design-from-psd-to-html/" title="How to Code up a Web Design from PSD to HTML (15/02/2010)">How to Code up a Web Design from PSD to HTML</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/18/coding-a-css3-html5-one-page-website-template/" title="Coding a CSS3 &amp; HTML5 One-Page Website Template (18/02/2010)">Coding a CSS3 &amp; HTML5 One-Page Website Template</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/03/08/design-and-code-a-cool-iphone-app-website-in-html5/" title="Design and Code a Cool iPhone App Website in HTML5 (08/03/2010)">Design and Code a Cool iPhone App Website in HTML5</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/03/creative-button-animations-with-sprites-and-jquery-part-1-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creative Button Animations with Sprites and JQuery (Part 2: CSS, XHTML, JQuery)</title>
		<link>http://xguiden.dk/2010/03/03/creative-button-animations-with-sprites-and-jquery-part-2-css-xhtml-jquery/</link>
		<comments>http://xguiden.dk/2010/03/03/creative-button-animations-with-sprites-and-jquery-part-2-css-xhtml-jquery/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 22:06:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[fil]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Over]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Source]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5323</guid>
		<description><![CDATA[In Part 1 of this tutorial, you designed a button sprite that will be coded with HTML, CSS, and JQuery in this part of the tutorial.
If you do not want to complete part one of this tutorial, you can download the source files created in that lesson here.
Step 1 – HTML
Different people will require a [...]]]></description>
			<content:encoded><![CDATA[<p>In Part 1 of this tutorial, you designed a button sprite that will be coded with HTML, CSS, and JQuery in this part of the tutorial.</p>
<p>If you do not want to complete part one of this tutorial, you can <strong>download the source files</strong> created in that lesson <a href="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/Button-Source-Files-and-Demo.zip">here</a>.</p>
<h3>Step 1 – HTML</h3>
<p>Different people will require a button for different purposes. The remainder of this tutorial will explain a simple scenario where the button functions as a simple download link. Create a link to an imaginary (<em>or real</em>) file for download:</p>
<pre>&lt;a href="path/to/download.zip" class="button"&gt;&lt;/a&gt;</pre>
<h3>Step 2 – CSS</h3>
<p>Add the following CSS to your HTML document:</p>
<pre>.button {
	width:570px;
	height:64px; /* Notice that the height is not the height of the whole sprite, but the height of one single button */
	display:block;
	background-image:url(images/downloadbutton.png); /*path to the sprite*/
	background-position: top; /* the background position (in combination with the height!) makes it possible that only the top of the whole sprite will be visible */
}</pre>
<p>When you apply the CSS code above, you will only see the <strong>grey</strong> button, because it’s <em>positioned on top</em> and the <em>height is 64px</em></p>
<p><strong>Link hover button</strong></p>
<pre>.button:hover{
	width:570px;
	background-position: bottom;
	height:64px;
	background-image:url(images/downloadbutton.png) no repeat;
}</pre>
<p>When you apply the CSS code above, you will only see the <strong>green</strong> button when you hover the download button, because it’s <em>positioned at the bottom</em> and the <em>height is 64px</em></p>
<p><strong>Demo:</strong> <a rel="external" href="http://tutorial9.net/demos/button-sprites/demo.html">View Live Demo</a></p>
<h3>Step 3 – Fading hover effect</h3>
<p>This step is not necessary, but it’s an optional step. The transition will be smoothed with JavaScript. We’re going to use the popular jQuery library.</p>
<p>The original tutorial comes from <a rel="external" href="http://greg-j.com/static-content/hover-fade-redux.html">this website</a>. I’ll do my best to explain.</p>
<h3>Step 4 – Add code between the head tags</h3>
<p><a rel="external" href="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js">Download jQuery</a>. First we need to refer in the head to the .js file that we’ve just downloaded.</p>
<pre>&lt;script type="text/javascript" src="path/to/jquery-1.3.2.min.js"&gt;&lt;/script&gt;</pre>
<p>After that we can add the following code between the head tags.</p>
<pre>&lt;script type="text/javascript"&amp;gt
	$(document).ready(function() {
		// Add the class 'button' just like in CSS with a dot in front of it
		$('.button').append('&lt;span class="hover"&amp;gt&lt;/span&amp;gt').each(function () {
	  		var $span = $('&amp;gt span.hover', this).css('opacity', 0);
	  		$(this).hover(function () {
	    		$span.stop().fadeTo(500, 1); //Change the number 500 to change the speed of the Fade In
	 		}, function () {
	   	$span.stop().fadeTo(500, 0); //Change the number 500 to change the speed of the Fade Out
	  		});
		});
	});
&lt;/script&gt;</pre>
<div>
<h4>How to deal with several buttons on one page</h4>
<p>If you have several buttons on one page and you’d like to add the fading hover effect, you can give it a different class in the HTML and add this in the JavaScript above after the word .button and you need also to separate the words with a comma. (Example: ‘.button,.buttonTwo’)</p>
</div>
<h3>Step 5 – Edit the CSS</h3>
<pre>.button {
	position:relative;
	display:block;
	height: 64px;
	width: 570px;
	background:url(images/downloadbutton.png) no-repeat;
	background-position: top;
}</pre>
<pre>.button span.hover { /*notice the different class: span.hover*/
	position: absolute;
	display: block;
	height: 64px;
	width: 570px;
	background: url(images/downloadbutton.png) no-repeat;
	background-position: bottom;
}</pre>
<p><a rel="external" href="http://tutorial9.net/demos/button-sprites/demo.html">View Live Demo</a> to check the result.</p>
<h3>Download the source files (PSD included)</h3>
<div><a rel="external" href="http://www.tutorial9.net/wp-content/uploads/2010/02/Button-Source-Files-and-Demo.zip">Download</a></div>
<p><a href="http://feedads.g.doubleclick.net/~a/wmKScpUgbZJn0S3ZMx4Pr4Cgi7I/0/da"><img src="http://feedads.g.doubleclick.net/~a/wmKScpUgbZJn0S3ZMx4Pr4Cgi7I/0/di" border="0" alt="" /></a><br />
<a href="http://feedads.g.doubleclick.net/~a/wmKScpUgbZJn0S3ZMx4Pr4Cgi7I/1/da"><img src="http://feedads.g.doubleclick.net/~a/wmKScpUgbZJn0S3ZMx4Pr4Cgi7I/1/di" border="0" alt="" /></a></p>
<div><a href="http://feeds.feedburner.com/~ff/tutorial9?a=ah9hL4UWD4Q:F8fjrMYYvMY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/tutorial9?i=ah9hL4UWD4Q:F8fjrMYYvMY:D7DqB2pKExk" border="0" alt="" /></a> <a href="http://feeds.feedburner.com/~ff/tutorial9?a=ah9hL4UWD4Q:F8fjrMYYvMY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/tutorial9?i=ah9hL4UWD4Q:F8fjrMYYvMY:gIN9vFwOqvQ" border="0" alt="" /></a> <a href="http://feeds.feedburner.com/~ff/tutorial9?a=ah9hL4UWD4Q:F8fjrMYYvMY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/tutorial9?i=ah9hL4UWD4Q:F8fjrMYYvMY:F7zBnMyn0Lo" border="0" alt="" /></a> <a href="http://feeds.feedburner.com/~ff/tutorial9?a=ah9hL4UWD4Q:F8fjrMYYvMY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/tutorial9?d=7Q72WNTAKBA" border="0" alt="" /></a> <a href="http://feeds.feedburner.com/~ff/tutorial9?a=ah9hL4UWD4Q:F8fjrMYYvMY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/tutorial9?d=qj6IDK7rITs" border="0" alt="" /></a></div>
<p><img src="http://feeds.feedburner.com/~r/tutorial9/~4/ah9hL4UWD4Q" alt="" width="1" height="1" /></p>

	Tags: <a href="http://xguiden.dk/tag/animation/" title="animation" rel="tag">animation</a>, <a href="http://xguiden.dk/tag/css/" title="CSS" rel="tag">CSS</a>, <a href="http://xguiden.dk/tag/design/" title="design" rel="tag">design</a>, <a href="http://xguiden.dk/tag/fil/" title="fil" rel="tag">fil</a>, <a href="http://xguiden.dk/tag/html/" title="HTML" rel="tag">HTML</a>, <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/images/" title="images" rel="tag">images</a>, <a href="http://xguiden.dk/tag/ip/" title="IP" rel="tag">IP</a>, <a href="http://xguiden.dk/tag/java/" title="Java" rel="tag">Java</a>, <a href="http://xguiden.dk/tag/javascript/" title="JavaScript" rel="tag">JavaScript</a>, <a href="http://xguiden.dk/tag/over/" title="Over" rel="tag">Over</a>, <a href="http://xguiden.dk/tag/png/" title="png" rel="tag">png</a>, <a href="http://xguiden.dk/tag/script/" title="script" rel="tag">script</a>, <a href="http://xguiden.dk/tag/source/" title="Source" rel="tag">Source</a>, <a href="http://xguiden.dk/tag/tag/" title="tag" rel="tag">tag</a>, <a href="http://xguiden.dk/tag/tags/" title="tags" rel="tag">tags</a>, <a href="http://xguiden.dk/tag/text/" title="text" rel="tag">text</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a>, <a href="http://xguiden.dk/tag/url/" title="URL" rel="tag">URL</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/03/08/design-and-code-a-cool-iphone-app-website-in-html5/" title="Design and Code a Cool iPhone App Website in HTML5 (08/03/2010)">Design and Code a Cool iPhone App Website in HTML5</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/jquery-ajax-validation-contact-form-with-modal-slide-in-transition/" title="jQuery AJAX Validation Contact Form with Modal + Slide-in Transition (13/02/2010)">jQuery AJAX Validation Contact Form with Modal + Slide-in Transition</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/03/03/how-we%e2%80%99ll-be-building-websites-in-5-years-html5-and-css3-layout/" title="How We’ll be Building Websites in 5 years: HTML5 and CSS3 layout (03/03/2010)">How We’ll be Building Websites in 5 years: HTML5 and CSS3 layout</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/15/how-to-code-up-a-web-design-from-psd-to-html/" title="How to Code up a Web Design from PSD to HTML (15/02/2010)">How to Code up a Web Design from PSD to HTML</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/18/coding-a-css3-html5-one-page-website-template/" title="Coding a CSS3 &amp; HTML5 One-Page Website Template (18/02/2010)">Coding a CSS3 &amp; HTML5 One-Page Website Template</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/03/creative-button-animations-with-sprites-and-jquery-part-2-css-xhtml-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Design a 3D Glass Icon in Photoshop</title>
		<link>http://xguiden.dk/2010/03/03/how-to-design-a-3d-glass-icon-in-photoshop/</link>
		<comments>http://xguiden.dk/2010/03/03/how-to-design-a-3d-glass-icon-in-photoshop/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 22:05:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[fil]]></category>
		<category><![CDATA[GET]]></category>
		<category><![CDATA[Glow]]></category>
		<category><![CDATA[Gradient]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Mod]]></category>
		<category><![CDATA[Over]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[Source]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[Sten]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[Transparent]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5325</guid>
		<description><![CDATA[Learn How To Design a translucent 3D Frosted Glass Box based on the Safari Icon in Adobe Photoshop.
Step 1: Setting Up
Make a new document with these settings:

Next, select the fill tool (G) and fill it with #626262. Now, we need to make a new adjustment layer. Make a brightness/contrast layer (Layer &#62; New Adjustment Layer [...]]]></description>
			<content:encoded><![CDATA[<p>Learn How To Design a translucent 3D Frosted Glass Box based on the Safari Icon in Adobe Photoshop.</p>
<h3>Step 1: Setting Up</h3>
<p>Make a new document with these settings:</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/settingup.png" alt="Setting Up" width="591" height="335" /></div>
<p>Next, select the <strong>fill tool (G)</strong> and fill it with <strong>#626262</strong>. Now, we need to make a new <strong>adjustment layer</strong>. Make a <strong>brightness/contrast</strong> layer (<em>Layer &gt; New Adjustment Layer &gt; Brightness/Contrast</em>). Put it on these parameters.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/adjustmentlayer.png" alt="Adjustment Layer Parameters" width="310" height="441" /></div>
<p>We add this adjustment layer so as everything looks better in the later stages.</p>
<h3>Step 2: Making the Circle</h3>
<p>Select the <strong>circular marquee tool</strong> and use these settings:</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/circularmarqueetool1.png" alt="Circular Marquee Tool" width="344" height="35" /></div>
<p>Make a selection and fill it with <strong>#649ad2</strong>. Then, grab a soft <strong>eraser</strong>, on a low opacity, and erase some areas like this:</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/stage1.png" alt="After Erasing" width="500" height="500" /></div>
<p>This is so that it looks more 3D, and later on, it’ll add a nice transparent feel to our icon.</p>
<p>When you’re happy, and you have a similar result to the one above, add these <em>Layer FX</em> to it, to make it look better.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/circleFX.png" alt="Add These Layer FX" width="598" height="1366" /></div>
<p>You should now have something resembling this:</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/circle2.png" alt="Circle After This Stage" width="598" height="456" /></div>
<h3>Step 3: Making the Circle 3D</h3>
<p>In this step, we’re going to make the circle look 3D. The theory of this is simple. You think about where the light is coming from, then add shadows and highlights to fit your <strong>light source</strong> if you keep this consistent, then you’ll have a much better final result. Below is some light theory that should make it easier for you.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/lighting.png" alt="Set it to Multiply" width="500" height="500" /></div>
<div>
<h4>Lighting</h4>
<p>Although this is not the best of diagrams, it shows basic lighting. If you stick to this, and have a constant light source, your piece will turn out far more striking and realistic.</p>
</div>
<p>OK, grab your <strong>circular marquee tool</strong>, set it to <strong>10px Feather</strong> and make it <strong>200px by 200px</strong>. There are many different ways of getting highlights/gloss and shadows. My favourite, and I think one of the best ways to get <strong>gloss</strong> is like this.</p>
<p>Change the layer mode to multiply</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/multiply.png" alt="Set it to Multiply" width="127" height="395" /></div>
<p>And then, with white as your foreground colour, add this <em>Layer FX</em></p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/multiplyfx.png" alt="Set it to Multiply" width="598" height="456" /></div>
<div>
<h4>Vary</h4>
<p>You can vary this. When making your highlights, you can vary the <strong>opacity</strong>, or colour of the gradient you use. You can also vary the <strong>layer mode</strong>. Try changing some settings now, and see what happens!</p>
</div>
<p>Shadows are much easier to make, and in a way, more powerful. You can have more highlights than shadows, because shadows are more obvious. For a shadow, simply make a circle, you can vary this and the feather px. Then, you can set it to <strong>soft light</strong>, <strong>overlay</strong> or of course, <strong>normal</strong>, it really comes down to which one you like best.</p>
<p>With the shadows, you can make them very discreet, yet they still play a very important part in the eventual outcome of the icon. Highlights are less noticeable, so you can add more of them, but with shadows, they play a bigger part; and have more of an impact.</p>
<p>The worst thing you can do when shadowing is zoom in too far. When you do that, you can’t see the whole image, and so you can’t really tell if it looks right. Make sure that when shadowing, you can see the whole image, and you’re thinking about what you’re doing!</p>
<p>By now, you should have a well highlighted and shadowed 3D sphere, resembling this. Don’t worry if it looks a little strange at this point, it’ll all come together later on.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/highlightsshadows.png" alt="Your Icon So Far" width="598" height="456" /></div>
<h3>Step 4: Adding Detail</h3>
<p>Now, that looks OK. I added some highlights on the right that add a lot; I used the highlight technique described above. In this step, we are going to make those really nice 3D looking lines. The way to do this is simple, which we’ll find out in a bit.</p>
<p>Select your <strong>pen tool</strong> and get a brush size of 3px wide. You want to use these settings for the <strong>pen tool</strong>.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/pentollsettings.png" alt="Circle After This Stage" width="516" height="30" /></div>
<p>Next, we want to start drawing <strong>paths</strong> like this:</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/paths.png" alt="Circle After This Stage" width="598" height="1365" /></div>
<p>Set your brush size to around 3 – 5pxNow, for PC users, press <strong>right click &gt; stroke path</strong>, for Mac users; <strong>CTRL + click &gt; stroke path</strong>. When you stroke paths, there are two types of stroke paths. With <strong>simulated pressures</strong> and without <strong>simulated pressures</strong>. Here is an example of both.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/simulated.png" alt="Circle After This Stage" width="500" height="500" /></div>
<p>If it doesn’t work, you may need to <strong>reset your brushes</strong> here’s how to do that:</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/reset.png" alt="Reset Brushes" width="350" height="281" /></div>
<p>In the next step, we’ll work out how to make these lines aid the 3D look.</p>
<h3>Step 5: Detailing the Detail</h3>
<p>You probably have some white lines now, looking 3D, but not merging into the icon. Set the layers to <strong>soft light</strong> or <strong>overlay</strong>, you can also lower the opacity and/or the fill of the lines. You can also get a <strong>soft eraser</strong> to erase some areas to make it look more 3D.</p>
<p>If you look carefully, you will also see not only the very distinct circles, which I’ll tell you how to do later; but also the very faint ones. To make both of them, grab the <strong>circular marquee tool</strong> with these parameters:</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/featherorbs.png" alt="Feathered Orbs" width="509" height="34" /></div>
<p>You can then edit the layer styles. For mine, I simply set the opacity to 50%. But you could set it to <strong>soft light</strong> or <strong>overlay</strong>.</p>
<p>For the faint ones, but it below <em>every</em> ‘line’ layer, and set it to <strong>soft light</strong> or <strong>overlay</strong> and lower the <strong>opacity</strong>.</p>
<p>In the next step, we’ll make 3D paths, that <em>really</em> add to the image.</p>
<h3>Step 6: 3D Paths</h3>
<p>This is a really short step, but it adds a lot.</p>
<p>Firstly, get your pen tool open, and then follow these steps.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/circlepaths.png" alt="Circle After This Stage" width="598" height="1495" /></div>
<div>
<h4>Experiment</h4>
<p>Try out different paths and set some layers to <strong>soft light</strong> or <strong>overlay</strong> and lower the <strong>opacity</strong>.</p>
</div>
<h3>Step 7: Making the Basic Box</h3>
<p>If you want to have something to trace around, you can do so around <a href="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/tracearound.png">here</a>. But of course, if you want to make your own, go for it! When you’re tracing, use the <strong>pen tool</strong>, and make each side on a new layer. Then, fill the paths with white (#ffffff). Then add these layer FX to every side.</p>
<p>On the ‘front’ sides, set the <strong>fill</strong> to <strong>15%</strong> and the ‘back’ sides to <strong>10%</strong>. This’ll get it looking transparent.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/box1.png" alt="Circle After This Stage" width="600" height="595" /></div>
<p>In the next step, we’ll work on making it more 3D.</p>
<h3>Step 8: Highlighting the Box</h3>
<p>Remember that highlight technique earlier? Well, use that technique on paths like this. Make a new layer above each box ’side’ and then make a path accordingly. To make ’swirly’ paths, make two points, then; click in the middle of the path and drag it up/down left/right and it’ll make a nice path. Have a look at this example.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/swirlypath.png" alt="Circle After This Stage" width="600" height="595" /></div>
<p>Then, select the right ’side’ layer and press <strong>CTRL + SHIFT + I</strong> or for Mac users <strong>CMND + SHIFT + I</strong>, then press delete. In the next step we will look at adding more detail into the box.</p>
<h3>Step 9: Adding Details to the Box</h3>
<p>In this step, there’s not going to be much writing, more annotated pictures. I am using the techniques for stroking paths, highlights and shadows that we looked at earlier to make the box, and anything you seen in these pictures.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/3DBox.png" alt="Define these Strokes" width="600" height="5400" /></div>
<div>
<h4>Making Softer Shadows</h4>
<p>If you want to make those soft shadows, get a soft brush (airbrush) around the size of 9-12px, <strong>stroke</strong> the paths and then lower the <strong>opacity</strong><strong>soft light</strong>.</p>
</div>
<h3>Step 10: Making Everything Glow</h3>
<p>That looks good, but… Not full of that striking glow. To get something to glow, it’s really easy. Simply get an airbrush, 100-300px and just paint on white. For background highlights, make new layers at the bottom and highlight there. For more centralised ones, do it on top, and maybe in a smaller brush.</p>
<p>To get a better glow-type look, adding lots of layers on 5-10% <strong>opacity</strong> will look much better than two or three on 40%. You can also add blue highlights to give it more of a glow.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/3DBoxGlow.png" alt="Add some Glow Like This" width="600" height="6600" /></div>
<h3>Step 11: Finishing Details</h3>
<p>The icon looks good, but it’d be nice to add a bit more shadow. Make a new layer at the top (behind your contrast one) and fill it with black (#000000) and set the <strong>fill</strong> to 0%. Then add these layer styles and you have a nice shadowed look.</p>
<div><img src="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/shadow.png" alt="Shadow" width="598" height="912" /></div>
<p>And you’ll have a nice shadowed look to your image.</p>
<h3>Conclusion</h3>
<p>In this tutorial, we’ve learnt about strokes, layering, shadowing, highlighting, layer FX, layer modes, opacity and fill. Put together you can make <em>so</em> many amazing things in Photoshop, so good luck; and make sure you check Tutorial9 frequently for tutorials!</p>
<p>I hope you enjoyed creating your own internet icon!</p>
<p>A large version of the final image can be seen <a href="http://tutorial9.s3.amazonaws.com/wp-content/uploads/2010/02/finalicon.png">here</a>.</p>
<p><img src="http://feeds.feedburner.com/~r/tutorial9/~4/5xle0OMwrIc" alt="" width="1" height="1" /></p>

	Tags: <a href="http://xguiden.dk/tag/3d/" title="3D" rel="tag">3D</a>, <a href="http://xguiden.dk/tag/adobe/" title="Adobe" rel="tag">Adobe</a>, <a href="http://xguiden.dk/tag/design/" title="design" rel="tag">design</a>, <a href="http://xguiden.dk/tag/fil/" title="fil" rel="tag">fil</a>, <a href="http://xguiden.dk/tag/get/" title="GET" rel="tag">GET</a>, <a href="http://xguiden.dk/tag/glow/" title="Glow" rel="tag">Glow</a>, <a href="http://xguiden.dk/tag/gradient/" title="Gradient" rel="tag">Gradient</a>, <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/internet/" title="internet" rel="tag">internet</a>, <a href="http://xguiden.dk/tag/ip/" title="IP" rel="tag">IP</a>, <a href="http://xguiden.dk/tag/mod/" title="Mod" rel="tag">Mod</a>, <a href="http://xguiden.dk/tag/over/" title="Over" rel="tag">Over</a>, <a href="http://xguiden.dk/tag/photoshop/" title="Photoshop" rel="tag">Photoshop</a>, <a href="http://xguiden.dk/tag/png/" title="png" rel="tag">png</a>, <a href="http://xguiden.dk/tag/source/" title="Source" rel="tag">Source</a>, <a href="http://xguiden.dk/tag/start/" title="Start" rel="tag">Start</a>, <a href="http://xguiden.dk/tag/sten/" title="Sten" rel="tag">Sten</a>, <a href="http://xguiden.dk/tag/tag/" title="tag" rel="tag">tag</a>, <a href="http://xguiden.dk/tag/transparent/" title="Transparent" rel="tag">Transparent</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/02/25/make-a-freezing-cold-snow-themed-abstract-piece/" title="Make a Freezing Cold Snow-themed Abstract Piece (25/02/2010)">Make a Freezing Cold Snow-themed Abstract Piece</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/03/08/design-and-code-a-cool-iphone-app-website-in-html5/" title="Design and Code a Cool iPhone App Website in HTML5 (08/03/2010)">Design and Code a Cool iPhone App Website in HTML5</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/beautiful-xmas-wallpaper-in-cinema-4d-and-photoshop/" title="Beautiful Xmas Wallpaper in Cinema 4D and Photoshop (13/02/2010)">Beautiful Xmas Wallpaper in Cinema 4D and Photoshop</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/using-google-maps%e2%80%99-new-features-for-flash/" title="Using Google Maps’ New Features for Flash (13/02/2010)">Using Google Maps’ New Features for Flash</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/protect-your-flash-files-from-decompilers-by-using-encryption/" title="Protect Your Flash Files From Decompilers by Using Encryption (13/02/2010)">Protect Your Flash Files From Decompilers by Using Encryption</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/03/how-to-design-a-3d-glass-icon-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design a Prettier Web Form with CSS 3</title>
		<link>http://xguiden.dk/2010/03/03/design-a-prettier-web-form-with-css-3/</link>
		<comments>http://xguiden.dk/2010/03/03/design-a-prettier-web-form-with-css-3/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 22:04:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[CD]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[fil]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[GET]]></category>
		<category><![CDATA[Gradient]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[LP]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[Mount]]></category>
		<category><![CDATA[Outline]]></category>
		<category><![CDATA[Over]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[standard]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5329</guid>
		<description><![CDATA[Thanks to advanced CSS properties, such as gradients and shadows, it’s now quite easy to turn a dull web form into something beautiful – with minimal effort. I’ll show you how in today’s tutorial!
 

 


Our Final Product


Subtle background gradients give depth to the fields while shadows lift them from the page. Even more impressive is that [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to advanced CSS properties, such as gradients and shadows, it’s now quite easy to turn a dull web form into something beautiful – with minimal effort. I’ll show you how in today’s tutorial!</p>
<p><span> </span></p>
<div><a href="http://nettuts.s3.cdn.plus.org/584_form/demo.zip"><img src="http://net.tutsplus.com/wp-content/themes/nettuts/site_images/button_src_nm.jpg" alt="" /></a><br />
<a href="http://nettuts.s3.cdn.plus.org/584_form/demo.html"><img src="http://net.tutsplus.com/wp-content/themes/nettuts/site_images/button_demo_nm.jpg" alt="" /></a> </div>
<div>
<h4><a href="http://tutsplus.com/plus-content/nettuts/bonus-nettuts/design-a-prettier-web-form-with-css-3/"></a></p>
<p>Our Final Product</h4>
</div>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_final.png" border="0" alt="" /></div>
<p>Subtle background gradients give depth to the fields while shadows lift them from the page. Even more impressive is that this is done without any images at all.</p>
<p>By following this tutorial you will not only end up with a lightweight and beautiful form, you’ll also learn and understand new CSS3 techniques, such as <strong>box-shadow</strong>, <strong>gradients</strong>, <strong>opaque colors</strong>, and <strong>rounded corners</strong>.</p>
<h3>CSS3?</h3>
<p>CSS3 is the next generation of CSS that is currently under development, but that doesn’t stop browsers from already implementing most of the prominent features.</p>
<p>Full browser support:</p>
<ul>
<li><a href="http://www.google.com/chrome/" target="_blank">Google Chrome</a> (4.0)</li>
<li><a href="http://www.mozilla.com/firefox/" target="_blank">Mozilla Firefox</a> (3.6)</li>
<li><a href="http://www.apple.com/safari/" target="_blank">Safari</a> (4.0)</li>
</ul>
<p>Opera have support for CSS3 (except background gradients) in their next version (<a href="http://www.opera.com/developer/" target="_blank">10.50 Beta</a>).</p>
<p>Internet Explorer will have full CSS3 support with version 9.</p>
<p>The things you can do with CSS3 (shadows, gradients, round corners, animations, etc) all serve a purpose of creating beautiful effects without having to integrate images or scripts, resulting in quicker loading times.</p>
<h3>Step 1: The HTML</h3>
<p>Before we begin styling we need something to style, so here is the form.</p>
<pre>&lt;form class="form"&gt;

	&lt;p class="name"&gt;
		&lt;input type="text" name="name" id="name" /&gt;
		&lt;label for="name"&gt;Name&lt;/label&gt;
	&lt;/p&gt;

	&lt;p class="email"&gt;
		&lt;input type="text" name="email" id="email" /&gt;
		&lt;label for="email"&gt;E-mail&lt;/label&gt;
	&lt;/p&gt;

	&lt;p class="web"&gt;
		&lt;input type="text" name="web" id="web" /&gt;
		&lt;label for="web"&gt;Website&lt;/label&gt;
	&lt;/p&gt;

	&lt;p class="text"&gt;
		&lt;textarea name="text"&gt;&lt;/textarea&gt;
	&lt;/p&gt;

	&lt;p class="submit"&gt;
		&lt;input type="submit" value="Send" /&gt;
	&lt;/p&gt;

&lt;/form&gt;</pre>
<p>Each field is inside a paragraph with its own class, and the three first fields have a label explaining their use.</p>
<p>How does it look without any styling?</p>
<div>
<p><label for="name">Name</label></p>
<p><label for="email">E-mail</label></p>
<p><label for="web">Website</label></p>
<p><textarea name="text"></textarea></p>
</div>
<p>Functional, but dull. Let’s start pimping out this form.</p>
<h3>Step 2: Basic Styling</h3>
<p>Before we dive into the CSS3 techniques we need to create a basic layout for browsers that don’t yet support CSS3.</p>
<pre>input, textarea {
	padding: 9px;
	border: solid 1px #E5E5E5;
	outline: 0;
	font: normal 13px/100% Verdana, Tahoma, sans-serif;
	width: 200px;
	background: #FFFFFF;
	}

textarea {
	width: 400px;
	max-width: 400px;
	height: 150px;
	line-height: 150%;
	}

input:hover, textarea:hover,
input:focus, textarea:focus {
	border-color: #C9C9C9;
	}

.form label {
	margin-left: 10px;
	color: #999999;
	}

.submit input {
	width: auto;
	padding: 9px 15px;
	background: #617798;
	border: 0;
	font-size: 14px;
	color: #FFFFFF;
	}</pre>
<p>How does our effort look so far?</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_basic.png" border="0" alt="" /></div>
<p>Not too bad. Now, let’s begin our enhancements with the more advanced CSS3.</p>
<h3>Step 3: Box-shadow</h3>
<p>Box-shadow does exactly what it sounds like: creates a shadow around a box.</p>
<p>The syntax for box-shadow is fairly simple:</p>
<pre>box-shadow: &lt;color&gt; &lt;horizontal offset&gt; &lt;vertical offset&gt; &lt;blur&gt;;</pre>
<p><strong>Horizontal offset</strong> is the placement of the shadow from left to right. If you set it to “2px” the shadow will be 2 pixels to the right. <strong>Vertical offset</strong> is the same but up/down.</p>
<p><strong>Blur</strong> is simply the amount of blur the shadow will have, where 0 is minimum.</p>
<p>This is how our box-shadow will look like:</p>
<pre>input, textarea {
	box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
	-moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
	-webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
	}</pre>
<p>Here we have three lines that look similar.</p>
<ul>
<li><strong>box-shadow</strong> is pure CSS3 and so far only used in Opera.</li>
<li><strong>-webkit-box-shadow</strong> is for browsers using the <a href="http://en.wikipedia.org/wiki/Webkit" target="_blank">Webkit engine</a>, like Chrome and Safari.</li>
<li><strong>-moz-box-shadow</strong> is for browsers using <a href="http://en.wikipedia.org/wiki/Mozilla_layout_engine" target="_blank">Mozilla’s Gecko engine</a>, like Firefox, Camino, Flock, and SeaMonkey.</li>
</ul>
<p>Until CSS3 becomes the standard, you have to use all three methods. Internet Explorer has their own weird way of doing things, and although it’s <a href="http://msdn.microsoft.com/en-us/library/ms532985(VS.85).aspx" target="_blank">capable of making a shadow</a> it will not look the way we want it. 3</p>
<p>You might notice that there was no normal RGB color used, this is because we’re using two CSS3 techniques on the same line: <strong>box-shadow</strong> and <strong>rgba</strong>.</p>
<p>RGBA (Red Green Blue Alpha) is, simply put, color with opacity.</p>
<p>The syntax for rgba is this:</p>
<pre>rgba(&lt;red&gt;,&lt;green&gt;,&lt;blue&gt;,&lt;opacity&gt;);</pre>
<p>It’s perfectly fine to use a light grey for the shadow’s color, but if you are using any other background than white it will look strange. An opaque black on the other hand will work well no matter what background.</p>
<p>So our box-shadow is black with 10% (0.1) opacity, no horizontal and vertical offset, and with a blur of 8 pixels. It will look like this:</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_shadow.png" border="0" alt="" /></div>
<p>The keyword here is <strong>subtlety</strong>. If we apply too much shadow, it will look ugly; if we apply too little, it won’t have an effect. Basically, we don’t want anyone to notice the shadow, but still have it lift the fields from the page.</p>
<h3>Step 4: Background Gradient</h3>
<p>While the box-shadow syntax is easy to grasp, gradients are trickier. With CSS3 gradients, you can create some amazing shapes — <a href="http://hacks.mozilla.org/2009/11/css-gradients-firefox-36/" target="_blank">from dart boards to rainbows</a> — so as you can imagine it has a more complex syntax. Thankfully, we don’t need to code a rainbow today; we just need a straight linear gradient.</p>
<p><a href="http://developer.apple.com/safari/library/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Gradients/Gradients.html" target="_blank">Syntax for Webkit:</a></p>
<pre>-webkit-gradient( linear, &lt;start&gt;, &lt;end&gt;, from(&lt;color&gt;), to(&lt;color&gt;) )</pre>
<p><a href="https://developer.mozilla.org/en/CSS/-moz-linear-gradient" target="_blank">Syntax for Gecko:</a></p>
<pre>-moz-linear-gradient(&lt;start&gt; &lt;angle&gt;, &lt;color&gt;, &lt;color&gt;)</pre>
<p>As you can see, the methods are quite different, so this will require some explaining.</p>
<p><strong>Webkit</strong> gradients require a start point (X and Y), an end point (X and Y), a from-color, and a to-color. The angle is determined by where start and end are, and the gradient will be colored with the “from(color)” fading to “to(color)”.</p>
<p><strong>Gecko</strong> gradients, on the other hand, require only a start point (Y), and at least two colors. If you want a gradient going from top to bottom (90deg) you don’t need to assign an angle.</p>
<p>So to get a simple linear gradient from top to bottom – black to white – we would do like this:</p>
<pre>background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#FFFFFF));
background: -moz-linear-gradient(top, #000000, #FFFFFF);</pre>
<p>And it would appear like this:</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/gradient_white-black.png" border="0" alt="" /></div>
<p>(I will continue to use the black color for demonstration; at the end, I’ll switch to the real color we will be using for the form.)</p>
<p>Now that we have the basics out of the way, we can start making the form look how we want. The first thing we want to do is limit the height of the gradient so that it looks the same for both input fields and textarea; otherwise the gradient would fill the entire height, like this:</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/gradient_full-height.png" border="0" alt="" /></div>
<p>This is how we limit the background gradient to 25px in Webkit and Firefox:</p>
<pre>input, textarea {
	background: -webkit-gradient(linear, left top, left 25, from(#000000), to(#FFFFFF));
	background: -moz-linear-gradient(top, #000000, #FFFFFF 25px);
	}</pre>
<p>For Webkit, instead of setting the end point to “left bottom,” we set it to “left 25″, indicating it will end 25 pixels from the top.</p>
<p>For Gecko, we do the same thing by simply adding a “25px” value to the end color.</p>
<p>And the result is:</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/gradient_limited-height.png" border="0" alt="" /></div>
<p>The second thing we want to do is create a thin white line at the top of the gradient, to give the subtle visual impression that the field is raised. How important can a single pixel be? Take a look at this article: <a href="http://webdesignledger.com/tips/adding-depth-with-pixel-perfect-line-work" target="_blank">Adding Depth with Pixel Perfect Line Work</a>.</p>
<p>To create this, we’ll need three points in the gradient. In the previous example, our gradient had two points: top and bottom (black→white). Here, we’ll add an additional point in between them (white→black→white).</p>
<p>To illustrate:</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/gradient_stop-illustration.png" border="0" alt="" /></div>
<p>How do we do this?</p>
<pre>input, textarea {
	background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #000000), to(#FFFFFF));
	background: -moz-linear-gradient(top, #FFFFFF, #000000 1px, #FFFFFF 25px);
	}</pre>
<p>In Webkit we use the <strong>color-stop</strong> function, but unfortunately it doesn’t support values in pixels, only percentage. But thanks to paying attention to math in school we figure that 4% of 25px is 1px.</p>
<p>For Gecko, we simply add a third color between the first two and give it a “1px” value, indicating that it should end 1 pixel from the top.</p>
<p>The thin white line:</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/gradient_stop.png" border="0" alt="" /></div>
<p>Now, let’s change the black color (#000000) to a more fitting light grey (#EEEEEE):</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_gradient.png" border="0" alt="" /></div>
<p>Just some small detail work remains.</p>
<p>First, we’ll create a darker shadow for the fields when the user hovers or selects it:</p>
<pre>input:hover, textarea:hover,
input:focus, textarea:focus {
	-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px;
	}</pre>
<p>It’s just an increase from 10% to 15%, but what we are after is, once again, subtlety.</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_shadow-hover.png" border="0" alt="" /></div>
<p>The last thing we do is create some rounded corners for the button3 to further make it stand out from the other elements:</p>
<pre>.submit input {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	}</pre>
<p>The value is the radius the corners will be rounded by. The standard border-radius is intentionally left out since Opera seems to have some problem with it.</p>
<p>Result:</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_button.png" border="0" alt="" /></div>
<h3>Step 5: The Other Browsers</h3>
<p>Now we just need to take care of the browsers that don’t support CSS3 yet (IE), or only partly does (Opera).</p>
<p>We want the different versions (CSS3 and the normal) to look as similar as possible, and the simplest thing is to go back to the old way: images.</p>
<p>Simply take a screenshot of the beautiful CSS3 form and save a small portion of the gradient as an image.</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_photoshop1.png" border="0" alt="" /></div>
<p>Next, use it in the input and textarea as a background. As long as the CSS3 gradients comes after the background image, browsers that support CSS3 will ignore the image.</p>
<pre>input, textarea {
	background: #FFFFFF url('bg_form.png') left top repeat-x;
	}</pre>
<p>And now we are done! Enjoy your form and I hope you have learned something.</p>
<h3>Final Preview</h3>
<p>Chrome (4.0), Firefox (3.6), Safari (4.0):</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_final.png" border="0" alt="" /></div>
<p>Opera (10.50b):</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_final-opera.png" border="0" alt="" /></div>
<p>Internet Explorer (8):</p>
<div><img src="http://nettuts.s3.cdn.plus.org/584_form/form_final-ie.png" border="0" alt="" /></div>
<h3>Full CSS</h3>
<pre>input, textarea {
	padding: 9px;
	border: solid 1px #E5E5E5;
	outline: 0;
	font: normal 13px/100% Verdana, Tahoma, sans-serif;
	width: 200px;
	background: #FFFFFF url('bg_form.png') left top repeat-x;
	background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
	background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
	box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
	-moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
	-webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
	}

textarea {
	width: 400px;
	max-width: 400px;
	height: 150px;
	line-height: 150%;
	}

input:hover, textarea:hover,
input:focus, textarea:focus {
	border-color: #C9C9C9;
	-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px;
	}

.form label {
	margin-left: 10px;
	color: #999999;
	}

.submit input {
	width: auto;
	padding: 9px 15px;
	background: #617798;
	border: 0;
	font-size: 14px;
	color: #FFFFFF;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	}</pre>
<h3>Conclusion</h3>
<p>That’s all there is to it! With minimal effort, and the power of CSS 3, we’ve turned a bland and ordinary form into something beautiful. Thanks so much for reading, and feel free to ask any questions that you might have below.</p>

	Tags: <a href="http://xguiden.dk/tag/animation/" title="animation" rel="tag">animation</a>, <a href="http://xguiden.dk/tag/avi/" title="avi" rel="tag">avi</a>, <a href="http://xguiden.dk/tag/cd/" title="CD" rel="tag">CD</a>, <a href="http://xguiden.dk/tag/chrome/" title="Chrome" rel="tag">Chrome</a>, <a href="http://xguiden.dk/tag/css/" title="CSS" rel="tag">CSS</a>, <a href="http://xguiden.dk/tag/css3/" title="css3" rel="tag">css3</a>, <a href="http://xguiden.dk/tag/design/" title="design" rel="tag">design</a>, <a href="http://xguiden.dk/tag/fil/" title="fil" rel="tag">fil</a>, <a href="http://xguiden.dk/tag/firefox/" title="FireFox" rel="tag">FireFox</a>, <a href="http://xguiden.dk/tag/get/" title="GET" rel="tag">GET</a>, <a href="http://xguiden.dk/tag/gradient/" title="Gradient" rel="tag">Gradient</a>, <a href="http://xguiden.dk/tag/guide/" title="guide" rel="tag">guide</a>, <a href="http://xguiden.dk/tag/html/" title="HTML" rel="tag">HTML</a>, <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/images/" title="images" rel="tag">images</a>, <a href="http://xguiden.dk/tag/input/" title="input" rel="tag">input</a>, <a href="http://xguiden.dk/tag/internet/" title="internet" rel="tag">internet</a>, <a href="http://xguiden.dk/tag/internet-explorer/" title="Internet Explorer" rel="tag">Internet Explorer</a>, <a href="http://xguiden.dk/tag/ip/" title="IP" rel="tag">IP</a>, <a href="http://xguiden.dk/tag/lp/" title="LP" rel="tag">LP</a>, <a href="http://xguiden.dk/tag/max/" title="max" rel="tag">max</a>, <a href="http://xguiden.dk/tag/mount/" title="Mount" rel="tag">Mount</a>, <a href="http://xguiden.dk/tag/outline/" title="Outline" rel="tag">Outline</a>, <a href="http://xguiden.dk/tag/over/" title="Over" rel="tag">Over</a>, <a href="http://xguiden.dk/tag/photoshop/" title="Photoshop" rel="tag">Photoshop</a>, <a href="http://xguiden.dk/tag/png/" title="png" rel="tag">png</a>, <a href="http://xguiden.dk/tag/script/" title="script" rel="tag">script</a>, <a href="http://xguiden.dk/tag/standard/" title="standard" rel="tag">standard</a>, <a href="http://xguiden.dk/tag/start/" title="Start" rel="tag">Start</a>, <a href="http://xguiden.dk/tag/switch/" title="switch" rel="tag">switch</a>, <a href="http://xguiden.dk/tag/tag/" title="tag" rel="tag">tag</a>, <a href="http://xguiden.dk/tag/text/" title="text" rel="tag">text</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a>, <a href="http://xguiden.dk/tag/url/" title="URL" rel="tag">URL</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/03/08/design-and-code-a-cool-iphone-app-website-in-html5/" title="Design and Code a Cool iPhone App Website in HTML5 (08/03/2010)">Design and Code a Cool iPhone App Website in HTML5</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/a-colorful-clock-with-css-and-jquery/" title="A Colorful Clock With CSS and jQuery (13/02/2010)">A Colorful Clock With CSS and jQuery</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/personal-vcard-pt-2/" title="Personal vCard Pt.2 (13/02/2010)">Personal vCard Pt.2</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/18/coding-a-css3-html5-one-page-website-template/" title="Coding a CSS3 &amp; HTML5 One-Page Website Template (18/02/2010)">Coding a CSS3 &amp; HTML5 One-Page Website Template</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/15/how-to-code-up-a-web-design-from-psd-to-html/" title="How to Code up a Web Design from PSD to HTML (15/02/2010)">How to Code up a Web Design from PSD to HTML</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/03/design-a-prettier-web-form-with-css-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Textured European Goldfinch Characters</title>
		<link>http://xguiden.dk/2010/03/03/create-textured-european-goldfinch-characters/</link>
		<comments>http://xguiden.dk/2010/03/03/create-textured-european-goldfinch-characters/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 22:03:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Engelske guides]]></category>
		<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[BEGINNER]]></category>
		<category><![CDATA[CD]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[fil]]></category>
		<category><![CDATA[GET]]></category>
		<category><![CDATA[Gradient]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Mount]]></category>
		<category><![CDATA[Outline]]></category>
		<category><![CDATA[Over]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[textur]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Wanted]]></category>

		<guid isPermaLink="false">http://xguiden.dk/?p=5336</guid>
		<description><![CDATA[Make a unique character design of a European Goldfinch with paint splatters and textures. The techniques used will be Live Trace, Pathfinder, Transparency, Distort, Warp and Clipping Masks. We’ll give this character a unique look and fun personality.
 
Final Image Preview
Below is the final image we will be working towards.
Tutorial Details

Program: Adobe Illustrator CS3
Difficulty: Beginner
Estimated Completion [...]]]></description>
			<content:encoded><![CDATA[<p>Make a unique character design of a European Goldfinch with paint splatters and textures. The techniques used will be Live Trace, Pathfinder, Transparency, Distort, Warp and Clipping Masks. We’ll give this character a unique look and fun personality.</p>
<p><span> </span></p>
<h3>Final Image Preview</h3>
<p>Below is the final image we will be working towards.</p>
<h4>Tutorial Details</h4>
<ul>
<li><strong>Program:</strong> Adobe Illustrator CS3</li>
<li><strong>Difficulty:</strong> Beginner</li>
<li><strong>Estimated Completion Time:</strong> 2 hours</li>
</ul>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding15.jpg" border="0" alt="" /></div>
<h3>Step 1</h3>
<p>First I searched for different photos of the Goldfinch and made some realistic sketches. This way I get to know the subject and can experiment with different poses. Use simple shapes to form your character. We will add details later, first make sure the basics look right.</p>
<p>Try different kinds of shapes and pick the one that fits your character best. If you go for cute, then you probably need some kind of round shape. I chose to use two rectangles on top of each other, with round corners to keep it cute.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding1.jpg" border="0" alt="" /></div>
<h3>Step 2</h3>
<p>Import the sketch into Illustrator (File &gt; Place) and trace the sketch with the Pen Tool. Use one layer for the outlines and one layer under it for the base colors. When you use separate layers for them you can make layers between them for the shading and highlights.</p>
<p>Use the least number of anchor points in your lines as possible for nice, clean outlines. I selected one line in green so you can see the amount of anchor points.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding2.jpg" border="0" alt="" /></div>
<h3>Step 3</h3>
<p>To make the paint splatters I used photos of real paint splatters. You can make them yourself and scan them in or use stock photos. I used photos from<br />
cgtextures.com, they have hundreds of splatter photos. The photo you choose doesn’t have to be perfect, you can change it later, but the better the shape is now, the less time you have to spend on changing it later.</p>
<p>First we’ll make the splatters for the wings into vector shapes with the function Live Trace. Select the splatter photo and go to Object &gt; Live Trace &gt; Tracing Options. Use the settings shown. The most important settings are “Black and White” because we only need 1 color fills because we don’t need strokes. Ignore White is also important because we don’t need the white background to be a vector shape too.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding3.jpg" border="0" alt="" /></div>
<h3>Step 4</h3>
<p>Select the splatters and go to Object &gt; Expand, now your splatters are vector shapes. Probably the splatters aren’t the perfect shape yet, that’s no problem. There are two options to edit them. One option is to select the splatters and go to Filter &gt; Distort &gt; Free Distort. Move the four anchor points around to edit your splatters. You have a lot of possibilities this way, but for the wings it wasn’t enough. I wanted to bend the shape to follow the shape of the wings.</p>
<p>To bend the splatters apply Effect &gt; Warp &gt; Arc. Select Preview so you can see the changes directly on screen. The blue outlines are the original splatters and the black fills are what I made of it through changing some settings. Now it bends more, which is exactly what I want.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding4_1.jpg" border="0" alt="" /></div>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding4_2.jpg" border="0" alt="" /></div>
<h3>Step 5</h3>
<p>Give the splatters the color you want by selecting the splatters and then selecting a color in the toolbar. Move the splatters to the place you want them. In this case they are too big and are also on the belly and even outside the bird, while I only want them on the wings. You can delete some of the small splatters by selecting them and pressing Delete, or using the Eraser Tool, but you can also use the Pathfinder tools, which is much easier and more precise.</p>
<p>Open the pathfinder by going to Window &gt; Pathfinder. You have to make a shape where you want the splatters to show up, in this case I already have that shape: the wing. I can’t use the wing itself or it will disappear after use, so I copy the wing (Command + C) and paste it in the exact same place (Command + F). Now select the copied wing and the splatters and click on Intersect Shape Areas in the pathfinder. You can see the result in the image below.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding5.jpg" border="0" alt="" /></div>
<h3>Step 6</h3>
<p>Use the same techniques for all the other splatters. After I made the splatters I thought it looked a bit dull though, so I decided to add more color by making more splatters smaller than the existing ones. I used the same splatters, but scaled and rotated them a little so they look different. I also gave them a lighter color than the existing splatters to create a highlight/shading effect.</p>
<p>If your style is more detailed than this, then you can of course also use five different splatters with different colors and sizes to make the illusion of one splatter.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding6.jpg" border="0" alt="" /></div>
<h3>Step 7</h3>
<p>I always like to make a thick outline around my drawing to make it look more like a cartoon. To make a thick outline select all your current black outlines and copy them (Command + C) and make a new layer beneath all the other layers.</p>
<p>In this layer paste the outlines in place (Command + F). Keep the lines selected and give them a thicker stroke weight than the original lines. In this case the lines for the beak and the feet looked weird if I made them thicker, so I deleted them. Normally I make a thick outline around everything.</p>
<p>In this screenshot you can also see how my layers there are so far. I use a lot of different layers and also name them, this saves time searching through layers if I want to edit something.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding7.jpg" border="0" alt="" /></div>
<h3>Step 8</h3>
<p>I used the same techniques to create the other two birds. I used the same outlines for them, not because I was lazy, but because I thought it was cool that I could use the same lines to create three different birds looking in three different directions. I only changed the positions of the beaks and recreated the yellow and orange splatters for the other two birds. I also drew a simple branch for the birds to sit on using the Pen Tool.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding8.jpg" border="0" alt="" /></div>
<h3>Step 9</h3>
<p>I used three different shapes to make the branch, to merge them select all three shapes and go to Window &gt; Pathfinder &gt; Merge. The result is that the whole branch is one shape. This is important for the other steps.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding9.jpg" border="0" alt="" /></div>
<h3>Step 10</h3>
<p>To make the branch look more interesting, let’s give it a texture. This is a well-known technique for Photoshop users, but it’s not necessary to switch to Photoshop because Illustrator has layer options too. This is not a vector effect though because I used a photo which is pixels instead of vector.</p>
<p>Choose a photo with a nice effect, this doesn’t have to be a photo of a branch, often it’s even better to choose a picture of something completely different. I used a stock photo of rocks from <a href="http://cgtextures.com">cgtextures.com</a>. I used the photo in black and white because I want to choose my own colors. You can also use a color photo for some nice effects.</p>
<p>Add the photo to your drawing (File &gt; Place) and make a copy of the branch (Command + C). Make a new layer and paste the new branch in the same place (Command + F). We will use this new branch to edit the photo.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding10.jpg" border="0" alt="" /></div>
<h3>Step 11</h3>
<p>We’ll use a clipping mask to make the photo only visible on the branch and not the complete background. Select the copied branch and the photo, then apply Object &gt; Clipping Mask &gt; Make.</p>
<p>Make sure the branch is still selected and open the Transparency window (Window &gt; Transparency) and where it says Normal change it to Overlay. Also, set the Opacity to 70%.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding11.jpg" border="0" alt="" /></div>
<h3>Step 12</h3>
<p>For the background I used another stock photo from<br />
cgtextures.com. I also changed this one to black and white with Photoshop because the original is brown and I don’t want to use that color.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding12.jpg" border="0" alt="" /></div>
<h3>Step 13</h3>
<p>Create a rectangle with the Rectangle Tool (M) for the background in a layer beneath the background texture photo. Go to Window &gt; Gradient to add a gradient to it. Select the rectangle and then select two colors in the Gradient window to make a gradient. Set the angle to 90 degrees to change it to a vertical gradient.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding13.jpg" border="0" alt="" /></div>
<h3>Step 14</h3>
<p>Select the background texture photo and go to Window &gt; Transparency, set it to Overlay and the Opacity to 60%. Your layers should now look like this:</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding14.jpg" border="0" alt="" /></div>
<h3>Final image</h3>
<p>Have fun creating your own textured characters.</p>
<div><img src="http://vectortuts.s3.cdn.plus.org/tuts/000_2010/272_Goldfinch/afbeelding15.jpg" border="0" alt="" /></div>

	Tags: <a href="http://xguiden.dk/tag/adobe/" title="Adobe" rel="tag">Adobe</a>, <a href="http://xguiden.dk/tag/beginner/" title="BEGINNER" rel="tag">BEGINNER</a>, <a href="http://xguiden.dk/tag/cd/" title="CD" rel="tag">CD</a>, <a href="http://xguiden.dk/tag/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://xguiden.dk/tag/design/" title="design" rel="tag">design</a>, <a href="http://xguiden.dk/tag/fil/" title="fil" rel="tag">fil</a>, <a href="http://xguiden.dk/tag/get/" title="GET" rel="tag">GET</a>, <a href="http://xguiden.dk/tag/gradient/" title="Gradient" rel="tag">Gradient</a>, <a href="http://xguiden.dk/tag/image/" title="image" rel="tag">image</a>, <a href="http://xguiden.dk/tag/ip/" title="IP" rel="tag">IP</a>, <a href="http://xguiden.dk/tag/mount/" title="Mount" rel="tag">Mount</a>, <a href="http://xguiden.dk/tag/outline/" title="Outline" rel="tag">Outline</a>, <a href="http://xguiden.dk/tag/over/" title="Over" rel="tag">Over</a>, <a href="http://xguiden.dk/tag/photoshop/" title="Photoshop" rel="tag">Photoshop</a>, <a href="http://xguiden.dk/tag/switch/" title="switch" rel="tag">switch</a>, <a href="http://xguiden.dk/tag/text/" title="text" rel="tag">text</a>, <a href="http://xguiden.dk/tag/textur/" title="textur" rel="tag">textur</a>, <a href="http://xguiden.dk/tag/tutorial/" title="tutorial" rel="tag">tutorial</a>, <a href="http://xguiden.dk/tag/wanted/" title="Wanted" rel="tag">Wanted</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://xguiden.dk/2010/02/25/make-a-freezing-cold-snow-themed-abstract-piece/" title="Make a Freezing Cold Snow-themed Abstract Piece (25/02/2010)">Make a Freezing Cold Snow-themed Abstract Piece</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/25/create-an-abstract-textured-artwork-in-illustrator/" title="Create an Abstract, Textured Artwork in Illustrator (25/02/2010)">Create an Abstract, Textured Artwork in Illustrator</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/protect-your-flash-files-from-decompilers-by-using-encryption/" title="Protect Your Flash Files From Decompilers by Using Encryption (13/02/2010)">Protect Your Flash Files From Decompilers by Using Encryption</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/03/03/design-a-prettier-web-form-with-css-3/" title="Design a Prettier Web Form with CSS 3 (03/03/2010)">Design a Prettier Web Form with CSS 3</a> (0)</li>
	<li><a href="http://xguiden.dk/2010/02/13/learn-how-to-create-an-amazing-car-illustration/" title="Learn How To Create An Amazing Car Illustration (13/02/2010)">Learn How To Create An Amazing Car Illustration</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://xguiden.dk/2010/03/03/create-textured-european-goldfinch-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
