Pacmanimation

Animations, transformations, content and fun through mediaqueries

Construit avec HTML5, CSS3, Polices et caractères, Mobile

  • 182 vues

L'auteur nous en dit plus sur cette démo

The demo shows how to create a funny animated scene of pacman and how to show content in different ways using mediaqueries and CSS only (so javascript was not intentionally used).

On browser resize, pacman begins to eat balls and to increase his score moving to the left, while a ghost (inky) is trying to chase him. At some breakpoints, an object may pulse: a click on these pulsing objects reveals some insights on a layer about the game. The same content is thus placed on the bottom of the page when the browser width reaches the last breakpoint.

Some content explaining the purpose of the demo is also available when CSS support is not enabled.

Technologies used
- CSS3
- SASS
- Font embedding

It looks good on Firefox and Opera. On webkit (it doesn't support animations on pseudoelements) and IE9 some effects fail.

À propos de cette démo

Téléchargez le fichier ZIP · 200.19 Ko

Browse the Source

Cette démo est fournie sous la licence GPL.