Mozilla Demo Studio

  • Submit a Demo

HTML5 trombone!

Funny and usable trombone.

Built using JavaScript, HTML5, CSS3, Audio,

  • 130 views
  • 2 comments

More About This Demo From The Author

This demo shows capabilities of media queries to design animating trombone which plays sounds depending on the size of the browser's window. All animations are done using just CSS3 and media queries.

Besides being fun to play with it remains fully functional on small screen devices where you simply cannot resize your browser's window. In that case you can click on letters to make sound.

Javascript is only used in this demo to play sounds using Audio API.

2 comments so far

Register or log in to add your own.

  1. launchinteractive said,

    Nice work. I like how the background changes colour with the notes plus the mobile version is a nice touch.
    1. Tomasz_Kolodziejski said,

      My main goal was to make this demo not only just next toy but also to show that media query can increase usability on small screen devices. Thanks a lot!

Get the Source Code

Download the Source 663.56 KB · ZIP File

This demo is released under the BSD license.