Responsive div using css.
Second block
Third block
The media query will only apply if the media type is screen and the viewport is equal to or less than 500px