<?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>DesignLovr &#187; Tutorials</title>
	<atom:link href="http://designlovr.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://designlovr.com</link>
	<description>Tutorials - Inspiration - Articles</description>
	<lastBuildDate>Sat, 24 Jul 2010 13:06:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Reward the Commenters on Your Blog</title>
		<link>http://designlovr.com/how-to-reward-commenters-on-your-blog/</link>
		<comments>http://designlovr.com/how-to-reward-commenters-on-your-blog/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 15:30:57 +0000</pubDate>
		<dc:creator>ximi</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Comments]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://designlovr.com/?p=1106</guid>
		<description><![CDATA[Comments and the possibility to discuss content and posts are one of the most valuable and important parts of blogging and is amongst others what made it so popular.

But how can you motivate people to comment on your blog posts and reward those that actually do?]]></description>
			<content:encoded><![CDATA[<p>Comments and the possibility to discuss content and posts are one of the most valuable and important parts of blogging and is amongst others what made it so popular.</p>
<p>If a blog has a lot of (meaningful) comments it is often a sign of high-quality, engaging and maybe even controversial posts.</p>
<p>But how can you motivate people to comment on your blog posts and reward those that actually do?</p>
<h3>Let Search Engines Follow Their Url</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/follow.jpg" alt="Follow Their Url" title="follow" width="600" height="300" class="alignnone size-full wp-image-1109" /><br />
Wordpress applies by default a <em>rel=&#8221;nofollow&#8221;</em> attribute to all external links in your comment list. This prevents search engine robots from following and indexing those links. By installing Kimmo Suominen&#8217;s <a href="http://kimmo.suominen.com/sw/dofollow/">DoFollow Plugin</a> you can change that and let your commenters have some of your link love.</p>
<h3>Let Them Share Their Own Posts</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/commentluv.jpg" alt="CommentLuv Example" title="commentluv" width="600" height="300" class="alignnone size-full wp-image-1108" /><br />
By installing a plugin such as <a href="http://comluv.com/download/commentluv-wordpress/">CommentLuv</a> you give commenters that have a blog of their own the possibility to promote their latest posts. This will not only make your commenters happy, but can also be a valuable addition for all of your readers, considering that commenters often have a blog in the same or a similar niche.</p>
<h3>Announce Your Top Commenters</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/top_commenters.jpg" alt="Top Commenters" title="top_commenters" width="600" height="300" class="alignnone size-full wp-image-1116" /><br />
You can reward the readers that leave the highest number of comments by featuring them separately. If you have a weekly or monthly roundup you could do so in those posts or you can simply display a list in your sidebar. The <a href="http://www.4null4.de/306/show-top-commentators-sidebar-widget/">Show Top Commentators Widget Plugin</a> is a great way to achieve that. A nice and easy way to say thank you.</p>
<h3>Respond to Comments</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/respond.jpg" alt="Respond to Comments" title="respond" width="600" height="300" class="alignnone size-full wp-image-1113" /><br />
This is actually a very basic and almost self-evident thing to do and I&#8217;m simply assuming that this is more or less common practice. Responding to comments, answering questions and clarifying things will show your readers that you actually read and care about their comments and opinions. Keep in mind to be polite even if you are criticized (that&#8217;s part of being a blogger as well). </p>
<h3>Visit, Promote and Comment on Their Web Sites</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/share.jpg" alt="Share" title="share" width="600" height="300" class="alignnone size-full wp-image-1114" /><br />
When someone is leaving a comment on your blog you should definitely have a look at their web site (maybe you&#8217;ll discover your new favorite blog), promote it by tweeting, digging and co. and leave a comment on your own. Reciprocal commenting can result in new contacts and sometimes even friendships.</p>
<h3>Thank Them with an Email</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/mail.jpg" alt="Thank You Email" title="mail" width="600" height="300" class="alignnone size-full wp-image-1111" /><br />
If you have an especially interesting and valuable comment that takes your post to a whole new level you might even consider writing a thank you mail to the respective commenter. It will surely be appreciated and with a little bit of luck evolve into an interesting conversation.</p>
<h3>Don&#8217;t Overdo It</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/overdo.jpg" alt="Don&#039;t Overdo It" title="overdo" width="600" height="300" class="alignnone size-full wp-image-1112" /><br />
I recently saw a blog that offered the user who leaves the most comments in a certain month a free ad space for the following month (I unfortunately can&#8217;t find the link anymore, otherwise I would have posted it here). Even though this is an interesting approach, I think it overshoots the mark. When it comes down to it, commenting on a blog shouldn&#8217;t be a competition and your readers should leave a comment because they have something to say, not because they&#8217;re after a prize.</p>
<h3>Conclusion</h3>
<p>By applying only some of these ideas to your blog you make leaving a comment on your blog already much more attractive and rewarding for your readers. Writing a good and elaborate comment takes some time after all and you should show your commenters that you appreciate that.</p>
<div class="quicktip">
<h4>What Do We Offer Our Commenters?</h4>
<p>You may have noticed that we recently added the CommentLuv Plugin as well as the Top Commenters Sidebar Widget. Our comments also do follow and we&#8217;re trying to keep up with you as good as we can in terms of looking at your sites and replying to your comments.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://designlovr.com/how-to-reward-commenters-on-your-blog/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Photoshop Quicktip #2: Shadows</title>
		<link>http://designlovr.com/photoshop-quicktip-2-shadows/</link>
		<comments>http://designlovr.com/photoshop-quicktip-2-shadows/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 10:30:06 +0000</pubDate>
		<dc:creator>ximi</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Blending Options]]></category>
		<category><![CDATA[Gaussian Blur]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Quicktip]]></category>
		<category><![CDATA[Shadows]]></category>

		<guid isPermaLink="false">http://designlovr.com/?p=961</guid>
		<description><![CDATA[Today we're going to learn three different ways to create shadows in Photoshop, ranging from simple Drop Shadows to complex Caster Shadows. This is the second tutorial out of a series of tutorials that will teach Photoshop beginners how to apply various design effects to their designs.]]></description>
			<content:encoded><![CDATA[<p>Shadows are an important and sometimes overlooked part of Photoshop and Design in general. Whether it is a simple Drop Shadow added to a text, a shadow used as a frame around an image or many shadows in a complex web site design, they all help elements to stand out and give a design depth and a more realistic look.</p>
<p>Today we&#8217;re going to learn three different ways to create shadows in Photoshop, ranging from simple Drop Shadows to complex Caster Shadows. This is the second tutorial out of a series of tutorials that will teach Photoshop beginners how to apply various design effects to their designs.</p>
<h3>Drop Shadows with Photoshop&#8217;s Blending Options</h3>
<p>This type of shadow is the easiest to create, but also the most versatile due to its Blending Option nature. This shadow will often be all that is needed to give a design additional depth and with the right settings you can achieve some interesting results.</p>
<h4>Step 1</h4>
<p>Create a new document (<em>Ctrl+J</em>) and create a simple shape, a short text or any other element (you can paste an image for example) you would like to apply a Drop Shadow to (you can also open an existing document that already has elements in it). Right-click on your new layer in the Layer Palette and select Blending Options. A new window that presents you with a multitude of settings and panels will open.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step1.jpg" alt="Drop Shadows with Photoshop&#039;s Blending Options - Step 1" title="step1" width="600" height="400" class="alignnone size-full wp-image-963" /></p>
<h4>Step 2</h4>
<p>Select Drop Shadow out of the list of options (if you have Preview activated you should already see a simple Drop Shadow applied to your layer) and you&#8217;ll be presented with several different panels and sliders, which you can use to change the appearance of your Drop Shadow dramatically.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step2.jpg" alt="Drop Shadows with Photoshop&#039;s Blending Options - Step 2" title="step2" width="600" height="639" class="alignnone size-full wp-image-964" /></p>
<p>Here is a quick explanation of each setting:</p>
<ul>
<li><strong>Blend Mode</strong>: The standard setting here is Multiply and for a simple shadow you usually don&#8217;t have to change this. Photoshop&#8217;s Blend Modes let you change how your layers (or in this case Drop Shadow) interacts with other layers. Blend Modes are a complex topic, but you can read this <a href="http://www.myinkblog.com/2009/07/14/an-explanation-of-photoshop-blend-modes/">excellent explanation</a> of each one of them.</li>
<li><strong>Color Field</strong>: To the right of the Blend Mode you have a little, black rectangle. By clicking on it you open a color picker and you can select a different color for your shadow. For regular shadows black (the default) is just fine, but in combination with the different Blend Modes you can achieve some really interesting effects (even though they often don&#8217;t have anything to do with classic shadows anymore).</li>
<li><strong>Opacity</strong>: Just like you can change the opacity of each layer in the Layers Palette you can also change the opacity of your drop shadow. It basically just influences how strong your shadow will appear. 75% is the standard setting, but you&#8217;ll change this setting rather often.</li>
<li><strong>Angle</strong>: This allows you to define the direction of the (imaginary) light that is falling on your layer and casts the shadow. This is pretty straightforward (e.g. if the light comes from the downer side (-90°) the shadow appears at the top of the layer, etc.) and its standard value of 120° often needs no change.</li>
<li><strong>Use Global Light</strong>: If this check box is activated Photoshop uses a document wide setting for the light direction. If you apply a drop shadow to more than one element (or other effects that use Global Light for their creation) and Use Global Light is activated all shadows will fall in the same direction. If you change the angle of your shadow while this Checkbox is activated the light direction of all shadows that use Global Light is changed. This allows you to give your document a consistent light direction. You can usually let this activated &#8211; only if you want shadows that fall in different directions you should deactivate it.</li>
<li><strong>Distance</strong>: This determines how far away the shadow is from the element it is applied to. A value of 0 places it directly under your element (and it appears on each side of your element), whereas a value of 20 makes it appear far away from your element. This is one of the core values you&#8217;ll manipulate to achieve different kinds of shadows and you won&#8217;t keep the standard value of 5 too often.</li>
<li><strong>Spread</strong>: The Spread lets you define how intense the shadow is. A high value will give your shadow a harder edge (and simulate very bright light). Even though this setting is not essential it can be useful in certain situations. Usually its default of 0 works just fine.</li>
<li><strong>Size</strong>: This defines the size of your shadow, mainly the size of its blur. The Size and Distance are what gives your shadow its essential look and the values you will influence the most in order to achieve different results.</li>
</ul>
<p>There are several other settings (including the Contour), but these are only necessary for very complex shadows and you usually won&#8217;t need them. If you are interested you can read some more about the <a href="http://livedocs.adobe.com/en_US/Photoshop/10.0/help.html?content=WS9BDAC2D2-5D38-4eb5-B57D-04981BB663EB.html">Contour setting</a>. The Layer Knocks Out Drop Shadow let&#8217;s you decide whether or not the drop shadow can be seen below the layer if the layer&#8217;s fill opacity is below 100% (<a href="http://www.lunacore.com/blog/?p=72">Example</a>).</p>
<p>This is all there is to say about Photoshop&#8217;s Drop Shadow Blending Option. Have a look at the examples below to see how different settings influence the looks of the shadow:</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step3.jpg" alt="Drop Shadows with Photoshop&#039;s Blending Options - Example 1" title="step3" width="600" height="985" class="alignnone size-full wp-image-965" /></p>
<p>And one more example with actual text and an icon:</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step4.jpg" alt="Drop Shadows with Photoshop&#039;s Blending Options - Example 2" title="step4" width="600" height="300" class="alignnone size-full wp-image-966" /></p>
<h3>Shadows with Gaussian Blur</h3>
<p>Even though this kind of shadow is a little bit more complicated to create it gives you more flexibility and control over the shape and position of your shadow. The biggest advantage is that you can create shadows that aren&#8217;t following the outlines of an element or layer as well as your unrestricted regarding the position and distance to your original object.</p>
<h4>Step 1</h4>
<p>Create a new document once again and create or open an element of your choice in a new layer. Now select the <em>Elliptic Marquee Tool</em> (<em>Shift+U</em>) and create a relatively flat ellipse below your object. It should have a width similar to the one of the original element.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step6.jpg" alt="Shadows with Gaussian Blur - Step 1" title="step6" width="600" height="300" class="alignnone size-full wp-image-973" /></p>
<div class="remark">
<h4>Remark</h4>
<p>Even though we&#8217;re using a elliptical selection in this example you can use whatever shape you want to create a shadow with this method. This is one of the aspects that makes this method so versatile and powerful</p>
</div>
<h4>Step 2</h4>
<p><em><br />
Create a new layer (Ctrl+Shift+N</em>), select the <em>Paint Bucket Tool</em> (<em>G</em>) and fill the selection with black.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step7.jpg" alt="Shadows with Gaussian Blur - Step 2" title="step7" width="600" height="300" class="alignnone size-full wp-image-974" /></p>
<h4>Step 3</h4>
<p>Go to <em>Filter>Blur>Gaussian Blur</em> and select a value somewhere between 3 and 10 pixels (due to Photoshop&#8217;s Preview Function you should see what looks best).</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step8.jpg" alt="Shadows with Gaussian Blur - Step 3" title="step8" width="600" height="524" class="alignnone size-full wp-image-976" /></p>
<h4>Step 4</h4>
<p>Make sure that your shadow layer is placed below the original layer, arrange it appropriately and reduce the opacity of the shadow layer in the Layers Palette until you&#8217;re satisfied with the result.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step9.jpg" alt="Shadows with Gaussian Blur - Step 4" title="step9" width="600" height="300" class="alignnone size-full wp-image-976" /></p>
<p>This was only one simple example of what can be achieved with this kind of shadow. There are many tutorials out there that use this technique and by following them you&#8217;ll definitely find out how powerful Shadows that are created with Gaussian Blur really are. Check out: <a href="http://psd.tutsplus.com/tutorials/interface-tutorials/create-a-professional-web-2-0-layout/">Create a Professional Web 2.0 Layout</a> and <a href="http://www.tutorial9.net/photoshop/3d-wooden-box-photoshop-tutorial/">3D Wooden Box Photoshop Tutorial</a>.</p>
<p> Below is one more example of this kind of shadow, this time applied to an icon:</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step10.jpg" alt="Shadows with Gaussian Blur - Example" title="step10" width="600" height="300" class="alignnone size-full wp-image-972" /></p>
<h3>Caster Shadows</h3>
<p>The last type of shadow we&#8217;re presenting is also the most complicated. A Caster Shadow can give your creation a real 3D Look because it comes the closest to actual real-world shadows.</p>
<h4>Step 1</h4>
<p>Create a new document and add the object or text of your choice one last time. Duplicate the layer with your object (<em>Ctrl+J</em>), select the <em>Paint Bucket Tool</em> (<em>G</em>) and fill the copy of your object with black. Move the copy under the original layer in the Layers Palette.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step11.jpg" alt="Caster Shadows - Step 1" title="step11" width="600" height="600" class="alignnone size-full wp-image-980" /></p>
<h4>Step 2</h4>
<p>Select the duplicated, black layer and go to <em>Edit>Transform>Distort</em> (alternatively you can simply press <em>Ctrl+T</em> and hold down the <em>Ctrl-key</em> while transforming the layer) and distort the layer as shown in the picture below.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step12.jpg" alt="Caster Shadows - Step 2" title="step12" width="600" height="600" class="alignnone size-full wp-image-981" /></p>
<h4>Step 3</h4>
<p>It&#8217;s time for a Gaussian Blur again. Go to <em>Filter>Blur>Gaussian Blur</em> and apply a blur of 3-5 pixels to your shadow layer.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step13.jpg" alt="Caster Shadows - Step 3" title="step13" width="600" height="600" class="alignnone size-full wp-image-982" /></p>
<p>Now duplicate your blurred shadow layer (<em>Ctrl+J</em>), move the duplicated version under the original shadow and apply one more time a Gaussian Blur. This time choose a bigger value between 6 and 10 pixels.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step14.jpg" alt="Caster Shadows - Step 3-2" title="step14" width="600" height="600" class="alignnone size-full wp-image-983" /></p>
<h4>Step 4</h4>
<p>Because we want our shadow to become softer towards the end we&#8217;ll now add a smooth transition between our first and second shadow with the help of a Layer Mask.</p>
<p>Select the upper shadow (with the smaller Gaussian Blur) and add a Layer Mask (red circle in the image below) in the Layers Palette. Select the <em>Gradient Tool</em> (<em>Shift+G</em>), define a white to black gradient and add it as shown below (make sure you have the Layer Mask selected in the Layers Palette).</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step15.jpg" alt="Caster Shadows - Step 4" title="step15" width="600" height="600" class="alignnone size-full wp-image-984" /></p>
<h4>Step 5</h4>
<p>Now you only have to reduce the opacity of the shadow layers based on your own preferences. In the example below I chose 70% for the upper shadow layer and 40% for the downer one. You should generally keep the opacity of the upper shadow higher than the opacity of the lower shadow.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/step16.jpg" alt="Caster Shadows - Step 5" title="step16" width="600" height="600" class="alignnone size-full wp-image-979" /></p>
<h3>Conclusion</h3>
<p>Congratulations, by following this tutorial you learned three different techniques for the creation of shadows in Photoshop. There are many more ways to create shadows in Photoshop, but with above examples you should be able to create whatever shadow you may need throughout your work in Photoshop.</p>
<p>The best way to improve your skills in this area is to experiment and try out different settings and techniques.</p>
<p>One last piece of advice: In terms of web and graphic design you should use subtle shadows, rather than full-blown monsters &#8211; layer opacity is your biggest friend here.</p>
]]></content:encoded>
			<wfw:commentRss>http://designlovr.com/photoshop-quicktip-2-shadows/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Beautiful Photoshop-like Buttons with CSS3</title>
		<link>http://designlovr.com/beautiful-photoshop-like-buttons-with-css3/</link>
		<comments>http://designlovr.com/beautiful-photoshop-like-buttons-with-css3/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 22:35:28 +0000</pubDate>
		<dc:creator>ximi</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[box-shadow]]></category>
		<category><![CDATA[buttons]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[gradients]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[rgba]]></category>
		<category><![CDATA[text-shadow]]></category>

		<guid isPermaLink="false">http://designlovr.com/?p=899</guid>
		<description><![CDATA[In this Tutorial we'll show you how to recreate 3 different, slick buttons that we created beforehand in Photoshop without the usage of any image in CSS3. We'll use a multitude of CSS3 properties, such as @font-face, text- and box-shadow, gradients and border-radius.]]></description>
			<content:encoded><![CDATA[<p>One of the elements on a web page that a visitor&#8217;s attention is drawn to first is in many cases a button. Whether it is a &#8220;Add to cart&#8221;, &#8220;Leave a comment&#8221; or &#8220;Subscribe&#8221; button, they all are designed to stand out from the rest of the design and make the visitor click on them. Unfortunately buttons are image-based in 99% of the cases and the use of complicated CSS sprites is often required to fluently switch between different states of interaction, but a new age dawns with the arrival and broader browser-support of CSS3.</p>
<p>In this Tutorial we&#8217;ll show you how to recreate 3 different, slick buttons that we created beforehand in Photoshop without the usage of any image in CSS3. We&#8217;ll use a multitude of CSS3 properties, such as @font-face, text- and box-shadow, gradients and border-radius.</p>
<h3>Button #1</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/button1.jpg" alt="Button #1" title="button1" width="600" height="100" class="alignnone size-full wp-image-900" /></p>
<h4>Photoshop</h4>
<p>This simple, yet beautiful and effective button is based on a rounded, 250px wide and 34px high rectangle (the dimensions are the same for all buttons in this tutorial) with a border-radius of 5px. The following layer styles were applied to the button:</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/button1styles.jpg" alt="Button #1 Blending Options" title="button1styles" width="600" height="1601" class="alignnone size-full wp-image-901" /></p>
<p>The font used for the text is <a href="http://www.fontsquirrel.com/fonts/Airstream">Airstream</a>, which is licensed for the usage with @font-face. Its size is set to 30px, a very light blue (#e5edff) is used as color and a simple drop-shadow (as shown below) is applied to it.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/button1text.jpg" alt="Button #1 Text Blending Options" title="button1text" width="600" height="441" class="alignnone size-full wp-image-902" /></p>
<h4>CSS3</h4>
<p>Because the HTML part of the code is very simple I&#8217;m not giving any code examples for that. All you need is a HTML document that refers to your CSS file and has an input tag with an id (in our case a submit button with the id button1).</p>
<p>We start by defining our new, custom font-family with @font-face. Check out our <a href="http://designlovr.com/30-beautiful-and-free-fonts-you-can-use-with-font-face/">30 Beautiful and Free Fonts You Can Use with @font-face</a> post to find out more about @font-face and how to implement it.</p>
<p>The styling of the input tag starts with some general and regular CSS properties such as height, width, border and background, followed by the CSS3 Styling.<br />
We begin with the creation of a linear CSS3 Gradient for Firefox as well as Webkit Browsers.</p>
<div class="remark">
<h4>Remark</h4>
<p>CSS3 Gradients are implemented quite differently by Gecko and Webkit Browsers. The -moz- version of CSS3 Gradients is much easier, even though Firefox supports them only since its latest release (3.6). It is almost impossible to create a nice radial gradient for Webkit Browsers (I got it working with a trial and error method).</p>
<p>I don&#8217;t want to go into details because there is enough material for a separate article, but here are some good resources for those of you that are a little more interested: <a href="http://hacks.mozilla.org/2009/11/css-gradients-firefox-36/">CSS Gradients in Firefox 3.6</a>, <a href="http://webkit.org/blog/175/introducing-css-gradients/">Introducing CSS-Gradients (Safari)</a>, <a href="http://www.westciv.com/tools/radialgradients/index.html">Radial Gradient Generator</a> and <a href="http://gradients.glrzad.com/">Linear Gradient Generator</a>.</p>
</div>
<p>After that we define the border-radius to achieve the rounded corners &#8211; this is simple and straightforward, it just needs to be defined separately for Firefox and Webkit Browsers.</p>
<p>Finally we&#8217;ll add a soft shadow around the button with box-shadow. The first value indicates the x-offset, the second the y-offset, followed by the blur radius and finally the shadow color.</p>
<div class="quicktip">
<h4>Quicktip</h4>
<p>You might have noticed that I defined alongside with the default properties -moz- and -webkit- also a unpreceded version of the CSS3 properties. This currently doesn&#8217;t  anything, but should enable the feature in most browsers once CSS3 is officially released and widely implemented. Like this we make our code future-ready.</p>
</div>
<p>Finally we only need to set our previously defined font-family (and appropriate fallbacks), its size, color and we&#8217;re also adding another CSS3 property: text-shadow.</p>
<p>Text-shadow works similar to box-shadow (x-offset, y-offset, blur radius, color), but in this specific case we used the RGBA model (another CSS3 feature) to define the color. This allows us to define a transparent color to get a softer color (rather than choosing a milder gray, which is absolutely not the same).</p>
<p>RGBA is based on the RGB color model and requires four values: The red, green and blue amounts (between 0 and 255) and the alpha channel (in decimal values, e.g. 0.1 = 10% opacity), which indicates the opacity.</p>
<p><pre><code>
@font-face {
  font-family: &#039;AirstreamRegular&#039;;
  src: url(&#039;fonts/Airstream.eot&#039;);
  src: local(&#039;Airstream Regular&#039;), local(&#039;Airstream&#039;), url(&#039;fonts/Airstream.ttf&#039;) format(&#039;truetype&#039;);
}

input#button1 {
  /* General Propertoes */
  height:34px;
  width:250px;
  border:1px solid #858fa6;
  background:#4a5775;
  /* CSS3 Styling */
  background:-moz-linear-gradient(top, #606c88, #3f4c6b);
  background:-webkit-gradient(linear, left top, left bottom, from(#606c88), to(#3f4c6b));
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  -moz-box-shadow:0px 0px 5px #000;
  -webkit-box-shadow:0px 0px 5px #000;
  box-shadow:0px 0px 5px #000;
  /* Text Styling */
  font-family:&#039;AirstreamRegular&#039;, Georgia, &#039;Times New Roman&#039;, serif;
  color:#e5edff;
  font-size:30px;
  text-shadow:0px 0px 5px rgba(0, 0, 0, 0.75);
}
</code></pre></p>
<p>Now we have a beautiful button and all that&#8217;s missing is some interactivity. That&#8217;s why we&#8217;re going to define the hover, focus and active state of the button. You can let your creativity run free here and manipulate the values we defined to your own desires. By adding CSS3 transitions you can even add some animation.</p>
<p>Below I lightened the border color for the hover and focus states to highlight the button and reversed the gradient and smalled down the text-shadow in case the user clicks on the button.</p>
<p><pre><code>
input#button1:hover, input#button1:focus {
  border-color:#adbad9;
}
  
input#button1:active {
  background:-moz-linear-gradient(bottom, #606c88, #3f4c6b);
  background:-webkit-gradient(linear, left bottom, left top, from(#606c88), to(#3f4c6b));
  text-shadow:0px 0px 2px #000;
}
</code></pre></p>
<h3>Button #2</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/button2.jpg" alt="Button #2" title="button2" width="600" height="100" class="alignnone size-full wp-image-900" /></p>
<h4>Photoshop</h4>
<p>The second button is a little more glossy and might even be a little bit outdated, but it is a great way to show a gradient with more than two colors. The dimensions are the same as the one&#8217;s of the first button (250px on 34px), but it uses a radius of 20px for its rounded corners and the following blending options:</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/button2styles.jpg" alt="Button #2 Blending Options" title="button2styles" width="600" height="1601" class="alignnone size-full wp-image-904" /></p>
<p>This time we&#8217;re using the <a href="http://www.fontsquirrel.com/fonts/HighlandGothicFLF">HighlandGothic</a> font with a size of 20px and an orange color (#ff7d00). The following drop-shadow is applied to it:</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/button2text.jpg" alt="Button #2 Text Blending Options" title="button2text" width="600" height="441" class="alignnone size-full wp-image-905" /></p>
<h4>CSS3</h4>
<p>We start once again by defining a new font-family with @font-face, just as we did it with our first button, followed by some general CSS properties.</p>
<p>Next on the list is the more complex gradient with four color values, a bigger border-radius and a box-shadow, which actually is more of an outer glow than a shadow because it uses RGBA to define a white with an opacity of 50%.</p>
<p>The text is styled as before, but due to the negative y-offset of our text-shadow we achieve an effect that resembles an inner-shadow.</p>
<p>Finally we&#8217;re defining some styles for the different button states.<br />
<pre><code>
@font-face {
  font-family: &#039;HighlandGothicFLFRegular&#039;;
  src: url(&#039;fonts/HighlandGothicFLF.eot&#039;);
  src: local(&#039;HighlandGothicFLF Regular&#039;), local(&#039;HighlandGothicFLF&#039;), url(&#039;fonts/HighlandGothicFLF.ttf&#039;) format(&#039;truetype&#039;);
}

input#button2 {
  /* General Properties */
  height:34px;
  width:250px;
  border:1px solid #000;
  background:#717a77;
  /* CSS3 Styling */
  background:-moz-linear-gradient(bottom, #0a0809, #0a0f0b 50%, #6d7673 50%, #afbdc0);
  background:-webkit-gradient(linear, left bottom, left top, from(#0a0809), to(#afbdc0), color-stop(0.5, #0a0f0b), color-stop(0.5, #6d7673));
  -moz-border-radius:20px;
  -webkit-border-radius:20px;
  border-radius:20px;
  -moz-box-shadow:0px 0px 7px rgba(255, 255,255, 0.5);
  -webkit-box-shadow:0px 0px 7px rgba(255, 255,255, 0.5);
  box-shadow:0px 0px 7px rgba(255, 255,255, 0.5);
  /* Text Styling */
  color:#ff7d00;
  text-shadow:0px -1px 0px #000;
  font-family:&#039;HighlandGothicFLFRegular&#039;, Impact, &#039;Arial Black&#039;, sans-serif;
  font-size:20px;
  padding-bottom:5px;
}

input#button2:hover {
  font-size:21px;
  -moz-box-shadow:0px 0px 7px rgba(255, 255,255, 1);
  -webkit-box-shadow:0px 0px 7px rgba(255, 255,255, 1);
  box-shadow:0px 0px 7px rgba(255, 255,255, 1);
}

input#button2:focus {
  -moz-box-shadow:0px 0px 7px rgba(255, 255,255, 0.75);
  -webkit-box-shadow:0px 0px 7px rgba(255, 255,255, 0.75);
  box-shadow:0px 0px 7px rgba(255, 255,255, 0.75);
}
  
input#button2:active {
  border-width:2px 1px 1px 2px;
  font-size:20px;
}
</code></pre></p>
<h3>Button #3</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/button3.jpg" alt="Button #3" title="button3" width="600" height="100" class="alignnone size-full wp-image-900" /></p>
<h4>Photoshop</h4>
<p>Our last button basically explodes with subtlety (or is it implode?) and would fit perfectly into a very simple design without losing its attractiveness.<br />
It has the original dimensions of 250px on 34px, uses a very small radius of 3px and the following layer styles:</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/button3styles.jpg" alt="Button #3 Blending Options" title="button3styles" width="600" height="1598" class="alignnone size-full wp-image-907" /></p>
<p><a href="http://www.fontsquirrel.com/fonts/Note-this">Note this</a> is the font we used, 24px the font-size and plain white (#fff) the color. A simple outer glow (see image below) helps the button to stand out on the dark background.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2010/02/button3text.jpg" alt="Button  #3 Text Blending Options" title="button3text" width="600" height="441" class="alignnone size-full wp-image-908" /></p>
<h4>CSS3</h4>
<p>The CSS is similar to the two other buttons, so I&#8217;m not going to repeat everything again.</p>
<p>The only difference is the usage of radial gradients instead of linear ones and the usage of a white with an opacity of 50% as text-shadow to recreate the outer glow of the text. The radial gradient is fairly simple to implement for Firefox and nearly impossible in Safari. If nobody is going to write a proper tutorial on how to do this soon I&#8217;ll have a deeper look into it and write one on my own.<br />
<pre><code>
@font-face {
  font-family: &#039;NotethisRegular&#039;;
  src: url(&#039;fonts/Note_this.eot&#039;);
  src: local(&#039;Note this Regular&#039;), local(&#039;Notethis&#039;), url(&#039;fonts/Note_this.ttf&#039;) format(&#039;truetype&#039;);
}

input#button3 {
  /* General Properties */
  height:34px;
  width:250px;
  border:1px solid #494949;
  background:#404040;
  /* CSS3 Styling */
  background:-moz-radial-gradient(bottom, #656565, #404040 60%);
  background:-webkit-gradient(radial, center bottom, 0, center 230, 230, from(#656565), to(#404040));
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  border-radius:3px;
  -moz-box-shadow:0px 0px 3px #000;
  -webkit-box-shadow:0px 0px 3px #000;
  box-shadow:0px 0px 3px #000;
  /* Text Styling */
  color:#fff;
  text-shadow:0px 0px 5px rgba(255, 255,255, 0.5);
  font-family:&#039;NotethisRegular&#039;, Verdana, Arial, sans-serif;
  font-size:24px;
  padding-top:1px;
}
  
input#button3:hover, input#button3:focus {
  background:-moz-radial-gradient(bottom, #656565, #404040 80%);
  background:-webkit-gradient(radial, center bottom, 0, center 230, 250, from(#656565), to(#404040));
}

input#button3:active {
  -moz-box-shadow:0px 0px 2px #000;
  -webkit-box-shadow:0px 0px 2px #000;
  box-shadow:0px 0px 2px #000;
  text-shadow:0px 0px 8px rgba(255, 255,255, 1);
}
</code></pre></p>
<h3>Conclusion</h3>
<p>I think that this was quite a good demonstration of how powerful and versatile CSS3 actually is (or is going to be) and how we can avoid the usage of images and CSS sprites with a little bit of code.</p>
<p>These buttons will display properly and in their full beauty in the latest version of Safari, Chrome and Firefox (only 3.6, not 3.5, which doesn&#8217;t have support for CSS3 Gradients), but degrade more or less gracefully and display without the CSS3 features in all other browsers, including IE6 (the custom fonts work in all browsers though). Make sure to set regular background-colors before adding the gradients, so it will display properly in all browsers.</p>
<div id="download">
<a href="http://designlovr.com/examples/css3-buttons/" class="download left" target="_blank">Demo</a><a href="http://designlovr.com/examples/css3-buttons/css3-buttons.zip" class="download left" target="_blank">Download</a>
</div>
<div class="clear">
</div>
]]></content:encoded>
			<wfw:commentRss>http://designlovr.com/beautiful-photoshop-like-buttons-with-css3/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>Use CSS3 to Create a Dynamic Stack of Index Cards</title>
		<link>http://designlovr.com/use-css3-to-create-a-dynamic-stack-of-index-cards/</link>
		<comments>http://designlovr.com/use-css3-to-create-a-dynamic-stack-of-index-cards/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 14:08:16 +0000</pubDate>
		<dc:creator>ximi</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[box-shadow]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[transform]]></category>
		<category><![CDATA[transition]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://designlovr.com/?p=559</guid>
		<description><![CDATA[Recently we hear a lot about CSS3 and its features and even though there are already some web sites out there that take advantage of some of the CSS3 features (including DesignLovr) we hardly ever see the full potential of what can be achieved with CSS3.

Today we’re going to take a step into that direction and discover some of the possibilities CSS3 gives us.]]></description>
			<content:encoded><![CDATA[<p>Recently we hear a lot about CSS3 and its features and even though there are already some web sites out there that take advantage of some of the CSS3 features (including DesignLovr) we hardly ever see the full potential of what can be achieved with CSS3.<br />
Today we’re going to take a step into that direction and discover some of the possibilities CSS3 gives us.</p>
<p>We will create a dynamic stack of index cards solely with HTML and CSS3 and use such CSS3 features as <em>transform</em> and <em>transition</em> (for the dynamic effects) and <em>@font-face</em>, <em>box-shadow</em> and <em>border-radius</em> (for the styling).</p>
<p>Let’s start with the simple HTML-markup, which consists of simple, unordered list, filled with random content. If you want you can download the icons I used at <a href="http://www.tutorial9.net/resources/cute-critters-free-icon-pack/" target="_blank">Tutorial 9.</a></p>
<p><pre><code>
&lt;body&gt;
    &lt;div id=&quot;wrapper&quot;&gt;
        &lt;ul id=&quot;index_cards&quot;&gt;
            &lt;li id=&quot;card-1&quot;&gt;
                &lt;h3&gt;Card 1&lt;/h3&gt;
                &lt;img src=&quot;images/t9tuqui_trans.png&quot; height=&quot;130&quot; width=&quot;130&quot; alt=&quot;Toucan&quot; /&gt;
                &lt;p&gt;Name: Toucan&lt;br /&gt;
                Age: 5&lt;br /&gt;
                Size: 50 cm&lt;br /&gt;
                Weight: 600 g&lt;br /&gt;
                Food: Fruit&lt;br /&gt;
                Toucan lives in southern and central America and loves to fly around&lt;/p&gt;
            &lt;/li&gt;
            &lt;li id=&quot;card-2&quot;&gt;
                &lt;h3&gt;Card 2&lt;/h3&gt;
                &lt;img src=&quot;images/t9foxy_trans.png&quot; height=&quot;130&quot; width=&quot;130&quot; alt=&quot;Fox&quot; /&gt;
                &lt;p&gt;Name: Fox&lt;br /&gt;
                Age: 3&lt;br /&gt;
                Size: 70 cm&lt;br /&gt;
                Weight: 5.5 kg&lt;br /&gt;
                Food: Meat&lt;br /&gt;
                Fox lives in the northern hemisphere and loves to play seek and hide&lt;/p&gt;
            &lt;/li&gt;
            &lt;li id=&quot;card-3&quot;&gt;
                &lt;h3&gt;Card 3&lt;/h3&gt;
                &lt;img src=&quot;images/t9dog2_trans.png&quot; height=&quot;130&quot; width=&quot;130&quot; alt=&quot;Dog&quot; /&gt;
                &lt;p&gt;Name: Dog&lt;br /&gt;
                Age: 8&lt;br /&gt;
                Size: 120 cm&lt;br /&gt;
                Weight: 10 kg&lt;br /&gt;
                Food: Bones&lt;br /&gt;
                Dog lives in a dog hut and loves to chew shoes, bark and go for walks&lt;/p&gt;
            &lt;/li&gt;
            &lt;li id=&quot;card-4&quot;&gt;
                &lt;h3&gt;Card 4&lt;/h3&gt;
                &lt;img src=&quot;images/t9penguino_trans.png&quot; height=&quot;130&quot; width=&quot;130&quot; alt=&quot;Penguin&quot; /&gt;
                &lt;p&gt;Name: Penguin&lt;br /&gt;
                Age: 20&lt;br /&gt;
                Size: 110 cm&lt;br /&gt;
                Weight: 35 kg&lt;br /&gt;
                Food: Fish&lt;br /&gt;
                Penguin lives where it&#039;s cold and icy and loves to swim and dive&lt;/p&gt;
            &lt;/li&gt;
            &lt;li id=&quot;card-5&quot;&gt;
                &lt;h3&gt;Card 5&lt;/h3&gt;
                &lt;img src=&quot;images/t9lion_trans.png&quot; height=&quot;130&quot; width=&quot;130&quot; alt=&quot;Lion&quot; /&gt;
                &lt;p&gt;Name: Lion&lt;br /&gt;
                Age: 12&lt;br /&gt;
                Size: 190 cm&lt;br /&gt;
                Weight: 180 kg&lt;br /&gt;
                Food: Meat&lt;br /&gt;
                Lions lives in Africa and loves to sleep most of the day and hunt sometimes&lt;/p&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/body&gt;
</code></pre></p>
<p>Now the CSS. I’m using the<a href="http://developer.yahoo.com/yui/reset/" target="_blank"> Yahoo User Interface(YUI) 2 CSS Reset</a> to achieve similar results in all browsers, then we&#8217;ll need to define the fonts we want to use with <em>@font-face</em> (for more information on <em>@font-face</em> have a look at our recent post <a href="http://designlovr.com/30-beautiful-and-free-fonts-you-can-use-with-font-face/">30 Beautiful and Free Fonts You Can Use with @font-face</a>) and add some general CSS rules.</p>
<p>The fonts <a href="http://www.fontsquirrel.com/fonts/Note-this">Note This</a> and <a href="http://www.fontsquirrel.com/fonts/Kulminoituva">Kulminoituva</a>, both of which are available in @font-face kits (with all necessary font-formats and preformatted CSS-file) on <a href="http://www.fontsquirrel.com">Font Squirrel</a>, are the ones used in my example design.</p>
<p><pre><code>
/* @font-face definitions */

@font-face {
  font-family: &#039;KulminoituvaRegular&#039;;
  src: url(&#039;../fonts/kulminoituva.eot&#039;);
  src: local(&#039;Kulminoituva Regular&#039;), local(&#039;Kulminoituva&#039;), url(&#039;../fonts/kulminoituva.woff&#039;) format(&#039;woff&#039;), url(&#039;../fonts/kulminoituva.ttf&#039;) format(&#039;truetype&#039;), url(&#039;../fonts/kulminoituva.svg#Kulminoituva&#039;) format(&#039;svg&#039;);
}

@font-face {
  font-family: &#039;NotethisRegular&#039;;
  src: url(&#039;../fonts/Note_this.eot&#039;);
  src: local(&#039;Note this Regular&#039;), local(&#039;Notethis&#039;), url(&#039;../fonts/Note_this.woff&#039;) format(&#039;woff&#039;), url(&#039;../fonts/Note_this.ttf&#039;) format(&#039;truetype&#039;), url(&#039;../fonts/Note_this.svg#Notethis&#039;) format(&#039;svg&#039;);
}

/* General styling */

body {
  background:#202020;
  font-family: NotethisRegular, Verdana, Arial, sans-serif;
  font-size:125%;
  color:#202020;
}

h1, h2, h3, h4, h5, h6 {
  font-family: KulminoituvaRegular, &quot;Arial Black&quot;, Gadget, sans-serif;
  font-size:1.5em;
}

#wrapper {
  width:760px;
  margin:0 auto;
  text-align:center;
  padding-top:50px;
}
</code></pre></p>
<p>Then we’ll need to style the index cards.<br />
First we add some general CSS2.1 rules like the <em>height</em>, <em>width</em>, <em>padding</em> and <em>border</em> (You can choose whatever values you see fit). The background image is optional, but also makes the index cards look so much better (you can download it <a href="http://designlovr.com/examples/dynamic_stack_of_index_cards/images/card_bg.jpg" target="_blank">here</a>). Make sure to set <em>position:relative</em>, <em>display:block</em> and <em>float:left</em>.</p>
<p>Additionally we&#8217;ll use some CSS3 stylings to kick our cards a notch up.</p>
<p>With the help of <em>border-radius</em> we achieve rounded corners, the px-value you assign will result in smaller or bigger rounded edges.</p>
<p>The <em>box-shadow property</em> allows us to add a drop shadow to the index cards; the first value determines the horizontal (x) offset,  the second value the vertical (y) offset and the third value the size of the blur. The last value defines the color of the shadow. With the help of this property you are able to imitate nearly every drop shadow you can create in Photoshop.</p>
<p>The <em>transition property</em> allows us to define how and how long changes into different states (<em>:hover</em>, <em>:active</em>, etc.) will occur. The first value indicates the property your targeting (like this you can as an example have different animation effects for the growth and rotation of an element) , the second the time the transition will take and third defines the rendering of the animation (how the animation will transform over time).<br />
Possible values for the third value are: <em>linear</em>, <em>ease(default)</em>, <em>ease-in</em>, <em>ease-out</em>, <em>ease-in-out</em> and <em>cubic-bezier</em>, which allows you to define your own behavior. The transition property is currently only recognized by Safari and Chrome, but is planned for Firefox 3.6. For more information on CSS3 Animations visit the official <a href="http://webkit.org/blog/138/css-animation/">Safari Blog</a>.</p>
<p><pre><code>
/* Index Card Styling */
  
ul#index_cards {
  margin-top:50px;
  text-align:center;
}
  
ul#index_cards li {
  background:url(../images/card_bg.jpg) repeat;
  height:450px;
  width:130px;
  display:block;
  float:left;
  border:1px solid #666;
  padding:25px 10px;
  position:relative;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-box-shadow: 2px 2px 10px #000;
  -webkit-box-shadow: 2px 2px 10px #000;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}
</code></pre></p>
<div class="remark">
<h4>Remark</h4>
<p>You might have noticed that all three properties exists twice and are preceded once by “-webkit-“ (for Safari and Chrome) and once by “-moz-“ (for Firefox). Because CSS3 is not officially released and supported yet you have to address specific browsers this way.
</p></div>
<p>Now we have to add some individual styling to each card.<br />
Arrange the cards with the help of <em>top</em>, <em>right</em>, <em>bottom</em> and <em>left</em> and then, with the help of <em>transform:rotate</em> add a rotation to the cards. Make sure that the values of the two outmost cards (1 and 5) and two inner cards (2 and 4) are opposing (e.g -20deg for Card 1 and 20 deg for Card 5).<br />
You also need to assign different values to the <em>z-index</em> of the cards &#8211; use the values form the code below.</p>
<div class="quicktip">
<h4>Quicktip</h4>
<p>The transform property allows you more than just to rotate an element, with its help you can also translate (move), skew and scale. For more information visit the <a href="http://www.w3.org/TR/css3-2d-transforms/">official w3.org page</a> on this property.
</div>
<p><pre><code>
#card-1 {
  -webkit-transform: rotate(-20deg);
  -moz-transform: rotate(-20deg);
  z-index:1;
  left:150px;
  top:40px;
}
  
#card-2 {
  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  z-index:2;
  left:70px;
  top:10px;
}
  
#card-3 {
  background-color:#69732B;
  z-index:3;
}
  
#card-4 {
  -webkit-transform: rotate(10deg);
  -moz-transform: rotate(10deg);
  z-index:2;
  right:70px;
  top:10px;
}
  
#card-5 {
  -webkit-transform: rotate(20deg);
  -moz-transform: rotate(20deg);
  z-index:1;
  right:150px;
  top:40px;
}
</code></pre></p>
<p>Now we only have to add the different hover states to the cards.<br />
First we’ll assign a general hover state to all cards in which we assign a high <em>z-index</em> to the currently hovered card. Like this the appropriate card is always in front.</p>
<p>Then you have to add individual transform values to each card. This time we need to use the transform property’s scale function besides the rotate function.<br />
In the code below each card is scaled up 110% (x1.1) and rotate 2 degrees (you have to consider the card’s original rotation though, e.g. from 10 degree to 12).</p>
<p><pre><code>
/* Hover States */
  
ul#index_cards li:hover {
  z-index:4;
}
  
#card-1:hover {
  -moz-transform: scale(1.1) rotate(-18deg);
     -webkit-transform: scale(1.1) rotate(-18deg); 
}
    
#card-2:hover {
  -moz-transform: scale(1.1) rotate(-8deg);
   -webkit-transform: scale(1.1) rotate(-8deg); 
}
  
#card-3:hover {
  -moz-transform: scale(1.1) rotate(2deg);
   -webkit-transform: scale(1.1) rotate(2deg); 
}
  
#card-4:hover {
  -moz-transform: scale(1.1) rotate(12deg);
   -webkit-transform: scale(1.1) rotate(12deg); 
}
  
#card-5:hover {
  -moz-transform: scale(1.1) rotate(22deg);
   -webkit-transform: scale(1.1) rotate(22deg); 
}
</code></pre></p>
<p>Finally you just have to add some styling to the content of the cards.<br />
Despite the CSS-Reset we used there might be differences in the margin and padding of the custom @font-face fonts, there seem still to be some issues regarding cross-browser compatibility.</p>
<p>In my specific example I added rounded corners, a drop shadow and background to the featured images and some minor adjustments to the text.</p>
<p><pre><code>
/* Content Styling */
  
ul#index_cards li img {
  margin-top:7px;
  background:#eee;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-box-shadow: 0px 0px 5px #aaa;
  -webkit-box-shadow: 0px 0px 5px #aaa;
}
      
ul#index_cards li p {
  margin-top:4px;
  text-align:left;
  line-height:28px;  
}
</code></pre></p>
<p>As you see you can achieve great results with the help of CSS3.<br />
I could imagine an interesting authors page or extensive navigation that use effects similar to this.</p>
<p>Unfortunately CSS3 effects aren’t supported in all current web browsers yet. Our specific example will look best in the latest versions of Safari and Chrome, followed by Firefox, which is missing the transition effect. Internet Explorer 8 and Opera have appropriate fallbacks (even though they’re not even close to the original effect), whereas it doesn’t work at all in Internet Explorer 7 and earlier versions.</p>
<p>If you want to find out more about CSS3 and discover some of the other advantages it offers you should check out <a href="http://css3.info">css3.info</a>.</p>
<div id="download">
<a href="http://designlovr.com/examples/dynamic_stack_of_index_cards/" class="download left" target="_blank">Demo</a><a href="http://designlovr.com/examples/dynamic_stack_of_index_cards/sample.zip" class="download left" target="_blank">Download</a>
</div>
<div class="clear">
</div>
]]></content:encoded>
			<wfw:commentRss>http://designlovr.com/use-css3-to-create-a-dynamic-stack-of-index-cards/feed/</wfw:commentRss>
		<slash:comments>117</slash:comments>
		</item>
		<item>
		<title>Photoshop Quicktip #1 + Mini-Showcase: Mirror-Effect</title>
		<link>http://designlovr.com/photoshop-quicktip-1-mini-showcase-mirror-effect/</link>
		<comments>http://designlovr.com/photoshop-quicktip-1-mini-showcase-mirror-effect/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 19:50:37 +0000</pubDate>
		<dc:creator>ximi</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Quicktip]]></category>
		<category><![CDATA[Showcase]]></category>
		<category><![CDATA[Text-Effect]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://designlovr.com/?p=316</guid>
		<description><![CDATA[Today you’ll learn how to reproduce a popular design effect in Photoshop: <strong>The Mirror Effect</strong>. This is the first out of a series of post that will teach Photoshop beginners how to apply various design effects to their designs.

But we have more than just a plain tutorial for you, we’ll also talk a little about the Mirror Effect and how and where to use it. Finally we also have a mini showcase of web sites that use the mirror effect.]]></description>
			<content:encoded><![CDATA[<p>Today you’ll learn how to reproduce a popular design effect in Photoshop: <strong>The Mirror Effect</strong>. This is the first out of a series of post that will teach Photoshop beginners how to apply various design effects to their designs.</p>
<p>But we have more than just a plain tutorial for you, we’ll also talk a little about the Mirror Effect and how and where to use it. Finally we also have a mini showcase of web sites that use the mirror effect.</p>
<h3>The Tutorial</h3>
<h4>Step 1</h4>
<p>Open a new document (you can choose the dimensions by yourself) and add the object or text of your choice in form of a new layer. I chose a styled-down version of the <strong>DesignLovr</strong> logo.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/step-1.jpg" alt="Step 1" title="step-1" width="600" height="300" class="alignnone size-full wp-image-320" /></p>
<h4>Step 2</h4>
<p>Duplicate the layer (<em>Ctrl+J</em>) and flip the new layer by going to <em>Edit>Transform>Flip Vertical</em>.</p>
<p>Move the freshly flipped layer down until the bottom of the original layer and the top of the duplicated either touch or have only little space in between them (depending on which method you choose you get a slightly different Mirror Effect, just play a little around and see what you like).</p>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/step-2.jpg" alt="Step 2" title="step-2" width="600" height="300" class="alignnone size-full wp-image-321" /></p>
<h4>Step 3</h4>
<p>Now you have to add a layer mask to the duplicated layer by clicking on the little symbol at the bottom of the layer palette (see the red circle below). Select the Gradient Tool (<em>Shift+G</em>), choose black and white as colors in the Tool Option Window (it usually is placed directly above your canvas) and move the white stop to the left until a location of 50% is indicated (see screenshot below).</p>
<p>Now create the gradient by clicking on the lowest point of your duplicated layer (in my case it was the bottom of the D of DesignLovr) and pulling a straight line to the highest point (the end of the g in the example).</p>
<div class="quicktip">
<h4>Quicktip:</h4>
<p>By adding a layer mask to a layer you have the possibility to fade out parts of a layer completely or partially. When the layer mask is selected in the layer palette you can simply paint with the Brush or Pencil Tool on the canvas or you can use the Gradient and Fill Tool.</p>
<p>Wherever you apply black the corresponding layer will fade out completely, different grays will fade it out partially (as if you reduce the opacity just on the specific part of the layer) and white will leave things as they are. It is a powerful feature of Photoshop that allows you to use only parts of a layer without the need to delete something with the eraser.</p>
</div>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/step-3.jpg" alt="Step 3" title="step-3" width="600" height="600" class="alignnone size-full wp-image-322" /></p>
<h4>Step 4</h4>
<p>The only thing left to do now is to lower the opacity of the duplicated layer in the Layers Palette (usually a value between 30% and 50% is good) and you’re done. Looks great, doesn’t it?</p>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/step-4.jpg" alt="Step 4" title="step-4" width="600" height="300" class="alignnone size-full wp-image-323" /></p>
<h4>Final Result</h4>
<p>In order to create an even stronger mirror impression you can also add a split gradient to the background as I did below.<br />
You can achieve different results by playing with the distance between the two layers, the gradient you add to the layer mask and different opacity values.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/final_result.jpg" alt="Final Result" title="final_result" width="600" height="300" class="alignnone size-full wp-image-318" /><br />
I also prepared a version in which I used an icon (from the <a href="http://www.smashingmagazine.com/2009/02/12/smashing-retro-icon-set/">Smashing Retro Icon Set</a>) instead of text, the process is the same.</p>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/object_reflection.jpg" alt="Object Reflection" title="object_reflection" width="600" height="800" class="alignnone size-full wp-image-319" /></p>
<h3>Additional Info</h3>
<p>The Mirror Effect had his big moment a few years ago during the Web2.0 boom. It was heavily (over)used on a great amount of web sites and is out of this reason a little bit frowned upon by many web designers nowadays. But that is no reason not to use this effect if it suits your design.</p>
<p>The mirror effect can help to give your design depth, realism and a polished, shiny look. As you will see in the showcase it is often (and should be) used very subtle and added rather to objects than text. It seems to be especially popular in the combination with iPhones (another, overused web trend).</p>
<p>Just do yourself and others the favor and use the effect only if it really fits rather than on your next grunge design.</p>
<h3>The Showcase</h3>
<p>The amount of web sites that use a mirror effect is much smaller than it was just a few years ago, but you can still find it on selected web sites.</p>
<p>In combination with a simple black or white background it adds an extra ounce of elegance (reminding one of shiny, polished surfaces) to a web site and can help to emphasize a product or object.</p>
<p>Enjoy!</p>
<h4><a href="http://www.960pixels.net">960pixels</a></h4>
<p><a href="http://www.960pixels.net/"><img src="http://designlovr.com/wp-content/uploads/2009/12/960pixels.jpg" alt="960pixels" title="960pixels" width="600" height="391" class="alignnone size-full wp-image-330" /></a></p>
<h4><a href="http://www.cookmateapp.com/">Cookmate</a></h4>
<p><a href="http://www.cookmateapp.com/"><img src="http://designlovr.com/wp-content/uploads/2009/12/cookmateapp.jpg" alt="Cookmate" title="cookmateapp" width="600" height="391" class="alignnone size-full wp-image-331" /></a></p>
<h4><a href="http://www.filemaker.com/">Filemaker</a></h4>
<p><a href="http://www.filemaker.com/"><img src="http://designlovr.com/wp-content/uploads/2009/12/filemaker.jpg" alt="Filemaker" title="filemaker" width="600" height="391" class="alignnone size-full wp-image-332" /></a></p>
<h4><a href="http://www.maridajedigital.com/" class="broken_link">Maridaje Digital</a></h4>
<p><a href="http://www.maridajedigital.com/" class="broken_link"><img src="http://designlovr.com/wp-content/uploads/2009/12/maridajedigital.jpg" alt="Maridaje Digital" title="maridajedigital" width="600" height="388" class="alignnone size-full wp-image-333" /></a></p>
<h4><a href="http://www.mediatemple.net/">Media Temple</a></h4>
<p><a href="http://www.mediatemple.net/"><img src="http://designlovr.com/wp-content/uploads/2009/12/mediatemple.jpg" alt="Media Temple" title="mediatemple" width="600" height="388" class="alignnone size-full wp-image-334" /></a></p>
<h4><a href="http://www.mobilemysite.com/">MobileMySite</a></h4>
<p><a href="http://www.mobilemysite.com/"><img src="http://designlovr.com/wp-content/uploads/2009/12/mobilemysite.jpg" alt="MobileMySite" title="mobilemysite" width="600" height="391" class="alignnone size-full wp-image-335" /></a></p>
<h4><a href="http://www.newstreamdesign.com/">Newstream Design</a></h4>
<p><a href="http://www.newstreamdesign.com/"><img src="http://designlovr.com/wp-content/uploads/2009/12/newstreamdesign.jpg" alt="Newstream Design" title="newstreamdesign" width="600" height="391" class="alignnone size-full wp-image-336" /></a></p>
<h4><a href="http://www.suki.co.il/">Suki</a></h4>
<p><a href="http://www.suki.co.il/"><img src="http://designlovr.com/wp-content/uploads/2009/12/suki.jpg" alt="Suki" title="suki" width="600" height="391" class="alignnone size-full wp-image-337" /></a></p>
<h4><a href="http://www.tanner-tailor.de/">Tanner + Tailor</a></h4>
<p><a href="http://www.tanner-tailor.de/"><img src="http://designlovr.com/wp-content/uploads/2009/12/tanner-tailor.jpg" alt="Tanner + Tailor" title="tanner-tailor" width="597" height="391" class="alignnone size-full wp-image-338" /></a></p>
<h4><a href="http://vixml.com/">VixML</a></h4>
<p><a href="http://vixml.com/"><img src="http://designlovr.com/wp-content/uploads/2009/12/vixml.jpg" alt="VixML" title="vixml" width="597" height="391" class="alignnone size-full wp-image-339" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://designlovr.com/photoshop-quicktip-1-mini-showcase-mirror-effect/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>5 Easy Ways to Improve the Quality of Your Blog Posts</title>
		<link>http://designlovr.com/5-easy-ways-to-improve-the-quality-of-your-blog-posts/</link>
		<comments>http://designlovr.com/5-easy-ways-to-improve-the-quality-of-your-blog-posts/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 21:00:08 +0000</pubDate>
		<dc:creator>ximi</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://designlovr.com/?p=266</guid>
		<description><![CDATA[A successful blog post consist of more than just a great idea, the right presentation and proper writing and language are just as important.

Admittedly not every blogger is a born writer, but in order to successfully present your ideas and articles on your blog the following tips and ideas come definitely in handy.]]></description>
			<content:encoded><![CDATA[<p>A successful blog post consist of more than just a great idea, the right presentation and proper writing and language are just as important.</p>
<p>Admittedly not every blogger is a born writer, but in order to successfully present your ideas and articles on your blog the following tips and ideas come definitely in handy.</p>
<h3>Keep it short:</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/word-count.jpg" alt="Keep it short" title="word-count" width="600" height="200" class="alignnone size-full wp-image-277" /><br />
The internet is a fast-paced medium and no one actually has the time to read your posts in all their length and beauty because there are another 1000 posts and articles waiting to be read, tweets to be tweeted and profiles to be updated.</p>
<p>It’s great that you have an extensive knowledge of Photoshop, but if your posts deals with the Type Tool stick to it and don’t end up talking about the Pen Tool as well.</p>
<p>Only write about things that are relevant to the theme of your post and to your reader even when it is tempting to write about other, interesting things (consider writing a separate blog post or linking to other posts on the web that deal with the respective theme). </p>
<p>Once you are done writing consider as well to re-read the article and cut excrescent parts and sentences as well as to shorten other parts further down.</p>
<div class="warning">
<h4>Attention:</h4>
<p>You can also overdo the shortening! Be careful that you don’t cut too much information and leave your reader clueless due to lack of information and details in the post.</p>
<p>Read some posts in bigger and successful blogs to get a feeling for the right length and amount of information a successful post requires.</p>
</div>
<h3>Keep it simple:</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/simple.jpg" alt="Keep it simple" title="simple" width="600" height="200" class="alignnone size-full wp-image-274" /><br />
The internet is not only fast-paced, but also manifold and international. Keep in mind that not all your readers have the same educational background and might not even be native English speakers (as a matter of fact <a href="http://en.wikipedia.org/wiki/Global_Internet_usage">only 35% of all Internet users speak English</a>). Don’t use complicated words (I’m not talking about technical terms related to the theme of your blog) and keep your sentences short and simple.</p>
<p>Make also sure that you double-check your grammar and spelling, especially if you aren’t a native English speaker yourself. Very few bloggers will be able to afford their own, professional proof-reader, but most Text-Editors come nowadays with a built-in spelling and grammar check (even <a href="http://wordpress.org">Wordpress</a> has one).</p>
<h3>Provide your sources, examples and links:</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/link.jpg" alt="Provide your sources, examples and links" title="link" width="600" height="200" class="alignnone size-full wp-image-273" /><br />
In order to make your posts easier to understand as well as to provide your readers with an easy way to read more about the topic you should always provide your sources and links to related articles as well as concrete examples (if possible).</p>
<p>By providing links for further reading and the sources of your information you also help to enforce the first rule of keeping your post short – if interested your reader can easily find out more about specific issues.</p>
<p>Examples allow you to create a connection to the real world as well as they help to reinforce your point.</p>
<h3>Support your post with graphical elements:</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/image.jpg" alt="Support your post with graphical elements" title="image" width="600" height="200" class="alignnone size-full wp-image-271" /><br />
Another great way to make your post more interesting and to visualize your topic is the use of illustrations, images or other graphical elements.<br />
If you can create illustrations and graphs yourself and have the time to do so then you definitely should, but there are also loads of great stock image sites, where you can buy great graphics and photographs (Completely free: <a href="http://www.sxc.hu/">stock.xchng</a> or not so free: <a href="http://www.istockphoto.com/index.php">iStockphoto</a> or <a href="https://www.dreamstime.com/">dreamstime</a>)</p>
<p>Choose wisely and creatively, but don’t try to force it if you don’t find a good match. Better go without an image than with an image that has nothing to do with your post.</p>
<h3>Stick to your style:</h3>
<p><img src="http://designlovr.com/wp-content/uploads/2009/12/style.jpg" alt="Stick to your style" title="style" width="600" height="200" class="alignnone size-full wp-image-275" /><br />
Finally it is important that you stick to your writing style once you chose one.</p>
<p>Decide whether you write in the first person (as well whether or not you want to use singular or plural) or third, whether you write factual and serious or funny and casual, whether you address your readers directly or not and so on.</p>
<p>Don’t switch between different writing styles within a post. This only creates confusion and gives a very unprofessional impression.<br />
You should apply this rule not only to individual posts, but to your whole blog. Consistency is very important in order for your blog to gain its own personality.</p>
<p>If you apply these simple tips to your blog posts and articles you can take them immediately to the next level. Your readers will surely appreciate your efforts and reward you with numerous comments, tweets and diggs.</p>
]]></content:encoded>
			<wfw:commentRss>http://designlovr.com/5-easy-ways-to-improve-the-quality-of-your-blog-posts/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

