Media Query Mario

A progressive series of CSS3 animation fired by media queries

利用技術: JavaScript, HTML5, CSS3, Audio, Fonts & Type,

  • 閲覧数 865
  • コメント数 6


This is a recreation of Super Mario 3 using media queries, CSS3 animations and embedded HTML5 audio elements. The animation is controlled using CSS3 media queries to step through the level.

The demo uses the step-end timing function to control background spriting, which is implemented differently in Firefox to Webkit - Webkit seems to ignore the sprite stepping as you progress through the animation - therefore the element spriting is a bit less slick in Webkit, but works perfectly in Firefox.

Any feedback would be great - positive or negative :) - and if you do like it, please do like it or share it above.

All rights to Mario are held by Nintendo, and I am simply using the assets for a completely not-for-profit demo.

6 件のコメントがあります。

Log in to add your own.

  1. judavi によるコメント

    I'm very impressed about this demo, I don't really know the new the features of Css Media Queries
  2. RezaAssar によるコメント

    Very cool.
  3. Pomax によるコメント

    Attention caught! Will you be at MozFest in London next week? We're doing some hackable games talks and workshops, and it would be great to talk to you about pure HTML5 games like this demo =)
    1. dragongraphics によるコメント

      Unfortunately not, as I'm down in Brighton for Full Frontal conference that weekend. If you guys have any future meetups around this though let me know - really interested in the potential for this kind of tech!
  4. solidhex によるコメント

    This is seriously bad ass. Great work!
  5. andresroberto10 によるコメント

    This is cool man! Great job : )

About this Demo

ソースをダウンロード 7801.63 KB · ZIP ファイル

Browse the Source

このデモは GPL ライセンスの下で公開されています。