<?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>Three Styles &#187; Tutorials</title> <atom:link href="http://www.threestyles.com/topics/tutorials/feed/" rel="self" type="application/rss+xml" /><link>http://www.threestyles.com</link> <description>Tutorials and Resources for Web Designers</description> <lastBuildDate>Wed, 30 Mar 2011 15:22:35 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>Create a Slick CSS3 Login Form NO IMAGES ALLOWED</title><link>http://www.threestyles.com/tutorials/css3-login-form-tutorial/</link> <comments>http://www.threestyles.com/tutorials/css3-login-form-tutorial/#comments</comments> <pubDate>Mon, 10 May 2010 12:46:47 +0000</pubDate> <dc:creator>Shane Jeffers</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[CSS3 Form Tutorial]]></category> <category><![CDATA[CSS3 Gradients]]></category> <category><![CDATA[CSS3 Login Form Tutorial]]></category> <category><![CDATA[CSS3 no images allowed]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=1575</guid> <description><![CDATA[The goal of this post is to harness some new functionality provided by CSS3 and move away from images. We are going to create a CSS3 login form without images yet still have a visually pleasing result. DEMO Writing the HTML First lets begin with creating the HTML markup that makes up the login form. [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.threestyles.com/tutorials/css3-login-form-tutorial/"><img
src="http://www.threestyles.com/wp-content/uploads/2010/05/css3-login.jpg" alt="Create a Slick CSS3 Login Form NO IMAGES ALLOWED" title="Create a Slick CSS3 Login Form NO IMAGES ALLOWED" width="540" height="250" class="alignnone size-full wp-image-1608" /></a><br
/></p><p>The goal of this post is to harness some new functionality provided by CSS3 and move away from images.  We are going to create a CSS3 login form without images yet still have a visually pleasing result.</p><p><span
id="more-1575"></span><br
/> <a
href="http://www.threestyles.com/CSS3-login-form.html" class="demo">DEMO</a></p><h1>Writing the HTML</h1><p>First lets begin with creating the HTML markup that makes up the login form.  Start with the basic HTML page as I will not include that portion in the code.</p><pre class="brush: xml; title: ;">
&lt;form&gt;
		&lt;label&gt;Username:&lt;/label&gt;
			&lt;input type=&quot;text&quot; name=&quot;username&quot; /&gt;
		&lt;label&gt;Password:&lt;/label&gt;
			&lt;input type=&quot;password&quot; name=&quot;password&quot;  /&gt;
			&lt;input type=&quot;submit&quot; value=&quot;Submit&quot; name=&quot;submit&quot; class=&quot;submit&quot; /&gt;
