Responsive Web Design Guidelines and Tutorials
- July 2nd, 2012
- 25 Comments
In this overview you will find the most useful and popular articles we have published on Smashing Magazine on Responsive Web Design.
- Design Process In The Responsive Age1
- Responsive Web Design: What It Is and How To Use It2
- A Foot On The Bottom Rung: First Forays Into Responsive Web Development3
- Techniques For Gracefully Degrading Media Queries4
- Responsive Web Design Techniques, Tools and Design Strategies5
- How To Use CSS3 Media Queries To Create a Mobile Version of Your Website6
- Device-Agnostic Approach To Responsive Web Design7
- Progressive And Responsive Navigation8
- Content Prototyping In Responsive Web Design9
- Is There Ever A Justification For Responsive Text?10
You cannot plan for and design a responsive12, content-focused13, mobile-first14 1 website the same way you’ve been creating websites for years—you just can’t. If your goal is to produce something that is not fixed-width and serves smaller devices just the styles they require, why would you use a dated process that contradicts those goals?
I’d like to walk you through some problems caused by using old processes with responsive design. Let’s look into an evolving design process we’ve16 2 been using with some promising new deliverables and tools. This should provide a starting point for you to freshen up your own process and bring it into the responsive age.
Almost every new client these days wants a mobile version of their website. It’s practically essential after all: one design for the BlackBerry, another for the iPhone, the iPad, netbook, Kindle — and all screen resolutions must be compatible, too. In the next five years, we’ll likely need to design for a number of additional inventions. When will the madness stop? It won’t, of course.
In the field of Web design and development, we’re quickly getting to the point of being unable to keep up with the endless new resolutions and devices. For many websites, creating a website version for each resolution and new device would be impossible, or at least impractical. Should we just suffer the consequences of losing visitors from one device, for the benefit of gaining visitors from another? Or is there another option?
Responsive design is the hottest topic in front-end Web development right now. It’s going to transform the Web into an all-singing, all-dancing, all-devices party, where we can access any information located anywhere in the world. But does responsive design translate well from the text-heavy Web design blogosphere to the cold hard reality of commercial systems?
Rumors came through our office grapevine that management was looking to revamp our mobile presence. There was talk of multiple apps being built externally that could be used on some of the major mobile devices. Our team had been getting familiar with responsive design and put forward a proposal of doing away with device-specific apps and developing a single responsive website that could be served to both desktop and mobile users. After a few hasty demos and prototypes, the idea was accepted and we began work.
Media queries are the third pillar in Ethan Marcotte’s implementation of responsive design. Without media queries, fluid layouts would struggle to adapt to the array of screen sizes on the hundreds of devices out there. Fluid layouts can appear cramped and unreadable on small mobile devices and too large and chunky on big widescreen displays. Media queries enable us to adapt typography to the size and resolution of the user’s device, making it a powerful tool for crafting the perfect reading experience.
CSS3 media queries, which include the browser width variable, are supported by most modern Web browsers. Mobile and desktop browsers that lack support will present a subpar experience to the user unless we step up and take action. I’ll outline some of techniques that developers can follow to address this problem.
Back in January, we published an article on responsive design, “Responsive Web Design: What It Is and How to Use It28.” Responsive design continues to get a lot of attention, but considering how different it is from the “traditional” way of designing websites, it can be a bit overwhelming for those designers who have yet to try it.
To that end, we’ve compiled this roundup of resources for creating responsive website designs. Included are tutorials, techniques, articles, tools and more, all geared toward giving you the specific knowledge you need to create your own responsive designs.
CSS3 continues to both excite and frustrate web designers and developers. We are excited about the possibilities that CSS3 brings, and the problems it will solve, but also frustrated by the lack of support in Internet Explorer 8. This article will demonstrate a technique that uses part of CSS3 that is also unsupported by Internet Explorer 8. However, it doesn’t matter as one of the most useful places for this module is somewhere that does have a lot of support – small devices such as the iPhone, and Android devices.
In this article I’ll explain how, with a few CSS rules, you can create an iPhone version of your site using CSS3, that will work now. We’ll have a look at a very simple example and I’ll also discuss the process of adding a small screen device stylesheet to my own site to show how easily we can add stylesheets for mobile devices to existing websites.
This is a different take on Responsive Web design. This article discusses how we can better embrace what the Web is about by ignoring the big elephant in the room; that is, how we can rely on media queries and breakpoints without any concern for devices.
Developing for the Web can be a difficult yet rewarding job. Given the number of browsers across the number of platforms, it can sometimes be a bit overwhelming. But if we start coding with a little forethought and apply the principles of progressive enhancement from the beginning and apply some responsive practices at the end, we can easily accommodate for less-capable browsers and reward those with modern browsers in both desktop and mobile environments.
While the reality of client work sometimes makes it challenging to gather and produce content prior to starting the design, this is now widely accepted as being necessary. You may have heard this referred to as “content-driven design40.” I’m not the first to suggest41 2 that our current approach to responsive Web design could be improved by imparting a bigger role to content42 in determining how our websites respond. However, I haven’t seen many (if not any) practical explanations on how to do this. I’d like to start this conversation by introducing a theoretical concept called a “content prototype.”
Depending on who you follow and what you read, you may have noticed the concept of “responsive text” being discussed in design circles recently. It’s not what you might imagine — resizing and altering the typography to make it easier to read on a range of devices — but rather delivering varying amounts of content to devices based on screen size.
One example of this is an experiment by designer Frankie Roberto46 1. Another is the navigation menu on the website for Sifter App47 2. Roberto and Sifter are using media queries to actually hide and display text based on screen size (i.e. not rewriting or delivering different content based on context — as one would do with mobile-focused copy, for example).
Having looked at how this technique works, I wouldn’t endorse it yet, because its practical value is not clear. Also, describing this as “responsive” could legitimize what is possibly a less than optimal coding technique. Below are screenshots of how it works on the Sifter website:
- 1 #a1
- 2 #a2
- 3 #a3
- 4 #a4
- 5 #a5
- 6 #b1
- 7 #b2
- 8 #c1
- 9 #c2
- 10 #c3
- 11 http://uxdesign.smashingmagazine.com/2012/05/30/design-process-responsive-age/
- 12 http://www.alistapart.com/articles/responsive-web-design/
- 13 http://adactio.com/journal/4523/
- 14 http://www.lukew.com/ff/entry.asp?933
- 15 http://uxdesign.smashingmagazine.com/2012/05/30/design-process-responsive-age/
- 16 http://seesparkbox.com/
- 17 http://uxdesign.smashingmagazine.com/2012/05/30/design-process-responsive-age/
- 18 http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design/
- 19 http://www.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design/
- 20 http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design//#more-75660
- 21 http://mobile.smashingmagazine.com/2012/05/18/first-forays-into-responsive-web-development/
- 22 http://mobile.smashingmagazine.com/2012/05/18/first-forays-into-responsive-web-development/
- 23 http://mobile.smashingmagazine.com/2012/05/18/first-forays-into-responsive-web-development/
- 24 http://coding.smashingmagazine.com/2011/08/10/techniques-for-gracefully-degrading-media-queries/
- 25 http://coding.smashingmagazine.com/2011/08/10/techniques-for-gracefully-degrading-media-queries/
- 26 http://coding.smashingmagazine.com/2011/08/10/techniques-for-gracefully-degrading-media-queries/
- 27 http://www.smashingmagazine.com/2011/07/22/responsive-web-design-techniques-tools-and-design-strategies/
- 28 http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design/
- 29 http://www.smashingmagazine.com/2011/07/22/responsive-web-design-techniques-tools-and-design-strategies/
- 30 http://www.smashingmagazine.com/2011/07/22/responsive-web-design-techniques-tools-and-design-strategies/
- 31 http://coding.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/
- 32 http://www.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/
- 33 http://coding.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/
- 34 http://coding.smashingmagazine.com/2012/03/22/device-agnostic-approach-to-responsive-web-design/
- 35 http://coding.smashingmagazine.com/2012/03/22/device-agnostic-approach-to-responsive-web-design/
- 36 http://coding.smashingmagazine.com/2012/02/13/progressive-and-responsive-navigation/
- 37 http://coding.smashingmagazine.com/2012/02/13/progressive-and-responsive-navigation/
- 38 http://coding.smashingmagazine.com/2012/02/13/progressive-and-responsive-navigation/
- 39 http://mobile.smashingmagazine.com/2011/09/26/content-prototyping-in-responsive-web-design/
- 40 http://www.zeldman.com/2008/05/06/content-precedes-design/
- 41 http://www.markboulton.co.uk/journal/comments/a-richer-canvas
- 42 http://adactio.com/journal/4523/
- 43 http://mobile.smashingmagazine.com/2011/09/26/content-prototyping-in-responsive-web-design/
- 44 http://mobile.smashingmagazine.com/2011/09/26/content-prototyping-in-responsive-web-design/
- 45 http://mobile.smashingmagazine.com/2012/02/27/ever-justification-for-responsive-text/
- 46 http://www.frankieroberto.com/responsive_text
- 47 https://sifterapp.com/
- 48 http://mobile.smashingmagazine.com/2012/02/27/ever-justification-for-responsive-text/
- 49 http://mobile.smashingmagazine.com/2012/02/27/ever-justification-for-responsive-text/
Leave a Comment
Yay! You've decided to leave a comment. That's fantastic! Please keep in mind that comments are moderated and
rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or else it will be deleted. Let's have a personal and meaningful conversation instead. Thanks for dropping by!