<?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>Aurer Blog &#187; CSS3</title>
	<atom:link href="http://aurer.co.uk/blog/category/css3/feed/" rel="self" type="application/rss+xml" />
	<link>http://aurer.co.uk/blog</link>
	<description>The Aurer Blog</description>
	<lastBuildDate>Fri, 09 Dec 2011 21:33:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>CSS3 Experiment &#8211; status monitor</title>
		<link>http://aurer.co.uk/blog/2010/06/08/css3-experiment-status-monitor/</link>
		<comments>http://aurer.co.uk/blog/2010/06/08/css3-experiment-status-monitor/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 22:09:57 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[CSS3]]></category>
		<category><![CDATA[graphic design]]></category>

		<guid isPermaLink="false">http://aurer.co.uk/blog/?p=175</guid>
		<description><![CDATA[Recently I have been reading about some of the amazing things developers have been doing with html5 and css3, so I decided to see what I could do myself]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste"><a href="http://aurer.co.uk/blog/wp-content/uploads/2010/06/serverstat.jpg"><img class="alignnone size-large wp-image-176" title="serverstat" src="http://aurer.co.uk/blog/wp-content/uploads/2010/06/serverstat-650x591.jpg" alt="Serverstat preview" width="650" height="591" /></a></div>
<p>Recently I have been reading about some of the amazing things developers have been doing with html5 and css3, so I decided to see what I could do myself. Above is a screecap from safari of a little conpcept status monitor for my server, the actual content is not massively useful, it&#8217;s just some info from the &#8216;top&#8217; command showing load averages. It&#8217;s useful data to work with in this case though as it&#8217;s a percentage, which can be put into pretty bar form.</p>
<p>I initially mocked up the design in Photoshop, and when building, found that the layer styles I used to apply the 3d shine, shadow and glow effects could be translated almost directly into css3 equivalents.</p>
<p>There is only one actual image file used to create this and that is for the noise effect on the background, everything else is css &#8211; drop shadows, gradients, border-radius and good use of RGBA color.</p>
<p>The most interesting bit for me was the gloss effect and how to apply it in a flexible way, the solution was the follwing css class:</p>
<pre>div.shiney:after{
	content: -webkit-gradient(
		linear,
		0% 0%,
		100% 0%,
		from(rgba(255,255,255,0.0)),
		to(rgba(255,255,255,0.48)),
		color-stop(8%, rgba(255,255,255,0.51)),
		color-stop(37%, rgba(255,255,255,0.25)),
		color-stop(41%, rgba(255,255,255,0.09)),
		color-stop(60%, rgba(255,255,255,0.0)),
		color-stop(61%, rgba(255,255,255,0.0)),
		color-stop(74%, rgba(255,255,255,0.13)),
		color-stop(78%, rgba(255,255,255,0.1))
		);</pre>
<pre>	opacity:0.6
}</pre>
<p>This way I could simply add the &#8216;shiney&#8217; class to any div and the shine would be applied over the top of actual contents :)</p>
]]></content:encoded>
			<wfw:commentRss>http://aurer.co.uk/blog/2010/06/08/css3-experiment-status-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

