<?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>Ben&#039;s blog and portfolio &#187; gradients</title>
	<atom:link href="http://benthinkin.net/tag/gradients/feed" rel="self" type="application/rss+xml" />
	<link>http://benthinkin.net</link>
	<description>Website design by Ben Gremillion</description>
	<lastBuildDate>Sat, 21 Jan 2012 20:10:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS button recipe</title>
		<link>http://benthinkin.net/articles/html-css/css-button-recipe</link>
		<comments>http://benthinkin.net/articles/html-css/css-button-recipe#comments</comments>
		<pubDate>Tue, 08 Nov 2011 21:22:06 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[customizing]]></category>
		<category><![CDATA[gradients]]></category>
		<category><![CDATA[how-to]]></category>

		<guid isPermaLink="false">http://benthinkin.local/?p=395</guid>
		<description><![CDATA[Making clickable text stand out from non-clickable text has been a staple of the web since the web was called the mesh. How do you make a button look <em>tappable</em> &#8212; without graphics? By using CSS3.]]></description>
			<content:encoded><![CDATA[<style type="text/css">
.action-button {
	display: block;
	width: 120px;
	margin: auto;
	padding: 7px;
	text-align: center;
	color: #fff;
	font-size: 15px;
	font-family: 'hevetica neue',helvetica,arial,sans-serif;
	cursor: pointer;
	text-shadow: #145ec2 0 -1px 0;
	background: -webkit-gradient(
		linear, left bottom, left top,
		from(#347ee2), to(#86aceb),
		color-stop(0.5, #347ee2), /* Dark value */
		color-stop(0.5, #548fe5) /* Medium value */
	);
	-webkit-border-radius: 4px; /*  */
	-moz-border-radius: 4px; /*  */
	border-radius: 4px; /*  */</p>
<p>}
.action-button:active {
	background: -webkit-gradient(
		linear, left bottom, left top,
		from(#86aceb), to(#347ee2) /* Gradient colors, inverted. */
	);
	position: relative;
	top: 3px; /* Give it that "depressed button" look. */
}
</style>
<p class="action-button">Tap me</p>
<p>Here&#8217;s a quick style I wrote for creating buttons that look tappable.</p>
<pre><code>.action-button {
	display: block;
	<span class="label-1">width: 120px</span>;
	padding: 7px;
	text-align: center;
	color: #fff;
	font-size: 15px;
	font-family: 'hevetica neue',helvetica,arial,sans-serif;
	<span class="label-2">cursor: pointer</span>;
	text-shadow: <span class="label-3">#145ec2</span> 0 -1px 0;
	background: -webkit-gradient(
		linear, left bottom, left top,
		from(<span class="label-4">#347ee2</span>), to(<span class="label-5">#86aceb</span>),
		color-stop(0.5, <span class="label-4">#347ee2</span>), /* Dark value */
		color-stop(0.5, <span class="label-6">#548fe5</span>) /* Medium value */
	);
	<span class="label-7">-webkit-border-radius: 4px;</span> /*  */
	<span class="label-8">-moz-border-radius: 4px;</span> /*  */
	<span class="label-9">border-radius: 4px;</span> /*  */

}
.action-button:active {
	background: -webkit-gradient(
		linear, left bottom, left top,
		from(#86aceb), to(#347ee2) /* Gradient colors, inverted. */
	);
	position: relative;
	top: 3px; /* Give it that "depressed button" look. */
}</code></pre>
<h2>How it works</h2>
<ul>
<li><span class="label-1">Set the width</span> to whatever fits your requirements.</li>
<li><span class="label-2">For testing in a desktop browser</span>.</li>
<li><span class="label-3">Shadow color</span> should be a shade darker than your <span class="label-4">darkest gradient</span>.</li>
<li><span class="label-5">Lightest color</span>, in this case, pale blue.</li>
<li><span class="label-6">Medium value</span> creates the illusion of a chrome-like reflection.</li>
<li><span class="label-7">For Webkit browsers</span> like Chrome and Safari.</li>
<li><span class="label-8">For Gecko browsers</span> like FireFox.</li>
<li><span class="label-9">For future browsers</span>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://benthinkin.net/articles/html-css/css-button-recipe/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploring Photoshop’s angle gradient tool</title>
		<link>http://benthinkin.net/articles/imagery/exploring-photoshop-angle-gradient-tool</link>
		<comments>http://benthinkin.net/articles/imagery/exploring-photoshop-angle-gradient-tool#comments</comments>
		<pubDate>Mon, 26 Jul 2010 16:28:46 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Imagery]]></category>
		<category><![CDATA[emergence]]></category>
		<category><![CDATA[gradients]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[WDD]]></category>

		<guid isPermaLink="false">http://benthinkin.net/?p=99</guid>
		<description><![CDATA[The angle gradient tool is an overlooked gem tucked away in Photoshop&#8217;s toolbar. Often passed over for its more popular sibling, the linear gradient tool, angle gradients create clockwise blends of color around the point a user clicks. The angle gradients create clockwise blends of color around the point a user clicks. Most people stop there. But when combined with other techniques and some creativity, the angled gradient has some surprising uses.]]></description>
			<content:encoded><![CDATA[<p>
	The angle gradient tool is an overlooked gem tucked away in Photoshop&#8217;s toolbar. Often passed over for its more popular sibling, the linear gradient tool, angle gradients create clockwise blends of color around the point a user clicks.
</p>
<p>
	The angle gradients create clockwise blends of color around the point a user clicks. Most people stop there. But when combined with other techniques and some creativity, the angled gradient has some surprising uses.
</p>
<p>
	<a href="http://www.webdesignerdepot.com/2010/07/exploring-photoshop&#8217;s-angle-gradient-tool/"><span>Read the full article I wrote at Webdesigner Depot.</span></a>
</p>
<p><img src="/content_resources/053-angled-gradients/arches-applied.jpg" alt="using Photoshop Curves to edit an angled gradient" /> <img src="/content_resources/053-angled-gradients/bunting.jpg" alt="a creative bunting graphic made with Photoshop's angled gradient tool" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://benthinkin.net/articles/imagery/exploring-photoshop-angle-gradient-tool/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