&lt;/form&gt;
</pre><p>This is the basic markup with a few labels and Input elements.  Now there are many different ways to markup the HTML you see above, but I tried to make it as simple as possible.  Make sure you add the Class SUBMIT to your button because it will require different styling.</p><h2>HTML Only Demo</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/05/login1.jpg" rel="wp-prettyPhoto[g1575]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/05/login1.jpg" alt="CSS3 Login Form Tutorial" title="CSS3 Login Form Tutorial" width="540" height="150" class="alignnone size-full wp-image-1580" /></a></p><p>As you can see above we really need the power of CSS in order to give this login form some visual appeal. Enter CSS3!</p><h1>Writing the CSS</h1><p>It is now time to give this login form some life.  CSS3 has some really powerful new features and we will be covering only a few of them.  First lets get some of the basic layout styles down nothing having to do with CSS3</p><h2>Styling the Form Element</h2><p>We will begin writing our CSS targeting the form element as some of the other elements on the page will rely on the parent element. I&#8217;m going to go through the properties in logical order not in alphabetical order.  We want to set the width to 250px with 20px of padding on all sides and a 1px border also.</p><pre class="brush: css; title: ;">
form {
    width: 250px;
    padding: 20px;
    border: 1px solid #270644;
}
</pre><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/05/form2.jpg" rel="wp-prettyPhoto[g1575]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/05/form2.jpg" alt="" title="Form 2" width="540" height="250" class="alignnone size-full wp-image-1593" /></a></p><h2>Adding CSS3 to the Form Element</h2><p>Now lets add in the CSS3 magic to bring this form to life.</p><pre class="brush: css; title: ;">
form {
    width: 250px;
    padding: 20px;
    border: 1px solid #270644;

    /*** Adding in CSS3 ***/

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

    /*** Background Gradient - 2 declarations one for Firefox and one for Webkit ***/
    background:  -moz-linear-gradient(19% 75% 90deg,#4E0085, #963AD6);
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#963AD6), to(#4E0085));

    /*** Shadow behind the box ***/
    -moz-box-shadow:0px -5px 300px #270644;
    -webkit-box-shadow:0px -5px 300px #270644;
}
</pre><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/05/Form-3.jpg" rel="wp-prettyPhoto[g1575]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/05/Form-3.jpg" alt="" title="CSS3 Login Form" width="540" height="250" class="alignnone size-full wp-image-1595" /></a></p><h2>Styling the Input Elements</h2><p>Styling the input elements is pretty easy but it does have some complications that can frustrate.  We will apply a background color, a top border, some padding, and a width.</p><pre class="brush: css; title: ;">
input {
    width: 230px;
    background: #8a33c6;
    padding: 6px;
    margin-bottom: 10px;
    border-top: 1px solid #ad64e0;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px;
}
</pre><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/05/Form-4.jpg" rel="wp-prettyPhoto[g1575]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/05/Form-4.jpg" alt="" title="CSS3 Login Form" width="540" height="250" class="alignnone size-full wp-image-1597" /></a></p><h2>Adding CSS3 to the Input Element</h2><p>For the input element we will implement the new features of CSS3 called transitions.  Unfortunately this only works in Webkit browsers such as Safari and Chrome.</p><pre class="brush: css; title: ;">
input {
    width: 230px;
    background: #8a33c6;
    padding: 6px;
    margin-bottom: 10px;
    border-top: 1px solid #ad64e0;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px;

    /*** Adding CSS3 ***/

    /*** Transition Selectors - What properties to animate and how long ***/
    -webkit-transition-property: -webkit-box-shadow, background;
    -webkit-transition-duration: 0.25s;

    /*** Adding a small shadow ***/
    -moz-box-shadow: 0px 0px 2px #000;
    -webkit-box-shadow: 0px 0px 2px #000;
}
</pre><p>Now that we have the styles for the inputs in place lets style the hover events for those same inputs.</p><pre class="brush: css; title: ;">
input:hover {
    -webkit-box-shadow: 0px 0px 4px #000;
    background: #9d39e1;
}
</pre><p>Some of you may not have caught it but I increased the radius of the shadow on hover from 2px to 4px.  That is why we used the transition effects on the inputs because it triggers that change on hover.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/05/Form-5.jpg" rel="wp-prettyPhoto[g1575]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/05/Form-5.jpg" alt="" title="Form 5" width="540" height="250" class="alignnone size-full wp-image-1599" /></a></p><h2>Styling the Button</h2><p>Ok we&#8217;re almost done, on to the button!  Since we gave our button the class SUBMIT we can use that selector in our CSS.</p><pre class="brush: css; title: ;">
input.submit {
    width: 100px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: #000 1px 1px;
    border-top: 1px solid #ad64e0;
    margin-top: 10px;
}
</pre><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/05/Form-6.jpg" rel="wp-prettyPhoto[g1575]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/05/Form-6.jpg" alt="" title="Form 6" width="540" height="250" class="alignnone size-full wp-image-1601" /></a></p><h2>Adding CSS3 to the Submit Button</h2><pre class="brush: css; title: ;">
input.submit {
    width: 100px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: #000 1px 1px;
    border-top: 1px solid #ad64e0;
    margin-top: 10px;

    /*** Adding CSS3 Gradients ***/
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#963AD6), to(#781bb9));
    background:  -moz-linear-gradient(19% 75% 90deg,#781bb9, #963AD6);
}
</pre><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/05/Form-8.jpg" rel="wp-prettyPhoto[g1575]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/05/Form-8.jpg" alt="" title="CSS3 Login Submit Button" width="540" height="250" class="alignnone size-full wp-image-1603" /></a></p><p>That&#8217;s it!  Now you have an awesome login form styled strictly with CSS3 and no images.  Of course it only works in webkit browsers currently which are Safari and Chrome, but CSS3 support will be coming to a browser near you soon.  If you liked this post please promote it below!</p><p><a
href="http://www.threestyles.com/CSS3-login-form.html" class="demo">FINAL DEMO</a></p> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/css3-login-form-tutorial/feed/</wfw:commentRss> <slash:comments>26</slash:comments> </item> <item><title>Awesome 3D Facebook Social Media Icon Photoshop Tutorial</title><link>http://www.threestyles.com/tutorials/awesome-3d-facebook-social-media-icon-photoshop-tutorial/</link> <comments>http://www.threestyles.com/tutorials/awesome-3d-facebook-social-media-icon-photoshop-tutorial/#comments</comments> <pubDate>Thu, 22 Apr 2010 11:08:22 +0000</pubDate> <dc:creator>Alexis Brille</dc:creator> <category><![CDATA[Photoshop]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[3D facebook icon tutorial]]></category> <category><![CDATA[facebook social media icon]]></category> <category><![CDATA[photoshop tutorial social media icon]]></category> <category><![CDATA[social media icon tutorial]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=1565</guid> <description><![CDATA[Who says you need Cinema 4D, 3DSMax or even Illustrator to create a simple 3D icon? In this tutorial, you&#8217;re going to learn how to do it in Photoshop with the help of layer masks. The main point of this tutorial is to demonstrate how we are able to apply semi-realistic lighting and shadows in [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.threestyles.com/tutorials/awesome-3d-facebook-social-media-icon-photoshop-tutorial/"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/facebook-icon.png" alt="Awesome 3D Facebook Social Media Icon Photoshop Tutorial" width="540" height="250" class="alignnone size-full wp-image-1569" /></a><br
/></p><div
class="summary"><p>Who says you need Cinema 4D, 3DSMax or even Illustrator to create a simple 3D icon? In this tutorial, you&#8217;re going to learn how to do it in Photoshop with the help of layer masks.</p><p><span
id="more-1565"></span></p><p>The main point of this tutorial is to demonstrate how we are able to apply semi-realistic lighting and shadows in Photoshop [omitting the need for 3D manipulation tools]. Note that we used the term &quot;semi-realistic&quot;, we wanted to give the illusion of a 3D object, at the same time keeping the illustration effect.</p><p>In addition, the variety of perspective we are capable of achieving solely in Photoshop is of course meer. Do take advantage of the Bevel &amp; Extrude feature in Adobe Illustrator. Nevertheless, aside being able to give reasonable lighting to the icon in Photoshop, we were also able to complete impression of a faux 3D object &#8212; only with the use of Photoshop.</p><h2 class="StepTitle">Preview</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/Preview.png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/Preview.png" alt="Preview Faux 3D Facebook Icon" width="512" height="512" class="alignnone size-full wp-image-1534" /></a></div><div
class="clear"></div><h2 class="StepTitle">1. Create a new Photoshop document.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/1._Create_a_new_Photoshop_document.-e1271909895602.png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/1._Create_a_new_Photoshop_document.-e1271909895602.png" alt="" width="540" height="309" class="alignnone size-full wp-image-1538" /></a></div><p>Create a new 512 pixels by 512 pixels Photoshop document, the standard maximum size for application icons.</p><div
class="clear"></div><h2 class="StepTitle">2. Facebook Logo Outline</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/2._Facebook_Logo_Outline.png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/2._Facebook_Logo_Outline.png" alt="" width="540" height="324" class="alignnone size-full wp-image-1540" /></a></div><p>To facilitate the creation process i.e., so you wouldn&#8217;t have to draw your own Facebook logo, download the Facebook Logo Vector Outline in .AI format here: http://j.mp/facebookLogoVectorOutline</p><p>Copy the vector into your clipboard, CTRL or CMD + C.</p><div
class="clear"></div><h2 class="StepTitle">3. Paste the Facebook Logo Vector Outline into Photoshop as a Smart Object.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/3._Paste_the_Facebook_Logo_Vector_Outline_into_Photoshop_as_a_Smart_Object..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/3._Paste_the_Facebook_Logo_Vector_Outline_into_Photoshop_as_a_Smart_Object..png" alt="" width="540" height="297" class="alignnone size-full wp-image-1541" /></a></div><p>Paste the vector into the newly made Photoshop document, CTRL or CMD + V.</p><p>Select Smart Object in the dialog, press OK then press enter [to get rid of the resize tool].</p><div
class="clear"></div><h2 class="StepTitle">4. Set up the Gradient Overlay &#8211; First gradient.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/4._Set_up_the_Gradient_Overlay_-_First_gradient..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/4._Set_up_the_Gradient_Overlay_-_First_gradient..png" alt="" width="540" height="338" class="alignnone size-full wp-image-1542" /></a></div><p>The main difference of this screenshot from the previous screenshots is the background that has been pasted in. Don&#8217;t worry, that&#8217;s not part of the tutorial, it&#8217;s there just to make things look better.</p><p>Right click on the layer with the logo outline and select Blending Options.</p><p>On the left side of the panel, tick the box Gradient Overlay.</p><p>Set the first gradient slider to the color #00225b.</p></p></div><div
class="clear"></div><h2 class="StepTitle">4. Set up the Gradient Overlay &#8211; Second gradient.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/4._Set_up_the_Gradient_Overlay_-_Second_gradient..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/4._Set_up_the_Gradient_Overlay_-_Second_gradient..png" alt="" width="540" height="338" class="alignnone size-full wp-image-1543" /></a></div><p>Set the second gradient slider to the color #006ed5.</p><div
class="clear"></div><h2 class="StepTitle">5. Set up the Stroke color.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/5._Set_up_the_Stroke_color..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/5._Set_up_the_Stroke_color..png" alt="" width="540" height="338" class="alignnone size-full wp-image-1544" /></a></div><p>Tick the Stroke box below Gradient Overlay.</p><p>Size: 1px.<br
/> Position: Outside.<br
/> Blend Mode: Normal.<br
/> Opacity: 100%.<br
/> Color: #00103e.</p><div
class="clear"></div><h2 class="StepTitle">6. Set up the Inner Glow.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/6._Set_up_the_Inner_Glow..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/6._Set_up_the_Inner_Glow..png" alt="" width="540" height="338" class="alignnone size-full wp-image-1545" /></a></div><p>Tick the Inner Glow box.</p><p>Blend Mode: Overlay.<br
/> Opacity: 100%.<br
/> Noise: 0.<br
/> Color: #ffffff.<br
/> Technique: Softer.<br
/> Source: Edge.<br
/> Choke: 0.<br
/> Size: 2px.</p><div
class="clear"></div><h2 class="StepTitle">7. Set up the Inner Shadow.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/7._Set_up_the_Inner_Shadow..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/7._Set_up_the_Inner_Shadow..png" alt="" width="540" height="338" class="alignnone size-full wp-image-1546" /></a></div><p>Tick the Inner Shadow box.</p><p>Blend Mode: Overlay.<br
/> Color: #ffffff.<br
/> Opacity: 100%.<br
/> Angle: 120 degrees.<br
/> Untick the Use Global Light box.<br
/> Distance: 1px.<br
/> Choke: 0%.<br
/> Size: 0px.</p><div
class="clear"></div><h2 class="StepTitle">8. Create the Perspective.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/8._Create_the_Perspective..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/8._Create_the_Perspective..png" alt="" width="540" height="338" class="alignnone size-full wp-image-1547" /></a></div><p>To create the bevel of the icon, duplicate the layer with the logo outline [that now has the styles shown above implemented].</p><p>(1) Move this newly duplicated layer to the right to create the 3D illusion.</p><p>(2) Move this newly duplicated layer below the original layer.</p><p>(3) On the duplicated layer, click the eye icons on Inner Shadow, Inner Glow and Stroke to uncheck them. We only want the Gradient Overlay showing on the duplicated layer.</p><p>Let&#8217;s call this layer the &quot;bevel layer&quot;.</p><div
class="clear"></div><h2 class="StepTitle">9. Paint the Shadows &#8211; 1.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/9._Paint_the_Shadows_-_1..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/9._Paint_the_Shadows_-_1..png" alt="" width="540" height="338" class="alignnone size-full wp-image-1548" /></a></div><p>(1) Duplicate the &quot;bevel layer&quot; we&#8217;ve made in Step 8.</p><p>Let&#8217;s call this newly duplicated layer the &quot;shadows layer&quot;.</p><p>(2) This time, uncheck the Gradient Overlay on it by clicking the eye icon next to it.</p><p>Or we can simply right click on the &quot;shadows layer&quot; and choose Clear Layer Style (we will lose the layer style). It&#8217;s personal preference.</p><p>(3) The color of the icon on the &quot;shadows layer&quot; should be black.</p><p>(4) Make sure have this layer selected and click on the Set Vector Mask icon below, its icon is a rectangle with a circle inside.</p><p>(5) Then make sure you have the layer mask of the &quot;shadows layer&quot; selected, not the layer itself.</p><div
class="clear"></div><h2 class="StepTitle">10. Paint the Shadows &#8211; 2.</h2><div
class="image"></div><p>Again, make sure you have the layer mask selected of the &quot;shadows layer&quot; selected.</p><p>Choose the Brush Tool.</p><p>Make your foreground color #000000.</p><p>With the Brush Tool [or the Color Fill Tool], paint all over the &quot;shadows layer&quot; to hide all the black so that all that is revealed is the blue gradient of the &quot;bevel layer&quot;. You will know why we do this in a second.</p><div
class="clear"></div><h2 class="StepTitle">11. Paint the Shadows &#8211; 3.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/11._Paint_the_Shadows_-_3..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/11._Paint_the_Shadows_-_3..png" alt="" width="540" height="324" class="alignnone size-full wp-image-1549" /></a></div><p>Select the Brush Tool.</p><p>Make your foreground #ffffff.</p><p>Ensure you select the layer mask on the &quot;shadows layer&quot; created in Step 9.</p><p>With the Brush Tool, paint the corners of the icon on the &quot;shadows layer&quot; with #ffffff to reveal shadows.</p><p>The reason why we cleared all the black color in Step 10 was so that we would have a more natural approach of painting shadows.</p><p>We could easily use the Brush Tool loaded with the color #000000 to hide the shadows and start there but it would rather seem as if we were painting highlights not shadows.</p><p>If we do it this the other way around, it would seem as if we were painting shadows [which is what we're aiming for], instead.</p><p>To achieve best results, it&#8217;s best you study how lighting and shadows fall onto your household objects.</p><div
class="clear"></div><h2 class="StepTitle">12. Paint the Shadows &#8211; 4.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/12._Paint_the_Shadows_-_4..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/12._Paint_the_Shadows_-_4..png" alt="" width="540" height="324" class="alignnone size-full wp-image-1550" /></a></div><div
class="clear"></div><h2 class="StepTitle">13. Paint the Shadows &#8211; 5.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/13._Paint_the_Shadows_-_5..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/13._Paint_the_Shadows_-_5..png" alt="" width="540" height="324" class="alignnone size-full wp-image-1551" /></a></div><div
class="clear"></div><h2 class="StepTitle">14. Paint the Highlights &#8211; 1.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/14._Paint_the_Highlights_-_1..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/14._Paint_the_Highlights_-_1..png" alt="" width="540" height="324" class="alignnone size-full wp-image-1552" /></a></div><p>With the same technique used above regarding layer masks from Step 9 to Step 13, let&#8217;s paint some highlights on the front of the icon.</p><p>The process is similar to that used in Step 10.</p><p>Duplicate the first layer we made in Step 3. This newly duplicated layer will provide the highlights on the [front] face of the icon. Let&#8217;s call it the &quot;front highlights layer&quot;.</p><p>Right click on this &quot;front highlights layer&quot; and choose Clear Layer Style. The color would only be #000000 or black.</p><p>Right click on it again and choose Blending Options.</p><p>Tick the Color Overlay box and choose the color #ffffff or white.</p><p>The color of the icon should now be white.</p><p>With the &quot;front highlights layer&quot; selected, click the Set Vector Mask icon below to set a layer mask on this layer, its icon is a rectangle with a circle inside.</p><div
class="clear"></div><h2 class="StepTitle">15. Paint the Highlights &#8211; 2.</h2><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/15._Paint_the_Highlights_-_2..png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/15._Paint_the_Highlights_-_2..png" alt="" width="540" height="324" class="alignnone size-full wp-image-1553" /></a></div><p>Make sure you have the layer mask selected of the &quot;front highlights layer&quot; selected.</p><p>Choose the Brush Tool.</p><p>Make your foreground color #000000.</p><p>With the Brush Tool [or the Color Fill Tool], paint all over the &quot;front highlights layer&quot; to hide all the white so that all that is revealed is the blue gradient of the front face.</p><p>Select the Brush Tool.</p><p>Make your foreground #ffffff.</p><p>Ensure you select the layer mask on the &quot;front highlights layer&quot;.</p><p>With the Brush Tool, paint the front face of the icon on the &quot;front highlights layer&quot; with #ffffff to reveal highlights.</p><div
class="clear"></div><h1 class="StepTitle">Final Product</h1><div
class="image"> <a
href="http://www.threestyles.com/wp-content/uploads/2010/04/Final_Product.png" rel="wp-prettyPhoto[g1565]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/04/Final_Product.png" alt="" width="512" height="512" class="alignnone size-full wp-image-1554" /></a></div><h2>And that&#8217;s all there is to it.</h2><p>I hope you enjoy it, and if you have any questions please leave a comment below.</p><div
class="clear"></div> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/awesome-3d-facebook-social-media-icon-photoshop-tutorial/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> <item><title>Design and Code a Sweet Custom Coming Soon Page</title><link>http://www.threestyles.com/tutorials/design-and-code-custom-coming-soon-page/</link> <comments>http://www.threestyles.com/tutorials/design-and-code-custom-coming-soon-page/#comments</comments> <pubDate>Mon, 29 Mar 2010 06:34:44 +0000</pubDate> <dc:creator>Shane Jeffers</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Photoshop]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Design and Code a Sweet Custom Coming Soon Page]]></category> <category><![CDATA[design coming soon page tutorial]]></category> <category><![CDATA[design custom page tutorial]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=1430</guid> <description><![CDATA[So you just purchased a new hosting account and you some great ideas for your next project. Instead of just having the host default page up for your domain name why not create a coming soon page that is simple and effective. There are many reasons to create these coming soon pages. The first reason [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/design.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/design.png" alt="Design and Code a Sweet Custom Coming Soon Page" title="Design and Code a Sweet Custom Coming Soon Page" width="540" height="250" class="alignnone size-full wp-image-1460" /></a><br
/></p><p>So you just purchased a new hosting account and you some great ideas for your next project.  Instead of just having the host default page up for your domain name why not create a coming soon page that is simple and effective.</p><p><span
id="more-1430"></span></p><p>There are many reasons to create these coming soon pages.  The first reason is to make your product or service look more professional instead of having the &#8220;This is a website&#8221; page that your hosting company provides you.  Secondly, it can help promote your site before it is even launched.   Be sure to include your twitter account or an email subscription so people can follow the progress of the site.  It allows them to get more excited about something they haven&#8217;t even seen yet.</p><h2>Example Screenshot</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/final.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/final.png" alt="Final Screenshot" title="Final Screenshot" width="540" height="450" class="alignnone size-full wp-image-1463" /></a></p><h1>Designing the page</h1><p>When you start the design keep in the back of your head that this does not need to be a complex page on the contrary actually.  This page needs to be simple yet effective.  It must also convey a message of what the site will offer to get people interested.  Don&#8217;t spend too much time on this page as you need that time to complete your other ideas.  Let&#8217;s go ahead an open up photoshop and get started.</p><p>1.  Open up a photoshop document 900px by 700px with a transparent background and the settings below.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/photoshop-settings.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/photoshop-settings.png" alt="Photoshop Document Settings" title="Photoshop Document Settings" width="540" height="333" class="alignnone size-full wp-image-1432" /></a></p><p>2.  Now lets fill in the background by going up to Edit > Fill.. chooser color from the drop down and put in the hex code #333333 and hit OK.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/bgsettiongs.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/bgsettiongs.png" alt="Main Background Settings" title="Main Background Settings" width="540" height="524" class="alignnone size-full wp-image-1435" /></a></p><p>3.  Now select the rectangular marquee tool and in the drop down box at the top choose Fixed size.  Enter 900px for the width and 300px for the height.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/900x300.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/900x300.png" alt="Rectangular Marquee Tool Settings" title="Rectangular Marquee Tool Settings" width="540" height="23" class="alignnone size-full wp-image-1437" /></a></p><p>4.  Before you click anywhere go up to Layer > New > Layer&#8230; and name it Top.  Now you can click anywhere in the document and make sure you drag the selection to the top.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/top-selection.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/top-selection.png" alt="Top selection" title="Top selection" width="526" height="412" class="alignnone size-full wp-image-1438" /></a></p><p>5.  Make sure you are selected on the newly created layer not the dark layer and go up to Edit > Fill&#8230; choose color from the drop down and enter #ececec for the hex code.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/top-fill.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/top-fill.png" alt="Fill top area with a color" title="Fill top area with a color" width="540" height="535" class="alignnone size-full wp-image-1440" /></a></p><p>6.  Now we have our top section put together all we have to do is bring in the logo.  Open up your logo and drag it into your document.  This is an important one because you want the brand to really stand out so make sure your logo is prevalent.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/logo-added.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/logo-added.png" alt="Adding in the logo" title="Adding in the logo" width="540" height="413" class="alignnone size-full wp-image-1441" /></a></p><p>7.  Next we need to add in the COMING SOON portion so they know that the site is not just a broken site.  You don&#8217;t have to necessarily use COMING SOON, just something that lets the customer know that it&#8217;s not available yet.   First create another new layer by going to Layer > New > Layer&#8230; name it Shadow.   Grab your rectangular marquee tool and set a fixed size to be 400px wide and 30px high.  Click and make the selection directly underneath the logo.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/shadow.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/shadow.png" alt="Shadow selection" title="Shadow selection" width="540" height="358" class="alignnone size-full wp-image-1443" /></a></p><p>8.  Grab your gradient tool and in the Gradient Picker (which is in the top left) choose your second option which should be foreground to transparent.  Also set your foreground color to black by pressing D on your keyboard.  Click approx. 5px above the selection that you have and while dragging down hold the shift key and let go when you get to about the middle of your selection.  Once that is done drop your opacity for this layer in your layers palette to  10%.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/shadow-long.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/shadow-long.png" alt="Shadow Graphic" title="Shadow Graphic" width="540" height="406" class="alignnone size-full wp-image-1445" /></a></p><p>9.  Next we will use a layer mask to fade the corners out diagonally.  Go up to Layer > Layer Mask > Reveal All.  This allows us to see the complete layer and then fade it out by using the color black.  You should still have your gradient tool selected and Foreground to Transparent selected and black as your foreground color if not make sure you do.  Next drag the gradients below each of the corners in an upward diagonal direction like the screen shot below.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/faded-corners.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/faded-corners.png" alt="Drag the gradient out" title="Drag the gradient out" width="540" height="406" class="alignnone size-full wp-image-1447" /></a></p><p>10.  Once that is finished go ahead and add the coming soon text in.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/finished.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/finished.png" alt="Finished Top Section" title="Finished Top Section" width="459" height="421" class="alignnone size-full wp-image-1449" /></a></p><h1>Coding the page with CSS3</h1><p>I just recently did a post on <a
href="http://www.threestyles.com/tutorials/html5-rocks-my-socks-off/">The basics of HTML5</a> but today we are going to stick with XHTML and use the XHTML Strict DOCTYPE.</p><h2>The Basics</h2><p>11.  This is the bare bones of what an HTML page must consist of in order to display properly.  Add the code below to a blank HTML file and save it as index.html.</p><pre class="brush: xml; title: ;">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
	&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
&lt;head&gt;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;/&gt;
	&lt;title&gt;Alive Again Apparel&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre><p>12.  Next create a CSS file and name it style.css. Now lets link our CSS file to our index.html file so we don&#8217;t forget.  Add the piece of code below directly above the closing head tag.  Oh and to save you some trouble make sure the index file and the CSS file are in the same directory.</p><pre class="brush: css; title: ;">&lt;link href=&quot;style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;</pre><h2>The HTML Structure</h2><p>13.  Now let&#8217;s choose exactly how the page is going to be laid out.  We will be using a 100% width layout in this tutorial so we will need two divs for the top section.  One to fill the color 100% across and the other to center the content.  In the example below I took out all of the other tags except the body tags and what&#8217;s between them, but that was only to make it easier to see.  You still need the other tags in order for the page to work.</p><pre class="brush: xml; title: ;">
&lt;body&gt;
     &lt;div id=&quot;top&quot;&gt;
          &lt;div id=&quot;topcon&quot;&gt;
               &lt;img src=&quot;logo.png&quot; id=&quot;logo&quot; /&gt;
          &lt;div&gt;&lt;!-- This div will be centered and contain the logo --&gt;
     &lt;/div&gt;&lt;!-- 100% color all the way across --&gt;
     &lt;p&gt;Alive Again Apparel is a Christian T-Shirt business that is getting ready to launch. We will be delivering spirit filled T-Shirt designs for a unique way to spread the gospel.  

     &lt;p&gt;If you would like more information please feel free to email us at &lt;a href=&quot;#&quot;&gt;test@test.com&lt;/a&gt; or follow us on &lt;a href=&quot;#&quot; target=&quot;_blank&quot; id=&quot;twitter&quot;&gt;Twitter&lt;/a&gt; to get news about the upcoming launch.&lt;/p&gt;
&lt;/body&gt;
</pre><p>14.  Now we have our content and you guys should now have an html page that looks pretty boring with no styling at.  Enter CSS3!  Open up your CSS file and start with the code below.  I know how dare I say use this.  I recommend that you use some type of CSS reset instead of using this * method, but I used this for the sake of simplicity.</p><pre class="brush: css; title: ;">
/*** Resets all elements ***/

* {
   margin: 0px;
   padding: 0px;
}

/*** Gives the body the dark gray background we used in PS ***/

body { background: #333; }

/*** Styles the links ***/

a { color: #999; }

/*** Sets paragraph styles ***/

p {
   color: #ececec;
   font-family: verdana, arial;
   font-size: 12px;
   line-height: 18px;
   margin: 0px auto 20px auto;
   text-shadow: 1px 1px 1px #111; /*** New CSS3 Property that adds the shadow ***/
   width: 450px; /*** Allows paragraphs to be centered ***/
}
</pre><p>I used the Text-Shadow property right here which is brand new in CSS3.  It gives our text a nice shadow behind it in most modern browsers.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/03/text.png" rel="wp-prettyPhoto[g1430]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/text.png" alt="CSS3 Text Shadow Property Example" title="CSS3 Text Shadow Property Example" width="540" height="245" class="alignnone size-full wp-image-1457" /></a></p><p>15.  Now that we&#8217;ve styled some of our HTML elements lets move on to the layout.</p><pre class="brush: css; title: ;">
/*** Top section 100% color ***/

#top {
   background: #ececec;
   border-bottom: 1px solid #fff;
   margin-bottom: 30px;
   width: 100%;
}

/*** Topcon centers the page at 900px ***/

#topcon {
   margin: 0px auto; /*** Centers the page ***/
   width: 900px; /*** A width is required in order for it to center ***/
}
</pre><p>16.  Notice in the HTML above I added ID&#8217;s to the twitter text and the logo.  We will use these specific ID&#8217;s to style them</p><pre class="brush: css; title: ;">
/*** Styling the Logo ***/

#logo {
   width:445px;
   height: 125px;
   display: block;
   margin: 0px auto; /*** Centers the logo in the 900px box ***/
   padding: 100px 0px;
}

/*** Styles the twitter link ***/

a#twitter { color: #4ce6fd; }
</pre><p><a
href="http://www.aliveagainapparel.com" target="_blank" style="background: #333; padding: 10px 20px; display:block;">LIVE DEMO</a></p><h1>The Final Product and Plug <img
src='http://www.threestyles.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></h1><p>If you hadn&#8217;t guessed already Alive Again Apparel is a <a
href="http://www.aliveagainapparel.com"  alt="Christian T-Shirts" title="Christian T-Shirts">Christian T-Shirt</a> Business I am starting and I wanted to walk you through my process of creating a coming soon page that can be seen <a
href="http://www.aliveagainapparel.com">here.</a></p><p>Please keep a look out for the launch of our <a
href="http://aliveagainapparel.com" alt="Christian T-Shirts" title="Christian T-Shirts">Christian T-Shirt</a> Business and be sure to follow us on twitter to keep up to date with the progress <a
href="http://www.twitter.com/AliveAgainApprl" target="_blank">@AliveAgainApprl</a></p> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/design-and-code-custom-coming-soon-page/feed/</wfw:commentRss> <slash:comments>24</slash:comments> </item> <item><title>HTML5 Rocks My Socks Off</title><link>http://www.threestyles.com/tutorials/html5-rocks-my-socks-off/</link> <comments>http://www.threestyles.com/tutorials/html5-rocks-my-socks-off/#comments</comments> <pubDate>Thu, 11 Mar 2010 15:16:32 +0000</pubDate> <dc:creator>Shane Jeffers</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[HTML5 dictionary]]></category> <category><![CDATA[HTML5 tutorial]]></category> <category><![CDATA[New HTML5 Elements]]></category> <category><![CDATA[Ultimate Guide to HTML5]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=1395</guid> <description><![CDATA[HTML5 and CSS3 are now able to be used in most modern browsers. You might be thinking to yourself why should I use such new technologies that don&#8217;t have complete cross browser compatibility? The answer to that is simple. As with any job pushing your technical skills in your field will always help you to [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.threestyles.com/tutorials/html5-rocks-my-socks-off/" alt="HTML5 Rocks My Socks Off" title="HTML5 Rocks My Socks Off"><img
src="http://www.threestyles.com/wp-content/uploads/2010/03/html5.png" alt="" title="HTML5 Rocks My Socks Off" width="540" height="250" class="alignnone size-full wp-image-1419" /></a><br
/></p><p>HTML5 and CSS3 are now able to be used in most modern browsers.  You might be thinking to yourself why should I use such new technologies that don&#8217;t have complete cross browser compatibility?  The answer to that is simple.</p><p><span
id="more-1395"></span></p><p>As with any job pushing your technical skills in your field will always help you to become a more well-rounded person.  Sure HTML5 isn&#8217;t widely supported and is vastly changing, but taking the time to learn it and follow it&#8217;s changes will surely help you to be more prepared when the technology is finally ready.</p><h1>HTML5 New Tags</h1><ol
id="html5"><li><a
href="#doctype">DOCTYPE</a></li><li><a
href="#charset">Charset</a></li><li><a
href="#header-post">Header</a></li><li><a
href="#nav-post">Nav</a></li><li><a
href="#aside">Aside</a></li><li><a
href="#article">Article</a></li><li><a
href="#figure">Figure</a></li><li><a
href="#hgroup">Hgroup</a></li><li><a
href="#section">Section</a></li><li><a
href="#address">Address</a></li><li><a
href="#footer-post">Footer</a></li></ol><h2 id="doctype">DOCTYPE</h2><p>The beautiful part about the new way to declare a DOCTYPE is that it&#8217;s so simple.  It takes one line of code and 15 characters,  no more long DOCTYPE s that are hard to remember.</p><pre class="brush: xml; title: ;">&lt;!DOCTYPE html&gt;</pre><h2 id="charset">CHARSET</h2><p>This is a simplified version of the charset property which also helps you to memorize this bit of code.</p><pre class="brush: xml; title: ;">&lt;meta charset=&quot;utf-8&quot;&gt;
</pre><h2 id="header-post">HEADER</h2><p>The new header element was created to contain the introductory information of your site.</p><blockquote><p
style="margin-top: 0px;">A header element is intended to usually contain the section&#8217;s heading (an h1–h6 element or an hgroup element), but this is not required. The header element can also be used to wrap a section&#8217;s table of contents, a search form, or any relevant logos.</p></blockquote><p>The header element will usually contain the primary navigation of your website.  Here is an example below of a semantic header section.</p><pre class="brush: xml; title: ;">
&lt;header&gt;
      &lt;nav&gt;
            &lt;ul&gt;
                  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;About Us&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
      &lt;/nav&gt;
&lt;/header&gt;
</pre><h2 id="nav-post">NAV</h2><p>Normally when creating a site in XHTML I either use a div that has the class of NAV or I give the UL the ID of nav.  The new NAV element allows you to section off your navigation.</p><blockquote><p>The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links.</p></blockquote><p>As you saw in the above example the  NAV element is being used in the HEADER section which is not necessary but semantic.</p><pre class="brush: xml; title: ;">
 &lt;nav&gt;
     &lt;ul&gt;
         &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href=&quot;#&quot;&gt;About Us&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
     &lt;/ul&gt;
&lt;/nav&gt;
</pre><h2 id="aside">ASIDE</h2><p>The new ASIDE element is a bit confusing.  It should only be used when it is related to the content around it, but is considered different from it.  The official definition from W3C is below.</p><blockquote><p>The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography</p></blockquote><p>In the example below I used the new ASIDE element as a featured section of the website.  It is still related to the content on the page but is &#8220;Featured&#8221; so the ASIDE element works.</p><pre class="brush: xml; title: ;">
&lt;aside&gt;
         &lt;p&gt;This is some featured content that works well with the new ASIDE element&lt;/p&gt;
&lt;/aside&gt;
</pre><h2 id="article">ARTICLE</h2><p>The ARTICLE element is used for content that is intended to be distributed or reusable.</p><blockquote><p>The article element represents a component of a page that consists of a self-contained composition in a document, page, application, or site and that is intended to be independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.</p></blockquote><p>The documentation also addresses when to nest the ARTICLE element in your HTML.</p><blockquote><p>When article elements are nested, the inner article elements represent articles that are in principle related to the contents of the outer article. For instance, a blog entry on a site that accepts user-submitted comments could represent the comments as article elements nested within the article element for the blog entry.</p></blockquote><p>Inside of the ARTICLE element you can use HEADER and FOOTER elements to separate the content in your article.</p><pre class="brush: xml; title: ;">
&lt;article&gt;
   &lt;header&gt;
      &lt;h2&gt;Article Title&lt;/h2&gt;
      &lt;p&gt;&lt;time pubdate datetime=&quot;2010-3-09T14:28-08:00&quot;&gt;&lt;/time&gt;&lt;/p&gt;
   &lt;/header&gt;
   &lt;p&gt;This is the main content of the article that is not in the header or the footer of the article.&lt;/p&gt;
   &lt;footer&gt;
      &lt;a href=&quot;#&quot;&gt;Show Comments&lt;/a&gt;
   &lt;/footer&gt;
&lt;/article&gt;
</pre><h2 id="figure">FIGURE</h2><p>The FIGURE element allows you to have an element that is separate from the content its in and has an optional caption.</p><blockquote><p>The figure element represents some flow content, optionally with a caption, that is self-contained and is typically referenced as a single unit from the main flow of the document.</p></blockquote><pre class="brush: xml; title: ;">
&lt;figure&gt;
   &lt;img src=&quot;figure.jpg&quot; alt=&quot;figure image&quot; /&gt;
   &lt;figcaption&gt;This is a figure&lt;/figcaption&gt;
&lt;/figure&gt;
</pre><h2 id="hgroup">HGROUP</h2><p>The HGROUP element allows you to group heading tags together in essence giving the section more weight.</p><blockquote><p>The hgroup element represents the heading of a section. The element is used to group a set of h1–h6 elements when the heading has multiple levels, such as subheadings, alternative titles, or taglines.</p></blockquote><pre class="brush: xml; title: ;">
&lt;hgroup&gt;
   &lt;h1&gt;Main Title&lt;/h1&gt;
   &lt;h2&gt;Subtitle&lt;/h2&gt;
&lt;/hgroup&gt;
</pre><h2 id="section">SECTION</h2><p>The SECTION element allows you to section off content that is nested within content.  This is a complicated one because you need to know when to use ARTICLE or the regular DIV tag.</p><blockquote><p>The section element represents a generic document or application section. A section, in this context, is a thematic grouping of content, typically with a heading. Examples of sections would be chapters, the various tabbed pages in a tabbed dialog box, or the numbered sections of a thesis. A Web site&#8217;s home page could be split into sections for an introduction, news items, contact information.</p></blockquote><pre class="brush: xml; title: ;">
&lt;article&gt;
   &lt;hgroup&gt;
   &lt;h1&gt;Main Title&lt;/h1&gt;
   &lt;h2&gt;Subtitle&lt;/h2&gt;
   &lt;hgroup&gt;
   &lt;p&gt;This is a description of this main section&lt;/p&gt;
   &lt;section&gt;
   &lt;h1&gt;Category 1&lt;/h1&gt;
   &lt;p&gt;Description of category 1&lt;/p&gt;
   &lt;/section&gt;
   &lt;section&gt;
   &lt;h1&gt;Category 2&lt;/h1&gt;
   &lt;p&gt;Description of category 2&lt;/p&gt;
   &lt;/section&gt;
&lt;/article&gt;
</pre><h2 id="address">ADDRESS</h2><p>The ADDRESS element is used specifically for contact information.   Not just site wide contact information but could be per page or per node.  This tag is NOT ONLY for a Physical Address it can hold other information.</p><blockquote><p>The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole.</p></blockquote><pre class="brush: xml; title: ;">
&lt;address&gt;
 &lt;a href=&quot;#&quot;&gt;Joe Bob&lt;/a&gt;,
 &lt;a href=&quot;#&quot;&gt;Matt Smith&lt;/a&gt;,
 &lt;a href=&quot;#&quot;&gt;Contact Info Related to this page&lt;/a&gt;
&lt;/address&gt;
</pre><h2 id="footer-post">FOOTER</h2><p>The FOOTER element is used specifically for sectioning content at the end of a specific section of content.  This tag could be used at the end of an article not just as the main footer for your site.</p><blockquote><p>The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.</p></blockquote><pre class="brush: xml; title: ;">
&lt;article&gt;
 &lt;header&gt;
    &lt;h1&gt;Post Title&lt;/h1&gt;,
 &lt;/header&gt;
    &lt;p&gt;This is the post content&lt;/p&gt;
 &lt;footer&gt;
   &lt;p&gt;Comments: 8&lt;/p&gt;
 &lt;/footer&gt;
&lt;/article&gt;
</pre><h1>Enabling HTML5 Elements</h1><p>In order to use these new tags currently you will need to display them block in your CSS, because the browsers don&#8217;t really know how to handle them.</p><pre class="brush: css; title: ;">
header, nav, article, section, footer, figure, aside {
    display: block;
}
</pre><p>Well that&#8217;s it for this tutorial on HTML5 if you enjoyed it please promote it to all the social networks you can at the bottom of this page.  Start coding for HTML5 now and you will be ready when the switch is finally made.</p><p>For more information on HTML visit the W3C documentation <a
href="http://www.w3.org/TR/html5/semantics.html" target="_blank">here</a></p> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/html5-rocks-my-socks-off/feed/</wfw:commentRss> <slash:comments>74</slash:comments> </item> <item><title>Three Styles Half Birthday Giveaway!</title><link>http://www.threestyles.com/tutorials/three-styles-half-birthday-giveaway/</link> <comments>http://www.threestyles.com/tutorials/three-styles-half-birthday-giveaway/#comments</comments> <pubDate>Wed, 17 Feb 2010 17:55:47 +0000</pubDate> <dc:creator>Shane Jeffers</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[grafpedia giveaway]]></category> <category><![CDATA[happy birthday three styles]]></category> <category><![CDATA[three styles giveaway]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=1326</guid> <description><![CDATA[I am very excited to announce that Three Styles is now 6 Months old. I would like to take this time to thank all of the faithful subscribers I could not do this with out you. It has been an exciting 6 months to say the least. At first it was just an idea for [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.stumbleupon.com/su/1bTips/www.threestyles.com/tutorials/three-styles-half-birthday-giveaway/"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/threestyles.png" alt="" title="Three Styles Half Birthday Giveaway" width="540" height="250" class="alignnone size-full wp-image-1342" /></a><br
/> <br
/> I am very excited to announce that Three Styles is now <strong>6 Months</strong> old.  I would like to take this time to thank all of the faithful subscribers I could not do this with out you.  It has been an exciting 6 months to say the least.  At first it was just an idea for me to improve my skill and now it has turned into something I could have never imagined.<br
/> <span
id="more-1326"></span></p><h1>The Giveaway</h1><p>One lucky winner will receive a GRAFPEDIA vip account for one year with Commercial license.  This will give you access to Photoshop Gradients, Vector Patters, Layer Styles, Stock Images and much more.  The winner will be announced on March 2nd.</p><h3 style="font-size: 20px;">The total value of this account is $199</h3><h2>How to Enter</h2><ol><li>First and foremost <strong>you must</strong> Follow Grafpedia on <a
href="http://twitter.com/grafpedia" target="_blank">Twitter</a> <strong>or</strong> be a fan on <a
href="http://www.facebook.com/pages/Grafpedia/276142955209" target="_blank">Facebook</a></li><li>Secondly <strong>you must</strong> comment on this post saying what you would use it for.</li><li>Third (This one is optional) subscribe to Three Styles <a
href="http://feeds.feedburner.com/ThreeStyles">RSS Feed</a> or Follow us on <a
href="http://www.twitter.com/ThreeStyles">Twitter</a>.  Remember this is optional, the first two ARE NOT OPTIONAL.</li></ol><p><a
href="http://www.grafpedia.com"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/grafpedia-550.jpg" alt="" title="grafpedia-550" width="550" height="402" class="alignnone size-full wp-image-1329" /></a></p><h1>A Big Thanks Too</h1><p>I want to send out a huge thank you to Grafpedia for making this giveaway possible!</p><h2>Blogger Friends</h2><p>This is a list of bloggers that have really helped Three Styles make it to where it is today.  I can&#8217;t thank you all enough.</p><ul
style="margin-left:20px; margin-top: 10px;"><li><a
href="http://www.circleboxblog.com">Callum Chapman &#8211; Circleboxblog</a></li><li><a
href="http://www.sixrevisions.com">Jacob Gube &#8211; Six Revisions</a></li><li><a
href="http://addtodesign.com/">Mat Carpenter &#8211; Add To Design</a></li><li><a
href="http://www.catswhocode.com">Jean-Baptiste Jung &#8211; Cats Who Code</a></li><li><a
href="http://www.visualswirl.com">Chris Thurman &#8211; Visual Swirl</a></li></ul><p>There are many more, but I can&#8217;t list everyone.  Thank you so much for all of your votes and bumps and I look forward to doing even greater things in the future. Good luck with the giveaway the winner will be announced on March 1st.</p> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/three-styles-half-birthday-giveaway/feed/</wfw:commentRss> <slash:comments>38</slash:comments> </item> <item><title>10 Applications, Utilities, and Tech-Tools for Remote Working</title><link>http://www.threestyles.com/tutorials/10-applications-utilities-and-tech-tools-for-remote-working/</link> <comments>http://www.threestyles.com/tutorials/10-applications-utilities-and-tech-tools-for-remote-working/#comments</comments> <pubDate>Tue, 02 Feb 2010 16:30:57 +0000</pubDate> <dc:creator>Mathew Carpenter</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[how to work from home]]></category> <category><![CDATA[remote workflow applications]]></category> <category><![CDATA[remote working]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=1272</guid> <description><![CDATA[Being a successful remote designer isn&#8217;t quite as simple as hopping onto a plane with your notebook. From poor internet access to baggage restrictions, there are hundreds of potential problems that can plague a remote design business. These ten tools, applications, and utilities are out attempt to solve those problems through technology. Check &#8216;em out, [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.threestyles.com/tutorials/10-applications-utilities-and-tech-tools-for-remote-working/"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/10app.png" alt="" width="540" height="250" class="alignnone size-full wp-image-1270" /></a></p><p></p><p>Being a successful remote designer isn&#8217;t quite as simple as hopping onto a plane with your notebook. From poor internet access to baggage restrictions, there are hundreds of potential problems that can plague a remote design business. These ten tools, applications, and utilities are out attempt to solve those problems through technology. Check &#8216;em out, incorporate them into your mobile office, and keep your business rolling while you&#8217;re out of the office.</p><p><span
id="more-1272"></span></p><h2>1.	Western Digital My Passport Portable HD</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/wd.jpg" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/wd.jpg" alt="" width="540" height="200" class="alignnone size-full wp-image-1259" /></a></p><p>Most portable hard drives are big, ugly, and prone to damage from even the most gentle bump. The Western Digital My Passport Portable HD is small enough to fit in your shirt pocket, big enough to store all of your music and movies, and fast enough to stream data straight to your media player. If you like having all of your data available when you&#8217;re working out of hotel rooms, this is the portable drive to pick.</p><p>Alternatively, for designers that only need a small amount of remote storage, why not keep your important information on an encrypted thumb drive? This option is perfect for designers that are stuck working from internet cafes and other people&#8217;s PCs.</p><h2>2.	Canon PowerShot G11</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/camera.jpg" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/camera.jpg" alt="" width="540" height="250" class="alignnone size-full wp-image-1260" /></a></p><p>No, it won&#8217;t take photos as clear and crisp as a 5D Mk II, but it is great for on-the-move photography. As much as we all wish online work involved 100% online paperwork, there&#8217;s always the occasional offline invoice, contract, or NDA that requires scanning and submission. Instead of taking a portable scanner with you everywhere, using a good digital camera to &#8216;scan&#8217; documents can save time and a ton of storage space. The G11 has a flip-out LCD screen, awesome low-light shooting capabilities, and a slim form factor, making it the perfect remote &#8216;scanner&#8217; and camera for designers.</p><h2>3.	Deuter Futura 28 Backpack</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/case.jpg" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/case.jpg" alt="" width="540" height="475" class="alignnone size-full wp-image-1261" /></a></p><p>Most notebook bags are terrible for long-term travel, or even a quick weekend away. Remote working is all about maximizing options, and the Deuter Futura 28 is perfect for designers, developers, and remote professionals that need a versatile backpack. Two pockets means more space for your notebook, spare hard drive, or even a graphics tablet.  The Deuter Futura 28 has a built-in rain cover, which can save you having to worry about expensive design gear getting water damaged. Hat-tip to Tynan for the recommendation.</p><h2>4.	Bamboo Fun Graphics Tablet</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/tablet.jpg" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/tablet.jpg" alt="" width="540" height="300" class="alignnone size-full wp-image-1262" /></a></p><p>Big tablets are always ideal, especially for ultra-detailed designs and illustration work. The only problem is that they&#8217;re annoying to lug around in a backpack, especially when you&#8217;re already carrying a notebook and other equipment. The Bamboo Fun Graphics Tablet is small enough to slide into the front pocket of your backpack, and powerful enough to be used for professional design projects. It runs on USB power, which means there are no batteries to worry about. As much as we wish it was wireless, the no-battery USB charger makes the wire worth it this time.</p><h2>5.	TimeSvr</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/timesvr.jpg" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/timesvr.jpg" alt="" width="540" height="375" class="alignnone size-full wp-image-1263" /></a></p><p>How much time do you think you could save with a virtual secretary? TimeSvr lets you make the most of an online assistant, without ever having to worry about managing freelancers, paying wages, or any other administrative tasks. For just $69 per month, TimeSvr gives you access to a digital assistant, who can help with managing emails, finding potential clients, and even researching your competitors. Save time on trivial tasks and focus on the most important aspects of your work when you&#8217;re out of the office.</p><h2>6.	Google Applications</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/google.jpg" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/google.jpg" alt="" width="540" height="200" class="alignnone size-full wp-image-1264" /></a></p><p>Short of setting up a remote PC connection, there&#8217;s no easier way to access your documents from anywhere than with Google Docs. While the interface certainly isn&#8217;t perfect and the applications don&#8217;t compare to MS Office, or even Open Office, Google Docs lets you easily share documents with coworkers and freelancers, and even access your own files from anywhere with an internet connection. Don&#8217;t expect to design a high quality presentation (leave that to Prezi instead) but do expect to make accessing work much more simple.</p><h2>7.	Skype</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/skype.jpg" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/skype.jpg" alt="" width="540" height="300" class="alignnone size-full wp-image-1265" /></a></p><p>If you&#8217;re frequently traveling to different countries while you work, managing multiple sim cards can get difficult. Skype is great for video conferencing with clients, getting low-cost phone calls out of the way, and managing multiple phone numbers. Instead of listing five different cellphones on your business card, set up SkypeIn numbers and SkypeOut credit and take calls from anywhere on earth with a single phone number.</p><h2>8.	Mobile 3G Modem</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/modem.jpg" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/modem.jpg" alt="" width="540" height="300" class="alignnone size-full wp-image-1266" /></a></p><p>When there&#8217;s no Starbucks around for wireless, don&#8217;t panic. Most smartphones can easily tether to your notebook, providing a cheap and simple 3G access option. However, there are two situations that could make this difficult.</p><ol><li>You don&#8217;t have a tether-capable smartphone.</li><li>International 3G costs are high, and you need an option for local internet access.</li></ol><p>Make it easy by purchasing a USB 3G modem from your country&#8217;s phone provider. We&#8217;ve linked to an unlocked modem on Amazon, but in reality it&#8217;s often easiest to just to go your calling plan provider (especially in a foreign country) and ask what they&#8217;d recommend.</p><h2>9.	LeechBlock for Firefox</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/leechblock.jpg" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/leechblock.jpg" alt="" width="540" height="429" class="alignnone size-full wp-image-1267" /></a></p><p>You&#8217;re in a cheap hotel room, desperate to get your work finished so that you can go out and explore. All the while, thousands of online distractions are keeping your attention on something other than your work.</p><p>Changing work behavior is hard, especially when you&#8217;re in an unfamiliar location. Instead of trying to fight with discipline, install LeechBlock, create a list of distracting websites, and block them out for solid, distraction-free working periods. Create site profiles for optimum design productivity, uninterrupted research, and even single-purpose batched tasks.</p><h2>10.	QuickerTek Extended Macbook Battery</h2><p><a
href="http://www.threestyles.com/wp-content/uploads/2010/02/quickertech.png" rel="wp-prettyPhoto[g1272]"><img
src="http://www.threestyles.com/wp-content/uploads/2010/02/quickertech.png" alt="" width="540" height="192" class="alignnone size-full wp-image-1268" /></a></p><p>Note: If you&#8217;ve got a Windows-based notebook, your manufacturer probably has something similar that you can plug in for an additional ~5 hours of battery life.</p><p>Perfect for long bus trips and long-distance flights, this extended plug-in battery lets you almost double your battery life and dramatically increase the amount of work you can get done on the road. Flights are the best time to get grunt work done – there&#8217;s little else to do, so take advantage of the opportunity cost – and even with a 7-hour battery, your notebook is still unlikely to cover the distance on its own. Plug this baby in and enjoy extended battery life, awesome mobile productivity, and great work results.</p> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/10-applications-utilities-and-tech-tools-for-remote-working/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>The Ultimate Guide to CSS Typography</title><link>http://www.threestyles.com/tutorials/css-tips-for-better-typography/</link> <comments>http://www.threestyles.com/tutorials/css-tips-for-better-typography/#comments</comments> <pubDate>Wed, 13 Jan 2010 15:18:08 +0000</pubDate> <dc:creator>Shane Jeffers</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[CSS font attributes]]></category> <category><![CDATA[CSS typography tips]]></category> <category><![CDATA[CSS3 and Fonts]]></category> <category><![CDATA[CSS3 and typography]]></category> <category><![CDATA[great looking typography]]></category> <category><![CDATA[the font attribute]]></category> <category><![CDATA[typography on the web]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=993</guid> <description><![CDATA[Typography is often overlooked in todays design specifically by web developers. It really is a shame because CSS gives us so much control over our type. That being said, we our limited to certain &#8220;web safe&#8221; typefaces but that shouldn&#8217;t decrease our creativity. Here are a few CSS tips for typography on the web. The [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.threestyles.com/tutorials/css-tips-for-better-typography/"><img
src="http://www.threestyles.com/wp-content/uploads/2010/01/main2.png" alt="" title="Ultimate Guide to text" width="540" height="250" class="alignnone size-full wp-image-1198" /></a></p><p></p><p>Typography is often overlooked in todays design specifically by web developers.  It really is a shame because CSS gives us so much control over our type.  That being said, we our limited to certain &#8220;web safe&#8221; typefaces but that shouldn&#8217;t decrease our creativity.  Here are a few CSS tips for typography on the web.</p><p><span
id="more-993"></span></p><h1>The Font Attribute</h1><p>CSS provides us with the Font attribute, which is what allows us to tweak the text on our page.  This is an overview of the syntax and how to effect text using CSS.</p><h2 style="margin-top: 30px;">Font-size</h2><p
style="margin-top: 0px;">Change the size of your font using <em>font-size</em></p><pre class="brush: css; title: ;">
     font-size: 1.2em;
     font-size: 12px;
     font-size: 10pt;
</pre><h5 style="margin-top: 10px;">Live Preview</h5><ol
style="background: #f5f5f5; padding: 20px 0px 20px 30px; border: 1px solid #ddd;"><li
style="font-size: 1.2em;">Font size is set to 1.2em.</li><li
style="font-size: 12px;">Font size is set to 12px.</li><li
style="font-size: 10pt;">Font size is set to 10pt.</li></ol><h2 style="margin-top: 30px;">Font-weight</h2><p
style="margin-top: 0px;">This is used to change the weight of your font (i.e bold, bolder)</p><pre class="brush: css; title: ;">
     font-weight: normal;
     font-weight: bold;
     font-weight: bolder;
     font-weight: lighter;
</pre><h5>Live Preview</h5><ol
style="background: #f5f5f5; padding: 20px 0px 20px 30px; border: 1px solid #ddd;"><li
style="font-weight: normal;">Font weight is set to normal</li><li
style="font-weight: bold;">Font weight is set to bold</li><li
style="font-weight: bolder;"><strong>Font weight is set to bolder</strong></li><li
style="font-weight: lighter;"><strong>Font weight is set to lighter</strong></li></ol><h2 style="margin-top: 30px;">Text-transform</h2><p
style="margin-top: 0px;">The text-transform property allows you to apply uppercase, lowercase, and capitalize effects to your text.</p><pre class="brush: css; title: ;">
     text-transform: capitalize;
     text-transform: uppercase;
     text-transform: lowercase;
     text-transform: inherit;
</pre><h5>Live Preview</h5><ol
style="background: #f5f5f5; padding: 20px 0px 20px 30px; border: 1px solid #ddd;"><li
style="text-transform: capitalize;">Capitalizes the first letter in every word</li><li
style="text-transform: uppercase;">Allows your html to be lower case the converts it all to uppercase characters</li><li
style="text-transform: lowercase;">ALLOWS YOUR HTML TO BE UPPERCASE THEN CONVERTS IT TO LOWERCASE, THIS WAS TYPED IN ALLCAPS</li><li
style="text-transform: inherit;">inherits the text-transform property from its parent element</li></ol><h2 style="margin-top: 30px;">Text-decoration</h2><p
style="margin-top: 0px;">The text-decoration property allows you to underline, overline and put a line through your text</p><pre class="brush: css; title: ;">
     text-decoration: normal;
     text-decoration: underline;
     text-decoration: overline;
     text-decoration: line-through;
     text-decoration: blink; (DO NOT USE)
</pre><h5>Live Preview</h5><ol
style="background: #f5f5f5; padding: 20px 0px 20px 30px; border: 1px solid #ddd;"><li
style="text-decoration: normal;">Text decoration set to normal</li><li
style="text-decoration: underline;">Text decoration set to underline</li><li
style="text-decoration: overline;">Text decoration set to overline</li><li
style="text-decoration: line-through;">Text decoration set to line-through</li><li
style="text-decoration: blink;">Text decoration set to blink ( Only works in Firefox and Opera )</li></ol><h2 style="margin-top: 30px;">Font-Variant</h2><p
style="margin-top: 0px;">The Font variant property allows you to create the small-caps effect which capitalizes the letters then decreases the font size.</p><pre class="brush: css; title: ;">
     font-variant: normal;
     font-variant: small-caps;
     font-variant: inherit;
</pre><h5>Live Preview</h5><ol
style="background: #f5f5f5; padding: 20px 0px 20px 30px; border: 1px solid #ddd;"><li
style="font-variant: normal;">Font Variant set to normal</li><li
style="font-variant: small-caps;">Font Variant set to small-caps</li><li
style="font-variant: inherit;">Font variant set to inherit</li></ol><h1>Creating Drop Caps</h1><p
style="margin-top: 0px;">Creating drop caps is easy with CSS.  There are multiple ways to create the drop cap effect but I am going to show the most efficient way.  To create them use the :first-letter pseudo-element which only effects the first character of a given element.</p><pre class="brush: xml; title: ;">&lt;p class=&quot;dropcaps&quot;&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.&lt;/p&gt;</pre><pre class="brush: css; title: ;">
p.dropcaps:first-letter {
      	font-size: 340%;
	margin: 8px 5px 0px 0px;
	float: left;
	font-weight: bold;
	width: 1em;
}
</pre><p
class="dropcaps">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p><h1>Creating Attractive Paragraphs</h1><p
style="margin-top:0px;">For more attractive paragraphs use Robert Bringhurst’s method which states: Take your font size and multiply it by 30 to get the width of your paragraphs.</p><p>For example if your font size is 12px, multiply it by 30 and you get 360px which should get you approximately 65 characters per line.</p><h2>Incorrect Measure</h2><p
style="font-size: 12px; width: 200px; margin-top: 5px;"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p><h2>Correct Measure</h2><p
style="font-size: 12px; width: 400px; margin-top: 5px;"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p><h1>Line-height Examples</h1><p
style="margin-top:0px;">Line height dictates the amount of space in between each line of text.  A good rule of thumb is to make the line height 6-7px bigger than your font-size.</p><p>For example if your font size is 12px, add 6px to the font size and you get your line height, which would be 18px.</p><h2>Incorrect Line-Height</h2><p
style="font-size: 12px; width: 400px; margin-top: 5px; line-height: 12px;"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p><h2>Correct Line-Height</h2><p
style="font-size: 12px; width: 400px; margin-top: 5px; line-height: 18px;"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p><h1>Cleanly Emphasize Text</h1><p
style="margin-top:0px;">Underlines should only be used on text that is linking to something or somewhere.  Italicizing text is a cleaner alternative.</p><h2>Incorrect example</h2><p
style="font-size: 12px; width: 400px; margin-top: 5px;"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an <strong>unknown printer</strong> took a galley of type and scrambled it to make a type specimen book. It has survived not only <strong>five centuries</strong>, but also the leap into <strong>electronic typesetting</strong>, remaining essentially unchanged.</p><h2>Correct example</h2><p
style="font-size: 12px; width: 400px; margin-top: 5px;"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an <em>unknown printer</em> took a galley of type and scrambled it to make a type specimen book. It has survived not only <em>five centuries</em>, but also the leap into <em>electronic typesetting</em>, remaining essentially unchanged.</p><h1>Looking forward &#8211; CSS3</h1><p>There are already some exciting features that you can incorporate into your designs dealing with type in CSS3. Of course some of these new features do not work in IE, but your probably used to nothing working in IE anyway so give these a shot.</p><h2>@Font-face</h2><p><em>@font-face</em> allows you to upload a raw font file to your web server and link to it in your external CSS file, then apply it to any type on your site.</p><p>This feature is the biggest one dealing with type, but along with it&#8217;s upside comes its downside.  There are only a few fonts that you are &#8220;allowed&#8221; to use because of licensing issues. The fonts that are <a
href="http://webfonts.info/wiki/index.php?title=Fonts_available_for_%40font-face_embedding" target="_blank">CSS3 safe can be found here</a>.</p><h3>Usage of @font-face</h3><p>In this example I put a folder in the root of my server called <em>font</em>.  First you need to declare the @font-face attribute which imports your font file and then you can use the font name to effect any other elements.</p><pre class="brush: css; title: ;">
/* Declaring the font */

@font-face {
      src: (font/diavlo.otf)
}

/* Applying the font to an element */

h1 {
      font-family:  diavlo, Arial;
}
</pre><h2>Text-Shadow</h2><p>The text shadow attribute takes away the need to create drop shadows for certain elements in photoshop and gives you dynamic drop shadow control. Of course this attribute is only supported in Safari, Chrome, Firefox and Opera.</p><p
style="font-size: 2em; font-weight: bold; color: #777; text-shadow: 1px 1px 1px #222;">Example Heading</p><pre class="brush: css; title: ;">

p {
      font-size: 2em;
      font-weight: bold;
      color: #777;
      text-shadow: 1px 1px 1px #222;
}
</pre><p
style="font-size: 2em; font-weight: bold; color: #777; text-shadow: 2px 2px 2px #222; margin-top: 35px;">Example Heading 2</p><pre class="brush: css; title: ;">

p {
      text-shadow: 2px 2px 2px #222;
}
</pre><p
style="font-size: 2em; font-weight: bold; color: #FFF; text-shadow: 1px 1px 5px #222; margin-top: 35px;">Example Heading 3</p><pre class="brush: css; title: ;">

p {
      text-shadow: 1px 1px 5px #FFF;
}
</pre><h1>The Challenge</h1><p>The techniques in this article are just guidelines. Take them and implement the features you like into your web designs. Typography is extremely important and can absolutely ruin a beautiful design.  Don&#8217;t let that happen to you bookmark this guide!</p> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/css-tips-for-better-typography/feed/</wfw:commentRss> <slash:comments>55</slash:comments> </item> <item><title>Design a gradient-inspired Web Design in Photoshop</title><link>http://www.threestyles.com/tutorials/design-a-gradient-inspired-web-design-in-photoshop/</link> <comments>http://www.threestyles.com/tutorials/design-a-gradient-inspired-web-design-in-photoshop/#comments</comments> <pubDate>Mon, 21 Dec 2009 02:23:22 +0000</pubDate> <dc:creator>Shane Jeffers</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Create a web design layout in photoshop]]></category> <category><![CDATA[Photoshop web design layout tutorial]]></category> <category><![CDATA[web design from scratch]]></category> <category><![CDATA[wordpress blog design]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=1027</guid> <description><![CDATA[In this photoshop tutorial you will learn how to create a blog design from scratch using a combination of gradients and selections. Here is a preview of what we will be creating Photoshop Document Size 1. Lets begin by creating a new photoshop document &#8211; File > New with a width of 900px and a [...]]]></description> <content:encoded><![CDATA[<div
id="layout-tut"> <a
href="http://www.threestyles.com/tutorials/design-a-gradient-inspired-web-design-in-photoshop/"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/layoutmain.jpg" alt="" title="layoutmain" width="550" height="250" class="alignright size-full wp-image-1081" /></a></p><p></p><p>In this photoshop tutorial you will learn how to create a blog design from scratch using a combination of gradients and selections.</p><p><span
id="more-1027"></span></p><p>Here is a preview of what we will be creating</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/final.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/finalsmall.jpg" alt="" title="Final Complete Layout" width="550" height="733" class="alignright size-full wp-image-1076" /></a></p><h1>Photoshop Document Size</h1><p>1. Lets begin by creating a new photoshop document &#8211; <strong>File > New with a width of 900px and a height of 1200px</strong>.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen1.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen1.jpg" alt="" title="Photoshop Document Size" width="550" height="340" class="alignright size-full wp-image-1029" /></a></p><h1>Building the Header Section</h1><p>2.  Choose your Rectangular Marquee tool ( Shortcut Key: M ) and put in the following options below.  Feathering to 0px, then choose the drop down menu and pick Fixed Size.  Set the <strong>width to 900px and the height to 80px</strong> as this will be the width and height of our header.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen2.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen2.jpg" alt="" title="screen2" width="550" height="250" class="alignright size-full wp-image-1030" /></a></p><p>3.  Click and hold near the top of the document and a selection should appear.  Move the selection to the very top as shown in the demo below.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen3.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen3.jpg" alt="" title="Photoshop Selection" width="550" height="230" class="alignright size-full wp-image-1031" /></a></p><p>4.  Next create a new layer by going to <strong>Layer > New > Layer&#8230;</strong> Name the layer Header,  Then go to <strong>Edit > Fill</strong> and in the first drop down choose color&#8230;  Add in the hex code <strong>#7a6c5a</strong> make sure before you do this that you are selected on the new layer we just created.  If you are on the background image we could have issues later on. Press ok and it should fill your selection with a dark brown.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen4.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen4.jpg" alt="" title="Photoshop Color Picker" width="550" height="381" class="alignright size-full wp-image-1032" /></a></p><p>5.  Next we are going to add a little shadow to the bottom of the header.  Go to your layers palette where all of your layers are stored and Command + Click (mac) Control + Click (PC) on the thumbnail of the Header layer.  That will bring up a selection of that layer.  After we click and the selection is made create a new layer then head over and grab your gradient tool.  Make sure in the gradient picker you choose the Foreground to Transparent gradient.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen5.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen5.jpg" alt="" title="Photoshop Gradient" width="384" height="250" class="alignright size-full wp-image-1033" /></a></p><p>6.  With the selection still active and black set as your foreground color start about 20 pixels below the header and click and drag up while holding down the shift key ( keeps the line straight ) release the mouse button at approximately halfway up the header.  Rename this layer Header Shadow.  Change the blending mode to soft light and adjust the opacity as you see fit.  I set my opacity to 78%.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen6.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen6.jpg" alt="" title="Header Gradient" width="550" height="236" class="alignright size-full wp-image-1034" /></a></p><h1>Now Lets do the Logo</h1><p>7.  Grab the Text Tool select <strong>Myriad Pro, Bold, 52pt, white</strong> and click near the upper left side of the header type in the title of your blog in this case &#8220;Blog Title&#8221;.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen7.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen7.jpg" alt="" title="Font Settings" width="550" height="150" class="alignright size-full wp-image-1035" /></a><br
/> ￼</p><p>8.  Go ahead and highlight the text by using the shortcut Command + A or Control + A then go up to <strong>Window > Character</strong> and set the <strong>tracking to -39</strong>.  See example below.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen8.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen8.jpg" alt="" title="Character Settings" width="281" height="250" class="alignright size-full wp-image-1036" /></a></p><p>9.  Once you have fixed the tracking right-click on the Blog Title layer and choose Blending Options&#8230; Add a drop shadow with the figures from below.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen9.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen9.jpg" alt="" title="Layer Style Menu" width="550" height="317" class="alignright size-full wp-image-1037" /></a></p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/blogtitle.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/blogtitle.jpg" alt="" title="blogtitle" width="540" height="205" class="alignright size-full wp-image-1038" /></a></p><h1>Creating the Navigation</h1><p>10.  First lets start off by bring in some guides bring a guide in from the top to about 2 pixels underneath your logo.  Then drag in a guide from the left and have it stop right at the 6 on the top ruler of your document.  Drag out another guide from the left and increase each one by 1.25 inches which means this time it will stop at 7.25 the next one will be 8.5 etc&#8230;until you have five boxes for your navigation to go into.  Take a look at the below screenshot to see if it’s similar to mine.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen10.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen10.jpg" alt="" title="Guides" width="556" height="142" class="alignright size-full wp-image-1039" /></a></p><p>11.  After you have the guides in place get your text tool and choose Myriad Pro, Regular, 16pt, White and type Home in the first box.  It should be positioned just like in the screenshot above.  Finish the rest of the navigation items which are Tutorials, Freebies, Trends, and Contact and make sure they all fit in their box.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen11.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen11.jpg" alt="" title="Navigation Text" width="544" height="141" class="alignright size-full wp-image-1040" /></a></p><p>12.  Highlight all of your navigation items and press Command + G or Control + G to group them together and name them Nav. This will keep our photoshop file cleaner.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen12.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen12.jpg" alt="" title="Cleaning up layers palette" width="214" height="402" class="alignright size-full wp-image-1041" /></a></p><p>13.  Our next step is to add the active state of the navigation.  Go into the Nav group and create a new layer called active.  Drag that active layer underneath the Home text layer so that home will show up on top of it.</p><p>14.  With your guides still up select the Rounded Rectangle Tool and set the Radius at the top to 10px. Make sure in your toolbar at the top that FILL PIXELS is selected. Start at the 6 inch mark where home is, about 8px above home is where you will start on the 6 inch guide. Click and drag to the right until you hit the other guide and drag down so that it goes past the bottom of the header.  If that was confusing look at the screenshot below.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen13.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen13.jpg" alt="" title="Navigation active tab" width="550" height="205" class="alignright size-full wp-image-1042" /></a></p><p>15.  Grab your rectangle marquee tool, and make sure that at the top where you have the tool options that you set the style drop down box to normal instead of the fixed width.  Then drag out a selection around the part that hangs over the header and hit the delete or backspace key.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen14.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen14.jpg" alt="" title="Navigation Tab Selection" width="550" height="216" class="alignright size-full wp-image-1043" /></a></p><p>16.  Now we will create the outward curves at the bottom of the tab.  Grab your pen tool and make your first click on the left edge of the tab and then click and drag left at the bottom of the header while holding down shift until you get the desired curve let go and just click to complete the shape.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen16.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen16.jpg" alt="" title="Pen tool to make a curved edge in photoshop" width="550" height="233" class="alignright size-full wp-image-1044" /></a></p><p>17.  Now that we have the path drawn we need to create a new layer in our layers palette.  Then go to Paths and choose the “Fill path with Foreground Color” option.  After you have filled the color and you have your paths panel open click off of the current selected path by clicking in the gray area below, then go back to your layers palette.  Now in mine I have a little bit hanging over the header so I’ll grab my rectangular marguee tool and delete that.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen17.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen17.jpg" alt="" title="Fill the path" width="550" height="392" class="alignright size-full wp-image-1045" /></a></p><p>18.  Next we need to duplicate the layer we just made ( Command + J (Mac) Control + J (PC) ). Then we need flip it horizontally because we want to use it for the other side.  Go to <strong>Edit > Transform > Flip Horizontal</strong>.  Then press your “V” Key on your keyboard which selects the move tool and use your right arrow key to move that layer into position.  Once that layer is in position select all three layers in your layers palette and merge them down to one ( Highlight all of them then right click and choose Merge Layers).  Then be sure to move this layer under the Nav group so that the “Home” text shows through. Here is what we have so far.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen18.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen18.jpg" alt="" title="Navigation Tab not colored" width="550" height="224" class="alignright size-full wp-image-1046" /></a></p><p>19.  Now it’s time to give our tab some gradient action!  Right click on the tab layer and choose blending options. Click on the Gradient overlay option and copy the settings below</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen19.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen19.jpg" alt="" title="screen19" width="550" height="701" class="alignright size-full wp-image-1047" /></a></p><p>20.  Next we want to give a drop shadow to the tab to give it a little “Pop.”  Use the settings below.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen20.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen20.jpg" alt="" title="Drop Shadow Navigation Tab" width="550" height="492" class="alignright size-full wp-image-1048" /></a></p><p>21.  Now you may notice that the drop shadow is hanging below the header which we DO NOT want.  Here is a trick on how to get rid of a specific section of a layer style.  Click on the part that says Blending Options: Custom which is at the very top of our Blending Options dialog box.  Then in the Advanced Blending section check “Layer Mask Hides Effects.”</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen21.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen21.jpg" alt="" title="Layer Style and Layer Mask" width="550" height="444" class="alignright size-full wp-image-1049" /></a></p><p>22.  Now go ahead and add a layer mask to your tab <strong>Layer > Layer Mask > Reveal All</strong>.  Grab your rectangular marquee tool and draw a selection around the drop shadow that is hanging over the header.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen22.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen22.jpg" alt="" title="Almost Finished Nav Tab" width="550" height="217" class="alignright size-full wp-image-1050" /></a></p><p>23.  Once you have the selection like above go to <strong>Edit > Fill&#8230; and choose black as your color</strong>.  The reason we use black is because when using layer masks white reveals and black hides.</p><h1>Main Background Color</h1><p>24.  Now we are going to give our blog its main background color.  Head to the very bottom of your layers palette and find the layer called background.  If it has a lock by its name double click the lock and then press ok.  Then go up to <strong>Edit > Fill&#8230; > Color&#8230;</strong> and put in the hex code <strong>#e0ceb6</strong>.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen23.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen23.jpg" alt="" title="Color Choice" width="550" height="573" class="alignright size-full wp-image-1051" /></a></p><p>25.  We are going to add a highlight at the bottom of the header so that it gives the header a subtle separation from the body background.  While selected on your background layer create a new layer. Then grab your Single Row Marquee tool and click inside right underneath the header.  The correct selection should look like below.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen24.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen24.jpg" alt="" title="Small Highlight below the header" width="550" height="125" class="alignright size-full wp-image-1052" /></a></p><p>26.  Fill that selection with #f3ebe0 and you should get something like the below screenshot.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen25.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen25.jpg" alt="" title="Small Highlight to add depth" width="551" height="193" class="alignright size-full wp-image-1053" /></a></p><h1>On to the Content</h1><p>27.  First thing we want to do is clear all of our guides.  So go up to <strong>View > Clear Guides</strong>.  Now lets create two guides that will help us align our content correctly.  Go back up to <strong>View > New Guide&#8230; choose Vertical and give it a value of 25px and hit enter</strong>.  Repeat that process except this time put in 875px.  This gives us 25px of “<strong>padding</strong>” on each side.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen26.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen26.jpg" alt="" title="New Guides" width="549" height="252" class="alignright size-full wp-image-1054" /></a></p><p>28.  Lets create the box where the posts will be shown. Select the Rectangular Marquee tool and input the settings in the toolbar below.  Place the selection in the exact place as seen in the second screenshot.</p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen27.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen27.jpg" alt="" title="Selection properties" width="550" height="161" class="alignright size-full wp-image-1055" /></a></p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen28.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen28.jpg" alt="" title="Post content area" width="550" height="419" class="alignright size-full wp-image-1056" /></a></p><p>29.  Fill the selection with a color (I used white), then open your layer style menu and choose the gradient option and copy the settings below.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen29.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen29.jpg" alt="" title="Gradient Properties for post content" width="550" height="615" class="alignright size-full wp-image-1057" /></a></p><p>30.  While in the layer style menu add a stroke: 1px,  #887c6a (stroke color), outside.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen30.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen30.jpg" alt="" title="Post with gradient and border" width="550" height="377" class="alignright size-full wp-image-1058" /></a></p><p>31.  Now we will create a section for the post title to go into.  Grab the Rectangular marquee and use the settings below.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen31.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen31.jpg" alt="" title="Post selection" width="550" height="409" class="alignright size-full wp-image-1059" /></a></p><p>32.  Fill it with any color and copy the styles below to apply the gradient.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen32.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen32.jpg" alt="" title="Top post properties" width="550" height="666" class="alignright size-full wp-image-1060" /></a></p><p>33.  Now we can add a little highlight to separate the title from the preview content by using our rectangular marquee tool and setting the width to 550px and height to 1px.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen34.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen34.jpg" alt="" title="Post highlight" width="550" height="391" class="alignright size-full wp-image-1061" /></a></p><p>34.  Add a new layer and fill it with #f2e7d9.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen33.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen33.jpg" alt="" title="Post with highlight" width="550" height="389" class="alignright size-full wp-image-1062" /></a></p><p>35.  Take those three layers we just made and group them together and call them “Post.”  Duplicate them two times and evenly space them down the page like below.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen35.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen35.jpg" alt="" title="Main Layout with posts" width="550" height="653" class="alignright size-full wp-image-1063" /></a></p><h1>On to the sidebar</h1><p>36.  The sidebar will use a lot of the same values as we used for the post so this part should be short. I created a couple more guides to help me align the sidebar.  I placed one at the right edge of the post and then one 25px to the right of that.  This is great spacing because it means all of our elements have 25px in between each other which we want to keep consistent.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen36.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen36.jpg" alt="" title="Guides for the sidebar" width="507" height="450" class="alignright size-full wp-image-1064" /></a></p><p>37.  Now I can draw out my sidebar using the rectangular marquee tool set the rectangle marquee to the fixed size with a width of 275px and a height of 430px</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen37.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen37.jpg" alt="" title="Sidebar Selection" width="538" height="661" class="alignright size-full wp-image-1065" /></a></p><p>38.  Create a new layer and fill it with any color.  Copy the layer style from #29 earlier in the post and apply it to this new layer.<br
/> Draw out a selection at the top of the sidebar where the title “Sponsors” will go.  Make sure it lines up with the darker brown part of the post title. Fill it with any color and copy the layer style from #32. Also create the 1px highlight like we did before to go right below the brown part.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen38.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen38.jpg" alt="" title="Sidebar gradient" width="442" height="616" class="alignright size-full wp-image-1066" /></a></p><p><a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen39.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen39.jpg" alt="" title="Sidebar with brown top" width="484" height="619" class="alignright size-full wp-image-1067" /></a></p><p>39.  Group all of the sidebar elements into a group called sidebar and duplicate it once.  Use your move tool to nudge the duplicated group down to fit into position like the screenshot below.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen40.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen40.jpg" alt="" title="Main Layout with no content" width="550" height="673" class="alignright size-full wp-image-1068" /></a></p><h1>The Footer</h1><p>40.  Grab your rectangular marquee tool and start 25 pixels below last post and select the rest of the canvas.  Fill it with #716656 and it should look like the screenshot below. P.S.  I had to adjust the height of the second sidebar in order for it to be lined up with the last post.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/screen41.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/screen41.jpg" alt="" title="Footer" width="550" height="322" class="alignright size-full wp-image-1070" /></a></p><h1>Layout Complete now add Content</h1><p>41.  The layout is now complete all thats needed now is to add some content.  I stuck with Myriad Pro for all of the font on this website including post titles.</p><p> <a
href="http://www.threestyles.com/wp-content/uploads/2009/12/final.jpg" rel="wp-prettyPhoto[g1027]"><img
src="http://www.threestyles.com/wp-content/uploads/2009/12/finalsmall.jpg" alt="" title="Final Complete Layout" width="550" height="733" class="alignright size-full wp-image-1076" /></a></p><p>I hope you learned something from this tutorial, even if your not a fan of the design there are still photoshop techniques to be learned.  Thanks everyone and let me know if you attempt it.  Don&#8217;t forget to promote this below if you enjoyed it.</p></div> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/design-a-gradient-inspired-web-design-in-photoshop/feed/</wfw:commentRss> <slash:comments>25</slash:comments> </item> <item><title>CSS&#8217;s Border Attribute &#8211; Usage and Best Practices</title><link>http://www.threestyles.com/tutorials/csss-border-attribute-usage-and-best-practices/</link> <comments>http://www.threestyles.com/tutorials/csss-border-attribute-usage-and-best-practices/#comments</comments> <pubDate>Mon, 16 Nov 2009 16:42:58 +0000</pubDate> <dc:creator>Shane Jeffers</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[border attribute]]></category> <category><![CDATA[border html]]></category> <category><![CDATA[borders in web design]]></category> <category><![CDATA[css border tutorial]]></category> <category><![CDATA[css tutorial]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=911</guid> <description><![CDATA[This is the second part in a three part series. Today we will be covering the Border attribute. The first article was on the Background Attribute and the last article will be on the Font Attribute so stay tuned and subscribe. Part one of this CSS series is linked below. In-Depth Look at CSS&#8217;s Background [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/bordermain.png" alt="bordermain" title="bordermain" width="550" height="250" class="alignright size-full wp-image-943" style="border: 1px solid #999; padding: 0px;"/></p><p>This is the <em>second</em> part in a three part series. Today we will be covering the <em>Border attribute</em>.  The first article was on the <em>Background Attribute</em> and the last article will be on the <em>Font Attribute</em> so stay tuned and subscribe.  Part one of this CSS series is linked below.<br
/> <span
id="more-911"></span></p><ol
style="margin-left: 30px; line-height: 28px; margin-top: 5px;"><li><a
href="http://www.threestyles.com/tutorials/an-in-depth-look-into-csss-background-attribute/" target="_blank">In-Depth Look at CSS&#8217;s Background Attribute</a></li></ol><p></p><h2 style="color: #2bb7da;">Some background on the Border Attribute</h2><p>Borders used to be those ugly gray things that surrounded elements such as tables and frames, but now with CSS they are a very powerful tool for designers.</p><h2 style="color: #2bb7da;">Overview</h2><p>There are 3 properties available in CSS2 relating to the border attribute.</p><ul
style="margin-left: 30px; line-height: 28px; margin-top: 5px;"><li><strong>border-color :</strong> Sets the actual color for the border</li><li><strong>border-style :</strong> Sets the style of the border</li><li><strong>border-width :</strong> Sets how thick the border will be</li></ul><h2 style="color: #2bb7da;">Usage of basic properties</h2><h3  style="margin-top: 10px;"><i>Border Color</i></h3><p>The <strong>border-color</strong> property sets a specific color for the border of the chosen element.  Here are some examples of what this property may look like.</p><pre class="brush: css; title: ;">
border-color: #999;
border-color: rgb(100,200,200);
border-color: red;
border-color: transparent;
</pre><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/border1.jpg" alt="Border Color Example" title="Border Color Example" width="537" height="136" class="alignright size-full wp-image-917" style="border: 1px solid #999;"/></p><h3 style="margin-top: 20px;"><i>Border Styles</i></h3><p>The <strong>border-style</strong> property sets the style of the border on the specified element to whatever value it&#8217;s given.</p><pre class="brush: css; title: ;">
border-style: dotted;
border-style: dashed;
border-style: solid;
border-style: double;
border-style: groove;
border-style: ridge;
border-style: inset;
border-style: outset;
border-style: none;
border-style: hidden;
</pre><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/border2.png" alt="Border Style Example" title="Border Style Example" width="537" height="147" class="alignright size-full wp-image-926"  style="border: 1px solid #999;"/></p><h3 style="margin-top: 10px;"><i>Border Width</i></h3><p>The <strong>border-width</strong> property determines the thickness of the border on any given element.</p><pre class="brush: css; title: ;">
border: 3px solid #64c8c8;
border: .5em solid #64c8c8;
border: thin solid #64c8c8;
border: 10pt solid #64c8c8;
</pre><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/border3.png" alt="Border Width Example" title="Border Width Example" width="353" height="226" class="alignright size-full wp-image-931" style="border: 1px solid #999;"/></p><h3 style="margin-top: 20px;"><i>Speed up the process with short hand</i></h3><p>This little piece of code is a gem, you might want to take notes on this one.  This combines all three border properties into one for increased productivity.</p><pre class="brush: css; title: ;">
border: (width) (style) (color);
border: 1px solid #999;
</pre><h2 style="color: #2bb7da;">Great Examples of Border Usage</h2><h3 style="margin-top: 20px;">1. <a
href="http://www.kammeradvokaten.dk/" target="_blank">Kammeradvokaten</a></h3><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/border4.jpg" alt="border4" title="border4" width="550" height="316" class="alignright size-full wp-image-934" style="border: 1px solid #999;"/><br
/> <img
src="http://www.threestyles.com/wp-content/uploads/2009/11/border5.jpg" alt="border5" title="border5" width="550" height="625" class="alignright size-full wp-image-935" style="border: 1px solid #999;"/></p><p>This site uses a mixture of typography and borders to bring a truly effective simplistic look.  The borders act as organizers for the content.  Very well done.</p><h3 style="margin-top: 20px;">2. <a
href="http://www.open-comms.com/" target="_blank">Open</a></h3><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/border6.jpg" alt="border6" title="border6" width="550" height="365" class="alignright size-full wp-image-940" style="border: 1px solid #999;"/><br
/> <img
src="http://www.threestyles.com/wp-content/uploads/2009/11/border7.jpg" alt="border7" title="border7" width="550" height="297" class="alignright size-full wp-image-941" style="border: 1px solid #999;"/></p><p>This is also another beautiful example of the border attribute.  Open has used borders to basically section off each piece of content.  Everything is well aligned and they used multiple styles of borders.</p><h2 style="color: #2bb7da;">My challenge to you</h2><p>When you are designing that new portfolio or a site for a client, push yourself to incorporate borders in the design.  It will not only be a challenge to do it well, but you as a designer will benefit from branching out from the norm.  If you do complete this challenge or have completed this challenge please leave a link in a comment so our readers can check them out!</p> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/csss-border-attribute-usage-and-best-practices/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>20 Eye Catching Minimalist Website Designs</title><link>http://www.threestyles.com/tutorials/20-eye-catching-minimalist-website-designs/</link> <comments>http://www.threestyles.com/tutorials/20-eye-catching-minimalist-website-designs/#comments</comments> <pubDate>Tue, 10 Nov 2009 18:01:05 +0000</pubDate> <dc:creator>Shane Jeffers</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[20 minimal website designs]]></category> <category><![CDATA[minimalist gallery]]></category> <category><![CDATA[minimalist website design]]></category> <category><![CDATA[website design gallery]]></category><guid
isPermaLink="false">http://www.threestyles.com/?p=856</guid> <description><![CDATA[Sometimes making something simple can be much more difficult than creating something complex in the design world. I went through and found these 20 sites that I think fall into the &#8220;minimalist&#8221; category, yet are still highly effective. Another reason a lot of these sites stand out is their typography. If you are planning a [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/minimal.jpg" alt="minimal" title="minimal" width="575" height="250" class="alignright size-full wp-image-900" style="border: 1px solid #999; padding: 0px;"/></p><p>Sometimes making something simple can be much more difficult than creating something complex in the design world.  I went through and found these 20 sites that I think fall into the &#8220;minimalist&#8221; category, yet are still highly effective.  Another reason a lot of these sites stand out is their typography.  If you are planning a &#8220;minimalist&#8221; site you MUST have good typography or it will turn from being simple and professional to ugly and amateurish.<br
/> <span
id="more-856"></span><br
/></p><div
id="minimal"><h2 class="heading">1. <a
href="http://www.jarviscocker.net/" target="_blank">Jarvis Cocker</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/1.jpg" alt="Jarvis" title="Jarvis" width="550" height="275" class="alignright size-full wp-image-857" /></p><h2 class="heading">2. <a
href="http://www.super8.co.uk/" target="_blank">Super 8</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/2.jpg" alt="Supers" title="Supers" width="550" height="293" class="alignright size-full wp-image-858" /></p><h2 class="heading">3. <a
href="http://www.alistapart.com/" target="_blank">A List Apart</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/3.jpg" alt="A List Apart" title="A List Apart" width="550" height="349" class="alignright size-full wp-image-861" /></p><h2 class="heading">4. <a
href="http://thebolditalic.com/" target="_blank">The Bold Italic</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/4.jpg" alt="My Bold Italics" title="My Bold Italics" width="550" height="328" class="alignright size-full wp-image-862" /></p><h2 class="heading">5. <a
href="http://designhotels.com/" target="_blank">Design Hotels</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/5small.jpg" alt="Five" title="Five" width="550" height="341" class="alignright size-full wp-image-864" /></p><h2 class="heading">6. <a
href="http://www.stereotype-design.com/" target="_blank">Stereotype Design</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/61.jpg" alt="6" title="6" width="550" height="324" class="alignright size-full wp-image-904" /></p><h2 class="heading">7. <a
href="http://www.madebysofa.com/" target="_blank">Made By Sofa</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/7small.jpg" alt="Made By Sofa" title="Made By Sofa" width="550" height="325" class="alignright size-full wp-image-866" /></p><h2 class="heading">8. <a
href="http://www.thememagazine.com/" target="_blank">Theme Magazine</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/81.jpg" alt="8" title="8" width="550" height="337" class="alignright size-full wp-image-906" /></p><h2 class="heading">9. <a
href="http://www.marnich.com/" target="_blank">Marnich</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/9small.jpg" alt="9small" title="9small" width="550" height="361" class="alignright size-full wp-image-868" /></p><h2 class="heading">10. <a
href="http://www.Idrawallday.com/" target="_blank">Idrawallday</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/10small.jpg" alt="10small" title="10small" width="550" height="359" class="alignright size-full wp-image-869" /></p><h2 class="heading">11. <a
href="http://www.lundgrenlindqvist.se/" target="_blank">Lundgren + Lindqvist</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/11small1.jpg" alt="11small" title="11small" width="550" height="369" class="alignright size-full wp-image-907" /></p><h2 class="heading">12. <a
href="http://www.ideapaint.com/" target="_blank">Ideapaint</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/12small1.jpg" alt="12small" title="12small" width="550" height="358" class="alignright size-full wp-image-908" /></p><h2 class="heading">13. <a
href="http://www.brooklynfare.com/" target="_blank">Brooklyn Fare</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/13small.jpg" alt="13small" title="13small" width="550" height="307" class="alignright size-full wp-image-872" /></p><h2 class="heading">14. <a
href="http://www.typojungle.net/" target="_blank">Typo Jungle</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/14small.jpg" alt="14small" title="14small" width="550" height="346" class="alignright size-full wp-image-873" /></p><h2 class="heading">15. <a
href="http://www.buzzsawstudios.com/" target="_blank">Buzz Saw Studios</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/15small.jpg" alt="15small" title="15small" width="550" height="304" class="alignright size-full wp-image-874" /></p><h2 class="heading">16. <a
href="http://www.markrussell.me/" target="_blank">Mark Russell</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/16small.jpg" alt="16small" title="16small" width="550" height="460" class="alignright size-full wp-image-875" /></p><h2 class="heading">17. <a
href="http://agenda26.com/" target="_blank">Agenda 26</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/17small.jpg" alt="17small" title="17small" width="550" height="362" class="alignright size-full wp-image-876" /></p><h2 class="heading">18. <a
href="http://www.dbushell.com/" target="_blank">David Bushell</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/18small.jpg" alt="18small" title="18small" width="550" height="355" class="alignright size-full wp-image-877" /></p><h2 class="heading">19. <a
href="http://typedeskref.com/" target="_blank">The Typographic Desk Reference</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/19small.jpg" alt="19small" title="19small" width="550" height="338" class="alignright size-full wp-image-878" /></p><h2 class="heading">20. <a
href="http://www.hintcreative.com/" target="_blank">Hint Creatice</a></h2><p><img
src="http://www.threestyles.com/wp-content/uploads/2009/11/20small.jpg" alt="20small" title="20small" width="550" height="342" class="alignright size-full wp-image-879" /></div> ]]></content:encoded> <wfw:commentRss>http://www.threestyles.com/tutorials/20-eye-catching-minimalist-website-designs/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)
Database Caching 14/26 queries in 0.035 seconds using disk: basic

Served from: www.threestyles.com @ 2012-02-04 05:18:41 -->
