Demo Page

CSS3 Transitions with CSS3 Media Queries

Change the size of your window. When your window's size crosses the 960px threshold, the box below will slowly grow or shrink.

No JavaScript. This combines CSS3 transitions with media queries to animate the box when the screen size changes.