<?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>underdevelopment &#187; design</title>
	<atom:link href="http://www.underdevelopment.eu/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.underdevelopment.eu</link>
	<description>web development blog</description>
	<lastBuildDate>Fri, 12 Nov 2010 18:48:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>easy and simple transparency effect using GIF</title>
		<link>http://www.underdevelopment.eu/2009/10/03/easy_and_simple_transparency_effect_using_gif/</link>
		<comments>http://www.underdevelopment.eu/2009/10/03/easy_and_simple_transparency_effect_using_gif/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 20:28:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[techniques]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.underdevelopment.eu/?p=190</guid>
		<description><![CDATA[Transparency in HTML/CSS is largely an already solved problem, recent browsers all seem to handle PNG transparency pretty well and there are scripts that will make sure older browsers will handle them as well. However, I wanted to make a post about a little technique I rarely see used which I think is quite genius [...]]]></description>
			<content:encoded><![CDATA[<p>Transparency in HTML/CSS is largely an already solved problem, recent browsers all seem to handle PNG transparency pretty well and there are scripts that will make sure older browsers will handle them as well.</p>
<p><img class="alignright size-full wp-image-193" title="transparant gif example" src="http://www.underdevelopment.eu/wp-content/uploads/2009/10/transparant-gif-example1.gif" alt="transparant gif example" width="90" height="90" />However, I wanted to make a post about a little technique I rarely see used which I think is quite genius in it&#8217;s simplicity.  Whenever you want to create a semi-transparent surface you create a gif file that contains a simple pattern of transparent and opaque pixels; as in the example on the right.  The white you see in the chequered image is of course transparent.</p>
<p>So let&#8217;s demonstrate how this effect actually looks.</p>
<p><img class="aligncenter size-full wp-image-208" title="transparency examples" src="http://www.underdevelopment.eu/wp-content/uploads/2009/10/transparency-examples2.png" alt="transparency examples" width="420" height="140" /></p>
<p style="text-align: center;">
<p>Now as you can see the effect itself is very specific, and different backgrounds have different outcomes for the effect. Which might not fit every design. Another disadvantage is that it can only be used to show a 50% transparency effect. There might be pixel patterns that will give you a different distribution but I&#8217;ve never seen them.</p>
<p>The biggest advantage however is that you don&#8217;t need any fancy CSS or javascript or PNG, which in certain specific cases can be a big plus.  It&#8217;s more of a hack on your eyes/brain then on the browser <img src='http://www.underdevelopment.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.underdevelopment.eu/2009/10/03/easy_and_simple_transparency_effect_using_gif/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

