1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 17:15:18 +01:00
blog/_src/_posts/2008-05-22-showcasing-the-css-parallax-effect-12-creative-usages.md

9.3 KiB
Raw Blame History

layout title author date wordpress_id categories
post Showcasing the CSS Parallax Effect: 12+1 Creative Usages Matthias Kretschmann 2008-05-22 20:01:12+00:00 59
design

The kremalicious Parallax

Been so in love with the parallax effect that I have to post another article about it. For the non-geeks: I don't mean measuring distances between objects in space, the parallax error in photography, any StarTrek episode, the movie Parallax View and definitely not DC Comic's Parallax monster.

I mean Parallax Scrolling which is a technique often used in good ol' arcade and video games like Moon Patrol or Sonic the Hedgehog. In such 2D games parallax scrolling was used to create an illusion of three dimensional depth.

Since our operating systems are mainly 2D too we can use this pseudo 3D technique to create the same illusion in our web browsers. Of course this was first done by flash designers and it's a popular effect used in flash based websites or parts of it.

But with the rise of CSS this technique can now be done without the use of flash as Alex Walker and Paul Annett discovered. You see we are now very close to the Atari with Web-Design.

So it's time for a first showcase of websites using this effect. At the end of this article you'll find some tutorials for making this effect too. And as you can see there's a parallax effect in the header of this website too so I will not include myself in this showcase list ;-)

So here are the examples. Just start clicking, resizing and goggling!

Examples

Clearleft's Silverback Teaser page

The undeniable Kings of the Parallax, designed by Paul Annett. The Silverback guys made the effect so popular and inspired me too:

Silverback app

Starry Night

An example by Chris Coyier from css-tricks.com. This one works vertically too and he made a tutorial out of it:

Starry Night

Percentage Backgrounds

Probably the first css-based usage of this effect by Alex Walker over at Sitepoint. And probably the funniest one:

Sitepoint's Percentage Backgrounds

The Horse in Motion

Marco Kuiper created a cool optical illusion with just plain css/html and some pictures. Head over to the demo and resize your browser window. You should articulate something like "whoooot!" now. You can read here how he made it.

The Horse in Motion

We all hate Quickbooks, Do You?

Nice fire parallax on this sort of aggregating website. It displays all Tweets with the word "quickbooks" in it:

We all hate Quickbooks, Do You?

Dumago

More mysterious (Oh my god, what is it??) than the Silverback app and with frosty stars instead of jungle leaves:

Dumago

Dromaeo

Another funky name and a nice parallax too. This one uses little dinosaurs. Something like "Oh, so cute" or "How adorable!" should come to your mind:

Dromaeo

cdev.ru

A russian site with an awesome making-webdesign-in-jungle parallax (thanks egot!). They even have different parallax headers on every page. Just click through the top menu:

cdev.ru

More Scripts and Interaction, please

All the showcased sites above need to be resized in the browser to see the effect. This fact makes those effects nice easter eggs but they are rather useless for most users. But with some JavaScript we can bypass this limitation.

Parallax Backgrounds - a multilayered javascript experiment

Very cool cloud effect which becomes visible just by scrolling down the page. I think this is the future and next step of the parallax effect in Web-Design since scrolling is way more common than resizing the browser window:

Parallax Backgrounds - a multi–layered javascript experiment

Fly + Parallax Scrolling Effect

Similar to the Starry Night example from css-tricks. But this example uses JavaScript to achieve this effect without resizing your browser window. It almost looks like it's done with Flash:

Fly + Parallax Scrolling Effect

40 Jaar Sire

Whatever this site is about (Help me dutch speaking folks! edit: anna knows it!) it creates a shaky effect controlled by your mouse pointer:

40 Jaar Sire

CSS combined with Scriptaculous's Morph effect

Same graphics as on Silverback but with a Morph effect assembled with Scriptaculous. The parallax effect becomes visible by shrinking and unshrinking which is controlled by your mouse clicks:

CSS combined with Scriptaculous's Morph effect

WeblogR demo

Same graphics as on Silverback too but this Parallax follows your mouse pointer. This is done with jQuery:

WeblogR demo

How-Tos and Tutorials

Hope you enjoyed this little showcase. Please share it on your favorite social website or vote for it. Your vote is always highly appreciated! And if you know any other websites using this effect (the non-flash versions) feel free to post them in the comments beneath this article.

Update 05/29/2008: Dylan Bathurst wrote an article How to make the Parallax effect which includes his own "Keep out of the Rain" example and a sticky, Hulk style Parallax footer:

Dylan Bathurst

And he has found another Parallax effect on the website of the Rissington Podcast. Cool!

The Rissington Podcast

Update 2 06/02/2008: Nice commentators routine and Jorge Epuñan made some more interactive Parallax examples:

Sonus:portals

A star parallax which follows your mouse pointer. Done with jQuery and with heavy CPU load ;-)

Sonus:portals

Parallax con Mootools

My personal favorite for now in terms of usability. If you are able to understand spanish, read his explanation.

Parallax con Mootools