Make Room for the Little Ones! - Media Queries

Watch the big whale make room for the smaller whales as the screen size is reduced. 100% CSS3.

Built using Mobile, HTML5, CSS3

  • 65 views
  • 0 comments

More About This Demo From The Author

This demo uses only CSS3 for all the effects that you see. There is no JavaScript AT ALL!

How to test this demo?
You can change the size of your browser (Firefox, Safari, Chrome recommended) from the least value to full screen and see how the demo works. You can see the big whale leaving the screen when the screen size is small. Watch it stay afloat when there is not much room for it to swim and swim freely when there is ample room.

Also note how the tail and its eyes are animated.

You can also use the amazing Responsive Design View tool in Firefox (Firefox > Web Developer > Responsive Design View) and save the hard work of resizing your browser and enjoy the animation.

No comments yet.

Register or log in to add your own.

Get the Source Code

Download the Source 2.89 KB · ZIP File

This demo is released under the BSD license.

More by SiddharthRao