Over a million developers have joined DZone.

Responsive Web Design with CSS3

· Web Dev Zone

Start coding today to experience the powerful engine that drives data application’s development, brought to you in partnership with Qlik.

You've probably heard of responsive web design, maybe even read the term-coining article or seen some working examples.

JavaScript can detect and respond to browser and platform features and limitations -- but the rise of mobile/tablet devices has meant that irreconcilable differences in browser and display capabilities run deep enough for a standard, not an application, to handle them.

CSS3 media queries, which detect and respond to browser properties, address these differences immediately. They aren't the only CSS3 feature that should prove useful to responsive web designers, though.

Katrien De Graeve points out that at least three features are necessary for good responsive web design:

  • Media queries and media query listeners
  • A flexible grid-based layout that uses relative sizing
  • Flexible images and media, through dynamic resizing or CSS

And CSS3 can handle all of these.

Katrien's full article is an excellent short intro to responsive web design using CSS3, including a few polyfill options for legacy browsers. Read the rest, or check out a larger list of responsive design tools (not all of which use CSS3) if you're already familiar with media queries and flexible grids.

Create data driven applications in Qlik’s free and easy to use coding environment, brought to you in partnership with Qlik.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}