<?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>a design journal</title>
	<atom:link href="http://shift66.com/feed" rel="self" type="application/rss+xml" />
	<link>http://shift66.com</link>
	<description>graphic design musings and portfolio</description>
	<lastBuildDate>Fri, 15 Jul 2011 16:55:43 +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>CSS Opacity/Transparency Effect</title>
		<link>http://shift66.com/archives/css-opacitytransparency-effect</link>
		<comments>http://shift66.com/archives/css-opacitytransparency-effect#comments</comments>
		<pubDate>Sat, 09 Oct 2010 17:25:42 +0000</pubDate>
		<dc:creator>Jack Wong</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[browser compatibility]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://shift66.com/?p=44</guid>
		<description><![CDATA[If you look at this site, you&#8217;ll note that there&#8217;s an opacity/transparency effect along with a mouse-over effect on the main content and the side column content. This was done using CSS. In CSS3, there&#8217;s an opacity property that can set the transparency for an object and all its child elements. It can be done [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>If you look at this site, you&#8217;ll note that there&#8217;s an opacity/transparency effect along with a mouse-over effect on the main content and the side column content. This was done using CSS. In CSS3, there&#8217;s an opacity property that can set the transparency for an object and all its child elements. It can be done by adding the following property to the CSS of the class/id in question:</p>
<p><code>opacity: 0.7;</code></p>
<p>In essence, setting it to 0.7 would be the equivalent of making the object about 70% of its normal opacity. Easy, right? There is a problem, of course, as this only works in modern browsers capable of CSS3 and not IE6/7. Luckily, IE has their own property using alpha-filters to get transparency to work. So, for IE browsers, we&#8217;d need to add the following to the class/id:</p>
<p><code>filter: alpha(opacity=70);</code></p>
<p><span id="more-44"></span></p>
<p>Simple? Well, this is web design, we&#8217;re talking about and browser compatibility is never quite that simple. The CSS3 opacity property doesn&#8217;t work for older mozilla-based browsers, either. To get the opacity/transparency effect, we&#8217;d need to add the following:</p>
<p><code>-moz-opacity:0.7;</code></p>
<p>And just to cover our bases, for any webkit-based/Safari browsers, we&#8217;ll want to add the following:</p>
<p><code>-khtml-opacity: 0.7</code></p>
<p>So our final code, for this site, looks like the following:</p>
<p><code>.post {<br />
filter: alpha(opacity=70);<br />
-moz-opacity: 0.7;<br />
-khtml-opacity: 0.7;<br />
opacity: 0.7;<br />
}</code></p>
<p>To get the hover effect that changes the opacity, we&#8217;ll use the pseudo-class hover on our post class. So the additional code would look like this:</p>
<p><code>.post:hover {<br />
filter: alpha(opacity=100);<br />
-moz-opacity: 1.0;<br />
-khtml-opacity: 1.0;<br />
opacity: 1.0;<br />
}</code></p>
<p>Essentially, that tells the browser to display the object at 100% opacity (no transparency) when the mouse hovers over the object. Voila, that&#8217;s it.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://shift66.com/archives/css-opacitytransparency-effect/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shift66: rebirth</title>
		<link>http://shift66.com/archives/shift66-rebirth</link>
		<comments>http://shift66.com/archives/shift66-rebirth#comments</comments>
		<pubDate>Sat, 09 Oct 2010 10:36:20 +0000</pubDate>
		<dc:creator>Jack Wong</dc:creator>
				<category><![CDATA[Shift66]]></category>

		<guid isPermaLink="false">http://shift66.com/?p=38</guid>
		<description><![CDATA[Gasp! I&#8217;ve finally updated the site with a whole new design and it&#8217;s one that I&#8217;m actually quite proud to put up for your viewing pleasure. The design makes use of a few things: Some CSS3 (that means for the full effect, please use a good modern browser, e.g. Firefox 3.5+, Chrome, Safari 4, IE9, [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Gasp! I&#8217;ve finally updated the site with a whole new design and it&#8217;s one that I&#8217;m actually quite proud to put up for your viewing pleasure.</p>
<p>The design makes use of a few things:</p>
<ul>
<li>Some CSS3 (that means for the full effect, please use a good modern browser, e.g. Firefox 3.5+, Chrome, Safari 4, IE9, and my personal favorite, Opera 10).</li>
<li>My playful side</li>
<li>An annoying opacity effect, but without it, you wouldn&#8217;t be able to see the clouds!</li>
<li>Google Analytics tracking (finally!)</li>
<li>My new shift66design logo</li>
</ul>
<p>This new design was inspired and could not have been completed without the following:</p>
<ul>
<li>My lovely wife, Ying-Ying (that&#8217;s us right there)</li>
<li>A middle of the night urge to get this done after sitting on it for the good part of 2 years</li>
</ul>
<p>That&#8217;s it. Enjoy. I may never update this site again.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://shift66.com/archives/shift66-rebirth/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

