Responsive web design
Cascading Style Sheets |
---|
Concepts |
Philosophies |
Tools |
Comparisons |
Responsive web design (RWD) or responsive design is an approach to web design that aims to make web pages render well on a variety of devices and window or screen sizes from minimum to maximum display size to ensure usability and satisfaction.[1][2]
A responsive design adapts the web-page layout to the viewing environment[1] by using techniques such as fluid proportion-based grids,[3][4] flexible images,[5][6] and CSS3 media queries,[7][8][9] an extension of the @media
rule,[10] in the following ways:
- The fluid grid concept calls for page element sizing to be in relative units like percentages, rather than absolute units like pixels or points.[4]
- Flexible images are also sized in relative units, so as to prevent them from displaying outside their containing element.[5]
- Media queries allow the page to use different CSS style rules based on characteristics of the device the site is being displayed on, e.g. width of the rendering surface (browser window width or physical display size).
- Responsive layouts automatically adjust and adapt to any device screen size, whether it is a desktop, a laptop, a tablet, or a mobile phone.
Responsive web design became more important as users of mobile devices came to account for the majority of website visitors.[11][12] In 2015, for instance, Google announced Mobilegeddon and started to boost the page ranking of mobile-friendly sites when searching from a mobile device.[13]
Responsive web design is an example of user interface plasticity.[14]
Challenges, and other approaches
Luke Wroblewski has summarized some of the RWD and mobile design challenges and created a catalog of multi-device layout patterns.[15][16][17] He suggested that, compared with a simple HWD approach, device experience or RESS (responsive web design with server-side components) approaches can provide a user experience that is better optimized for mobile devices.[18][19][20] Server-side CSS generator implementation of stylesheet languages like Sass can be part of such an approach. Google has recommended responsive design for smartphone websites over other approaches.[21]
Although many publishers have implemented responsive designs, one challenge for RWD adoption was that some banner advertisements and videos were not fluid.[22] However, search advertising and (banner) display advertising came to support specific device platform targeting and different advertisement size formats for desktop, smartphone, and basic mobile devices. Different landing page URLs have been used for different platforms,[23] or Ajax has been used to display different advertisement variants on a page.[24][16][25] CSS tables permitted hybrid fixed and fluid layouts.[26]
There have been many ways of validating and testing RWD designs,[27] ranging from mobile site validators and mobile emulators to simultaneous testing tools like Adobe Edge Inspect.[28] The Chrome, Firefox and Safari browsers and developer tools have offered responsive design viewport resizing tools, as do third parties.[29][30]
History
The W3C specification of HTML+ stated that websites have to be rendered according to the user preferences.[31] The customization of web page layout was lacking however. Many web developers resorted to ordinary HTML tables as a way to customize the layout and bring some basic responsiveness to their websites at the same time.
First major site to feature a layout that adapts in a non-trivial manner to browser viewport width was Audi.com launched in late 2001,[32] created by a team at razorfish consisting of Jürgen Spangl and Jim Kalbach (information architecture), Ken Olling (design), and Jan Hoffmann (interface development). Limited browser capabilities meant that for Internet Explorer, the layout could adapt dynamically in the browser whereas, for Netscape, the page had to be reloaded from the server when resized.
Cameron Adams created a demonstration in 2004.[33] By 2008, a number of related terms such as "flexible", "liquid",[34] "fluid", and "elastic" were being used to describe layouts. CSS3 media queries were almost ready for prime time in late 2008/early 2009.[35] Ethan Marcotte coined the term responsive web design[36]—and defined it to mean fluid grid / flexible images / media queries—in a May 2010 article in A List Apart.[1] He described the theory and practice of responsive web design in his brief 2011 book titled Responsive Web Design. Responsive design was listed as #2 in Top Web Design Trends for 2012 by .net magazine after progressive enhancement at #1.[37]
Mashable called 2013 the Year of Responsive Web Design.[38]
Related concepts
Mobile-first design and progressive enhancement are related concepts that predate RWD.[39] Browsers of basic mobile phones do not understand JavaScript or media queries, so a recommended practice was to create a basic web site and enhance it for smartphones and personal computers, rather than rely on graceful degradation to make a complex, image-heavy site work on mobile phones.[40][41][42][43]
See also
- Adaptive web design
- Bootstrap (front-end framework)
- CSS framework
- Em (typography) § CSS
- Foundation (framework)
- Tableless web design
- T Layout
References
- ↑ 1.0 1.1 1.2 Marcotte, Ethan (May 25, 2010). "Responsive Web design". A List Apart. http://www.alistapart.com/articles/responsive-web-design/.
- ↑ Schade, Amy (2014-05-04). "Responsive Web Design (RWD) and User Experience". https://www.nngroup.com/articles/responsive-web-design-definition/.
- ↑ "Core concepts of Responsive Web design". September 8, 2014. http://msdn.microsoft.com/en-us/magazine/hh653584.aspx.
- ↑ 4.0 4.1 Marcotte, Ethan (March 3, 2009). "Fluid Grids". A List Apart. http://www.alistapart.com/articles/fluidgrids/.
- ↑ 5.0 5.1 Marcotte, Ethan (June 7, 2011). "Fluid images". A List Apart. http://www.alistapart.com/articles/fluid-images/.
- ↑ Hannemann, Anselm (September 7, 2012). "The road to responsive images". net Magazine. http://www.creativebloq.com/html5/road-responsive-images-9126108.
- ↑ Gillenwater, Zoe Mickley (December 15, 2010). Examples of flexible layouts with CSS3 media queries. Stunning CSS3. pp. 320. ISBN 978-0-321-722133. http://zomigi.com/blog/examples-of-flexible-layouts-with-css3-media-queries/.
- ↑ Gillenwater, Zoe Mickley (October 21, 2011). "Crafting quality media queries". http://zomigi.com/blog/essential-considerations-for-crafting-quality-media-queries/.
- ↑ "Responsive design—harnessing the power of media queries". Google Webmaster Central. April 30, 2012. http://googlewebmastercentral.blogspot.jp/2012/04/responsive-design-harnessing-power-of.html.
- ↑ "@media rule". W3C. https://www.w3.org/TR/CSS2/media.html#at-media-rule.
- ↑ "Cisco Visual Networking Index: Global Mobile Data Traffic Forecast Update 2014–2019 White Paper". Cisco. January 30, 2015. http://www.cisco.com/c/en/us/solutions/collateral/service-provider/visual-networking-index-vni/white_paper_c11-520862.html.
- ↑ "Mobile share of U.S. organic search engine visits 2021". Statista. https://www.statista.com/statistics/297137/mobile-share-of-us-organic-search-engine-visits/.
- ↑ "Official Google Webmaster Central Blog: Rolling out the mobile-friendly update". Official Google Webmaster Central Blog. http://googlewebmastercentral.blogspot.com/2015/04/rolling-out-mobile-friendly-update.html.
- ↑ Thevenin, D.; Coutaz, J. (2002). "Plasticity of User Interfaces: Framework and Research Agenda". Edinburgh. pp. 110–117.
- ↑ Wroblewski, Luke (May 17, 2011). "Mobilism: jQuery Mobile". http://www.lukew.com/ff/entry.asp?1330.
- ↑ 16.0 16.1 Wroblewski, Luke (February 6, 2012). "Rolling Up Our Responsive Sleeves". http://www.lukew.com/ff/entry.asp?1494.
- ↑ Wroblewski, Luke (March 14, 2012). "Multi-Device Layout Patterns". http://www.lukew.com/ff/entry.asp?1514.
- ↑ Wroblewski, Luke (February 29, 2012). "Responsive Design ... or RESS". http://www.lukew.com/ff/entry.asp?1509.
- ↑ Wroblewski, Luke (September 12, 2011). "RESS: Responsive Design + Server Side Components". http://www.lukew.com/ff/entry.asp?1392.
- ↑ Andersen, Anders (May 9, 2012). "Getting Started with RESS". http://www.netmagazine.com/tutorials/getting-started-ress.
- ↑ "Building Smartphone-Optimized Websites". https://developers.google.com/webmasters/smartphone-sites/.
- ↑ Snyder, Matthew; Koren, Etai (April 30, 2012). "The state of responsive advertising: the publishers' perspective". .net Magazine. http://www.creativebloq.com/netmag/state-responsive-advertising-publishers-perspective-4126330.
- ↑ "Google Partners Help". google.com. https://support.google.com/adwords/certification/bin/static.py?hl=en&page=guide.cs&guide=23292.
- ↑ "Server-Side Device Detection: History, Benefits And How-To". Smashing magazine. September 24, 2012. http://mobile.smashingmagazine.com/2012/09/24/server-side-device-detection-history-benefits-how-to/.
- ↑ JavaScript and Responsive Web Design Google Developers
- ↑ "The Role of Table Layouts in Responsive Web Design". Web Design Tuts+. http://webdesign.tutsplus.com/tutorials/the-role-of-table-layouts-in-responsive-web-design--webdesign-10294.
- ↑ Young, James (August 13, 2012). "Top responsive web design problems... testing". .net Magazine. http://www.netmagazine.com/features/top-responsive-web-design-problems-and-how-avoid-them#8.
- ↑ Rinaldi, Brian (September 26, 2012). "Browser testing... with Adobe Edge Inspect". http://www.adobe.com/devnet/edge-inspect/articles/browser-testing-across-devices-with-adobe-edge-inspect.html.
- ↑ "Responsive Design View". Mozilla Developer Network. https://developer.mozilla.org/en-US/docs/Tools/Responsive_Design_View.
- ↑ Malte Wassermann. "Responsive design testing tool – Viewport Resizer – Emulate various screen resolutions - Best developer device testing toolbar". maltewassermann.com. http://lab.maltewassermann.com/viewport-resizer/.
- ↑ "An Overview of HTML+". W3C. https://www.w3.org/MarkUp/HTMLPlus/htmlplus_7.html.
- ↑ Kalbach, Jim (July 22, 2012). "The First Responsive Design Website: Audi (circa 2002)."[self-published source?]
- ↑ Adams, Cameron (September 21, 2004). "Resolution dependent layout: Varying layout according to browser width". http://www.themaninblue.com/writing/perspective/2004/09/21/.
- ↑ "G146: Using liquid layout". w3.org. http://www.w3.org/TR/WCAG20-TECHS/G146.html.
- ↑ "Media Queries". w3.org. http://www.w3.org/TR/2009/CR-css3-mediaqueries-20090423/.
- ↑ "OutSeller Group - Organize, Optimize, Maximize". outseller.net. http://outseller.net/2015s-professional-responsive-web-design-offer-businesses/.
- ↑ Grannell, Craig (January 9, 2012). "15 top web design and development trends for 2012". .net Magazine. https://www.netmagazine.com/features/15-top-web-design-and-development-trends-2012.
- ↑ Cashmore, Pete (December 11, 2012). "Why 2013 Is the Year of Responsive Web Design". http://mashable.com/2012/12/11/responsive-web-design/.
- ↑ "What is Responsive Web Design". July 23, 2012. http://www.webhostdesignpost.com/webdesign/whatisresponsivewebdesign.html.
- ↑ Wroblewski, Luke (November 3, 2009). "Mobile First". http://www.lukew.com/ff/entry.asp?933.
- ↑ Firtman, Maximiliano (July 30, 2011). Programming the Mobile Web. pp. 512. ISBN 978-0-596-80778-8. https://archive.org/details/programmingmobil0000firt/page/512.
- ↑ "Graceful degradation versus progressive enhancement". February 3, 2009. http://docs.webplatform.org/wiki/tutorials/graceful_degradation_versus_progressive_enhancement.
- ↑ Parker, Todd; Wachs, Maggie Costello; Jehl, Scott (February 2010). Designing with Progressive Enhancement. pp. 456. ISBN 978-0-321-65888-3. http://filamentgroup.com/dwpe/. Retrieved March 1, 2010.
Original source: https://en.wikipedia.org/wiki/Responsive web design.
Read more |