You no longer need Flash to create web-based animations and interactivity. Here are some of the best experiments in CSS3 animation to inspire you.
The latest CSS3 properties have opened a multitude of new doors to web designers and developers. It’s now possible to create animations and interactivity entirely in CSS markup, without going near Flash, Silverlight or After Effects.
To see all our CSS3 posts, click here
01. Solar system
You don’t have to be a web design expert to appreciate this animated model of the solar system, another one of the bestexamples of CSS we’ve found. Created by Julian Garnier, it shows the eight planets orbiting the sun in 3D (yes, you read that right – despite what you got told at school, boffins recently decided that Pluto is no longer officially a planet).
02. 3D page flip
Created by web designer and developer Fabrizio Bianchi, this fantastic 3D bending page flip effect is a CSS-only experiment. Be aware that it’ll only work on browsers that support transform-style: preserve-3D.
03. Periodic table
The periodic table of elements is a popular subject for designers to showcase new web technologies, and this latest CSS3 experiment is the most fun yet. Built by Barcelona-based web designer Ricardo Cabello – best known within the community as ‘Mr Doob‘ – the demo starts with the animated elements hurtling through space towards each other to form a table.
You’re then given the option to rotate them in three dimensions by dragging on your mouse. You can also switch between ‘Table’, ‘Sphere’, ‘Helix’, and ‘Grid’ views by clicking the buttons at the bottom of the page.
04. CSS Creatures
We all know that working in the design industry can sometimes become monotonous. So, take some time out from your busy schedule and have some creative fun with this cute little CSS project from Pittsburgh-based web designer and developerBennett Feely.
CSS Creatures allows the user to design, create and animate their very own web-based friend. Like the sound of that? All you have to do is send a tweet to @CSSCreatures with your preferred colour, personality and features. Your CSS creature then appears on the site in under 25 seconds!
05. Bonfire Night safety infographic
When viewed in a suitable browser, some elements of the infographic will animate. Rather than aiming at supersmooth, in-your-face visual effects, the flickering of the flames and the sparkling of the sparklers is simple, subtle – and, we think, all the more effective for it.
Inspired by Firefox’s homepage Olympic flame over the summer of 2012, the infographic was created using layered graphics and CSS3 to aid in the process of transition of scale, movement and speed, explains Morley. “The bonfire is made up of several layered ‘fire’ shapes then playing around with key frames enabled stretching, opacity and by adding a warm glow renders a realistic flame effect.
“The spark that appears throughout the page was created using a similar technique. Three images were used to pulsate at different rates of scale, similar effect to how we animated the ‘fearful cat’. The movement of the eyes on the hot dog was produced by mouse tracking code adding further interest to those who spotted that.
“The styling of the traditional blackboard theme gives the piece the right level and tone for the audience and enabled us to experiment with textures and fonts.”
06. AT-AT Walker from Star Wars
This illustrated animation of AT-AT Walker from The Empire Strikes Back by Anthony Calzadilla is created entirely in CSS3. Click on the ‘view the bones’ link on the iPad and you can see how each part animates and functions. This great piece of work suggests we’re going to see a lot more of CSS3 introduced with online gaming.
07. Chessboard Vacuum
You know those optical illusions you get that appear to be moving, even though they’re static images? This isn’t one of those. It’s a mesmeric piece of CSS by Ana Tudor, in which a sort of chessboard slowly spins and mutates and rebuilds and spins and mutates and oh God we can’t stop looking at it.
This entertaining CSS3 rollover created by Stu Nicholls enables you to horizontal-run your cursor along the image and watch Zoidberg from the sci-fi cartoon Futurama dance on the table. You can also repeatedly click on the image above and watch each animated state.
09. Responsive cat
Japanese web designer and interactive director Masayuki Kido, aka Roxik, has created this animated kitty which stretches across the length of the browser window, and resizes accordingly as you reduce the window’s width. Make it narrow enough and the word changes with hilarious consequences. And the fun doesn’t end there – but we don’t want to spoilt it, so go have a play now!
10. Animated Buttons
This series of demos, featuring icons by webiconset.com and a symbol font by Just Be Nice, showcase seven beautifully animated link elements with different styles, hover effects and active states. The animation is marvellous, although we’re not to sure from a user perspective about the way the information is hidden until you hover over the link .
In another great demo series, Alessio Atzeni has created some brilliant CSS transitions. Hover over the thumbnail and the CSS animation reveals further information in a way that makes you go wow. There is a great selection of transitions with 10 different demos to choose from. If you want to integrate this rollover effect on your own site then follow this tutorial.
This animated title sequence for the hit TV drama Mad Men showcases what CSS3 animation has to offer in the form of ultra-smooth video. It was made by Anthony Calzadilla, Geri Coady and Andy Clarke, and if you work in web design, you’ll notice a few familiar names and faces. To find out how it was created, see this blog post.
NOTE: This CSS3 animation only works in WebKit-based browsers, which include Safari and Chrome. Alternatively, you can watch it on the YouTube video above.
This demo lets you gaze around the Apple Store in 360 degrees – an amazing virtual scene in your web browser which you can navigate without the need for any additional plug-in software. CSS transforms are used to position six images in 3D space to form a cube with the user’s viewpoint inside. As you navigate, the cube is rotated to reflect the new appropriate position.NOTE: Best viewed in Safari.
16. Interactive album covers
Not only have @MrDenav and @lucasmarinm ofbluedashed.com recreated some classic record covers using pure CSS, they’ve also made them react to music. Demonstrations include First Impressions by the Strokes and Joy Division’s Unknown Pleasures. NOTE: Only works in Google Chrome.
Roman Cortes‘ Pure CSS coke can has been painstakingly assembled using fiendishly clever background-positioning, giving the convincing illusion that the can is rotating when a visitor scrolls left or right. (You may have noticed that this is actually CSS 2.1 rather than CSS3, but we loved it so much we couldn’t resisting including it in this list!).
Doesn’t this just take you back? Andreas Jacob‘s retro Super Mario
leaps off the page using 3D transform and rotation to ruthless effect. A CSS3 animation to make you feel young again! NOTE:Supported browsers are Safari 5 & Chrome 14.
19. Animated Fail Whale
Steve Dennis took Yiying Lu’s famous Twitter fail whale to an all-new level when he recreated an animated version using pure CSS methods. This CSS3 animation also stands up surprisingly well in Internet Explorer 6! How about that?
20. 3D Clouds
NOTE: Works on Firefox (faster if Nightly), Chrome and Safari.
21. The Cursor Monster
The Cursor Monster is a little CSS3/JS toy that’s very simple, but a joy to play with. Made by Simurai, you basically feed it your cursor – try it, and you’ll fall in love with this cute beastie!
22. Movie posters
These movie posters, made by Marco Kuiper, are a great example of pretty powerful CSS3 animation and 3D effects. The perspective, transform and transition properties have been used to create a 3D animation effect when you hover over the movie posters.
NOTE: This demo only works on WebKit-based browsers, which include Safari and Chrome. Alternatively, you can watch it on the YouTube video above.
Words: John Galantini, Aaron Kitney and the Creative Bloq staff
John Galantini is a freelance web developer based in Hampshire whose clients include Sky, Vodafone, Sapient Nitro and most recetly, Burberry. He specialises in responsive, front-end development, using HTML5, CSS3 and a little bit of jQuery.
Aaron Kitney is a freelance graphic designer and art director based in London and Vancouver. He specialises in branding, identity, web design, publication design, album covers, packaging and book design.