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.

建立方法 移动, HTML5, CSS3

  • 54 次观看
  • 0 个评论

有关此演示作者的更多信息

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.

还没有评论。

Log in to add your own.

获取源代码

下载源代码 2.89 KB · ZIP 格式

此演示发布于 BSD 授权之下。

SiddharthRao 的更多作品