Mobile Web Design
Known issues and limitations in Mobile Web Design are many, but can for the most part be summarized into the following three main categories:
- Presentation Limitations – including screen size and resolution, projection (scale to other screens), support for visual effects, browser, media player, etc
- Input Limitations – such as navigation, form controls and condensed keyboards, etc
- Physical Limitations – as in memory size, processor speed, network card, graphics cards, sound cards, etc
These issues make designing web and other user interfaces for the mobile extremely challenging.
Contents
Approaches
User-Agent Detection
User-Agent string matching or checking can be done to determine on the server-side (or client-side) whether the user is accessing your site via a Mobile Device or larger screened Desktop. This method is subject to abuse though as the User-Agent can be spoofed, hidden, missing (i.e. old device or stripped down) or just plain inaccurate, and should be considered unreliable. However, it can still be used for "suggested" redirecting or basic device/capability checking. Important variables include:
- navigator.userAgent
- navigator.appName
- navigator.appVersion
To list out all User-Agent related information, use the following:
for (i in navigator) { document.write('<br />navigator.' + i + ' = ' + navigator[i]); }
<?php $mobile_browser = '0'; if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|android)/i', strtolower($_SERVER['HTTP_USER_AGENT']))) { $mobile_browser++; } if ((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') > 0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) { $mobile_browser++; } $mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4)); $mobile_agents = array( 'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac', 'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno', 'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-', 'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-', 'newt','noki','oper','palm','pana','pant','phil','play','port','prox', 'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar', 'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-', 'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp', 'wapr','webc','winw','winw','xda ','xda-'); if (in_array($mobile_ua,$mobile_agents)) { $mobile_browser++; } if (strpos(strtolower($_SERVER['ALL_HTTP']),'OperaMini') > 0) { $mobile_browser++; } if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'windows') > 0) { $mobile_browser = 0; } if ($mobile_browser > 0) { // do something } else { // do something else } ?>
Progressive Enhancement
Progressive Enhancement is a strategy for web design that emphasizes accessibility, semantic markup, and external stylesheet and scripting technologies. Progressive enhancement uses web technologies in a layered fashion that allows everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing those with better bandwidth or more advanced browser software an enhanced version of the page.
PWA
Progressive Web Applications (PWA) are lightweight self-contained web applications that are "Added to Homescreen" using the corresponding Mobile "Add to Homescreen" option, whereby the PWA will appear with an icon in a similar manner to the Native Applications installed on the device.
PWAs typically leverage some or all of the following web technologies:
- Metadata
- Manifest JSON (metadata & "discoverability")
- Add To Homescreen to enable adding the app to your Mobile device (and now through Windows Store's PWA support, PC Desktop)
- ServiceWorkers for more efficient data retrieval
- WebWorkers for background data processing
- AJAX/Fetch for real-time updates from client-server or server-client
- SSEs
- localStorage for caching of frequently needed data
- Offline Mode
- Feature-Policy (which requests and users optionally grant access to features like: Accelerator, Magnetoscope, Altimeter, GPS/Location, Notifications, etc)
- Progressive Web Apps (PWA) showcase: https://pwa.rocks
- PWA - Manifest (JSON) spec: https://w3c.github.io/manifest/[7]
- PWA Stats: https://www.pwastats.com[8]
- Google Dev docs -- Progressive Web App checklist: https://developers.google.com/web/progressive-web-apps/checklist | WebApp Manifest | EXAMPLE[9][10]
[11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]
- FireFox Dev docs -- Progressive Web App checklist: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps | Manifest
[24] [25] [26] [27] [28] [29] [30] [31] [32]
- Progressive Web Apps in the Microsoft Store: https://docs.microsoft.com/en-us/microsoft-edge/progressive-web-apps/microsoft-store
[33] [34] [35] [36] [37] [38] [39] [40] [41] [42]
- Progressive Web Apps on iOS are here: https://medium.com/@firt/progressive-web-apps-on-ios-are-here-d00430dee3a7
[43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59]
- Web App Manifest generator: https://tomitm.github.io/appmanifest/
- "Add to Homescreen" via webapp/website PoC: https://output.jsbin.com/gogiyas/
- PWA starter kit: https://pwa-starter-kit.polymer-project.org | SRC
[66]
[67]
[68]
[69]
[70]
[71]
[72]
[73]
[74]
[75]
[76]
[77]
[78]
[79]
[80]
[81]
[82]
[83]
[84]
[85]
[86]
[87]
[88]
[89]
[90]
[91]
[92]
[93]
[94]
[95]
[96]
[97]
[98]
[99]
[100]
[101]
[102]
[103]
[104]
[105]
No inline JS
- Disable inline-javascript tutorial: https://glebbahmutov.com/blog/disable-inline-javascript-for-security/ | SRC
No inline CSS
- wikipedia: Progressive enhancement
- Plain Old Semantic HTML (POSH): http://microformats.org/wiki/posh
- Hijax -- Progressive Enhancement with Ajax: http://domscripting.com/presentations/xtech2006/
Adaptive
- Adaptive Layout with CSS3 @media queries: http://www.catswhocode.com/blog/create-an-adaptable-website-layout-with-css3-media-queries
Fluid Layouts
The following simple formula can be used for converting Fonts from their pt/px measurements to relative/fluid "em", and also for converting static/fixed width & height layouts (px) to dynamic (%).
Target / Context = Result
For instance to convert a static layout with a main site (just below body) container width of 1080px and a left sidebar menu of 280px with content area of 800px you would do the following conversion for the sidebar width:
280px / 1080px = 25.93%
Now for the remaining content area on the right:
800px / 1080px = 74.07%
The same concept also applies for fluid margin calculations, say there was also a margin of 50px between left and right (meaning the total area was 50 + 280 + 50 + 800 + 50 = 1230px fixed layout, or, 150 needs to be evenly subtracted from the 280 and 800 if the old layout was limited to 1080px), then you have the following:
.container { width: 100%; height: 100%; margin: 4.06%; /* 50px/1230px */ } .sidebar { width: 22.76%; /* 280px/1230px */ } .content { width: 65.04%; /* 800px/1230px */ }
An essential trick for fluid heights is that you need to provide 100% height for the html & body before any child elements can be dynamically resized vertically, as follows:
html, body { height: 100% }
Now the main container on the page can have its content fill the available area, or the whole page itself can even be iFrame'd (as in a Widget, Mashup or other external embed approach), but without this in place, height: 100% on child elements will have no effect.
Responsive Design
Responsive Web Design (RWD) uses a combination of methods including:
- multiple image files (file-sizes/definition/dimensions)
- scalable web Font packages
- % rather than pixel or physical measures on CSS layout properties
- folding of menus once a threshold is surpassed
- large touchable icons in Mobile view that replace regular buttons/links from Desktop view
- gesture support (swipe, pinch/zoom, etc)
- wikipedia: Responsive design
- Mozilla Dev Guide - Responsive Design: http://developer.mozilla.org/en-US/Apps/Progressive/Responsive
- Opera Dev Guide - An Introduction to Meta Viewport and @viewport: https://dev.opera.com/articles/an-introduction-to-meta-viewport-and-viewport/
- Google Dev Guide - Supporting Different Screens in Web Apps: https://developer.android.com/guide/webapps/targeting.html
- Common Techniques in Responsive Web Design: http://msdn.microsoft.com/en-us/magazine/dn217862.aspx[106][107]
- Off-Canvas Navigation for Responsive Book Menu: http://coding.smashingmagazine.com/2013/01/15/off-canvas-navigation-for-responsive-website/
- Creating a Mobile-First Responsive Web Design: http://www.html5rocks.com/en/mobile/responsivedesign/
- Do This to Improve Image Loading on Your Website: https://developer.mozilla.com/videos/improve-image-loading-your-website/
- Responsive Image layout (for Mobile): http://filamentgroup.com/lab/responsive_images_experimenting_with_context_aware_image_sizing/
- Elastic (responsive) Video layout (for Mobile): http://webdesignerwall.com/tutorials/css-elastic-videos[110]
- Responsive Data Tables (using CSS3 @media): http://css-tricks.com/responsive-data-tables/
META
Automatically set the page width to the device's physically available screen width/resolution:
<meta name="viewport" content="width=device-width" />
Disallow pinch/zoom (not a good move for accessibility reasons, but in the right context to maintain screen to content ratios for a particular experience):
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
CSS
Specify the media type to render mobile-specific styles:
<link type="text/css" rel="stylesheet" href="style/mobile.css" media="handheld" />
media Attribute
The CSS spec actually defines a number of device profiles, however, reliance on these as the only method of deciding device dimensions and presentation can be prone to errors as not all devices and browsers respect or follow the standards in this regard. Some may report the wrong profile or no profile at all.
Projector:
<link type="text/css" rel="stylesheet" href="css/projector.css" media="projection" />
Desktop:
<link type="text/css" rel="stylesheet" href="css/desktop.css" media="screen" />
Television:
<link type="text/css" rel="stylesheet" href="css/tv.css" media="tv" />
Mobile device (i.e. Smartphone, Cellphone, etc):
<link type="text/css" rel="stylesheet" href="css/mobile.css" media="handheld" />
Tablet:
<link type="text/css" rel="stylesheet" href="css/tablet.css" media="only screen and (min-width: 321px) and (max-width: 768px)" >
Printer and other print devices or software (such as a PDF converter, screenshot saver, etc):
<link type="text/css" rel="stylesheet" href="css/printer.css" media="print" />
@media Queries
You can also use the above technique of Media queries inline within <style> tags, or inside of an externally loaded CSS file itself:
@media handheld { .container { padding: 0; margin: 0; width: 100%; /* use % widths to prevent content overflows/resizes on mobile */ } .left { padding: 0; margin: 0; width: 20%; } .right { padding: 0; margin: 0; width: 80%; } }
Another useful trick is to be able to make an image or lengthy or secondary content section (i.e. within an ASIDE, DIV or P tag) appear only on orientation change:
.sidebar div { background:url(/img/huge.png) } @media only screen and (max-device-width: 480px) { .sidebar { display:none } } @media only screen and (max-device-width: 480px) and (orientation: landscape) { .sidebar { display:block } .sidebar div { background:url(/img/small.png) } }
Device Breakpoints
Here's a full list of common queries for different screen resolutions and physical device sizes (organized in order of size, biggest to smallest).
Projectors such as in a home theater system, Work office presentation or board room, or Public Advertisement Display screens (expect HD, inability to read small text and changing dimensions => 2048x1536 and up, even iPad now has these specs with its retina display at 264 pixels per inch (ppi))[122]
TVs such as "Smartscreens", Google TV, Connected TVs, etc... (typically a widescreen with HD and retina display ==> 1920x1080)
Business, Hardcore Gaming or Developer Computers (usually use widescreen and/or dual screen display ==> 1680x1050)
@media only screen and (max-width: 959px) { }
Desktops and Laptops (most home PC & Mac users fall into this category ==> 1024x768)[123]
@media only screen and (max-width: 959px) { }
Desktops, Laptops or Netbooks with Smaller than standard 960 pixels wide ( ==> 800x600):
@media only screen and (max-width: 959px) { }
Tablet Portrait size to standard 960 (tablets and browsers ==> 800x1200):[124]
@media only screen and (min-width: 768px) and (max-width: 959px) { }
All Smartphone Mobile Sizes (typically only high-end smartphones approach this max-width ==> 640x480) and Tablet Landscape (lower-end portable devices and browsers ==> 600x1024):
@media only screen and (max-width: 767px) { }
Mobile Landscape Size (horizontal, left-to-right ==> 480x360) to Tablet Portrait (devices and browsers ==> 480x800):
@media only screen and (min-width: 480px) and (max-width: 767px) { }
Mobile Portrait Size (vertical, top-to-bottom ==> 1680x1050) to Mobile Landscape Size (devices and browsers ==> 320x240):
@media only screen and (max-width: 479px) { }
Legacy Mobile Phones, these old devices were believe it or not "phones" before they were portable entertainment centers or business tools and range widely in physical screen size, but typically only support video at 176x144:
@media only screen and (max-width: 320px) { }
- Responsive Design guidelines: http://responsivedesign.is/guidelines
- A-List-Apart -- Response Web Design tutorial: http://alistapart.com/article/responsive-web-design[125]
- The 100% correct way to do CSS breakpoints: https://medium.freecodecamp.org/the-100-correct-way-to-do-css-breakpoints-88d6a5ba1862
- Media Queries for Standard Devices: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/
[126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146]
JS Breakpoints/screen-sizes
JavaScript is far less reliable cross-browser in its interpretation of screen width/height .vs. window width/height .vs. container width/height, so it is almost always recommended to use CSS breakpoints first for acheiving responsive design goals. That said, some common JS utilities to help vary your display for the available screen/window/container real estate follow:
/** * Helper functions to determine styling and sizing display variations */ function getStyle(ele) { return (ele.currentStyle || window.getComputedStyle(ele)); } function getScreenWidth() { return (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth || screen.availWidth || screen.width); } function getScreenHeight() { return (window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight || screen.availHeight || screen.height); } function getContainerWidth(ele) { return (ele.clientWidth || ele.offsetWidth); } function getContainerHeight(ele) { return (ele.clientHeight || ele.offsetHeight); }
- Get the size of the screen, current web page and browser window: https://stackoverflow.com/questions/3437786/get-the-size-of-the-screen-current-web-page-and-browser-window
- How can I attach a window resize event listener in JavaScript?: https://stackoverflow.com/questions/13651274/how-can-i-attach-a-window-resize-event-listener-in-javascript#13651455
- Importing CSS Breakpoints Into JavaScript : https://www.lullabot.com/articles/importing-css-breakpoints-into-javascript
Touch/Drag
- Drag listener effect: https://www.kirupa.com/html5/drag.htm
Hamburger Menu
App Design
In general, both App guidelines advise against building a large number of images statically right into the App, as that can unnecessarily increase App size (Google studies have shown a 1% increase in downloads for every 6MB of install size saved).[148]
- Mobile design 101 - pixels, points and resolutions: https://blog.fluidui.com/designing-for-mobile-101-pixels-points-and-resolutions/
- Screen Size -- SmartWatches: https://www.dimensions.com/collection/smartwatches
iOS - Human Interface guidelines
- Apple’s Guidelines: https://developer.apple.com/design/human-interface-guidelines/
- Image & icon sizing: https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/
- Supporting various Screen-sizes: https://developer.apple.com/documentation/uikit/uiimage/providing_images_for_different_appearances | https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/Displays/Displays.html
- SVG seems like a possible option here too (less clear documentation though): https://developer.apple.com/documentation/uikit/uiimage/creating_custom_symbol_images_for_your_app
http://martiancraft.com/blog/2014/09/vector-images-xcode6/
- Apple -- iOS Device Compatibility Reference - Display resolutions by Device: https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/Displays/Displays.html
[151] [152] [153] [154] [155] [156] [157]
Android - Design guides
- Google’s guidelines: https://material.io/design/
- Image & icon sizing: https://developer.android.com/training/multiscreen/screendensities#TaskProvideAltBmp
- Supporting various Screen-sizes: https://developer.android.com/guide/practices/screens_support
- Single SVG now a viable option for all Device/Screen-size/Resolution/Orientation combinations: https://developer.android.com/training/multiscreen/screendensities#vector-graphics
Tools
- Responsive Design Bookmarklet: http://www.benjaminkeen.com/open-source-projects/smaller-projects/responsive-design-bookmarklet/
- FoNet -- A mobile portal that links to many other Mobile (and non-mobile) SNS: http://fonet.mobi
- Flexible Math (for Fluid Layouts): http://responsv.com/flexible-math/ (quick way to convert fixed/px to %)
Resources
- W3C Proposed Recommendation - Mobile Web Best Practices 1.0: http://www.w3.org/TR/mobile-bp/
- Mobile Web App Checklist: https://web.archive.org/web/20151103001838/http://www.luster.io/blog/9-29-14-mobile-web-checklist.html
- Finger-Friendly Design - Ideal Mobile Touchscreen Target Sizes: http://www.smashingmagazine.com/2012/02/21/finger-friendly-design-ideal-mobile-touchscreen-target-sizes/
- Mobile Reachability -- Rules of Thumb: https://medium.com/@Draward/mobile-reachability-rules-of-thumb-ce37dd0cd3ad
- A Couple of Best Practices for Tablet-Friendly Design: https://css-tricks.com/a-couple-of-best-practices-for-tablet-friendly-design/
- wikipedia: List of common resolutions
- StatCounter -- GlobalStats - Screen Resolutions: https://gs.statcounter.com/screen-resolution-stats | CANADA | US | EU | ASIA
Tutorials
- The 5-Minute CSS Mobile Makeover: http://perishablepress.com/press/2009/08/02/the-5-minute-css-mobile-makeover/
- Android Developer Guide - How to Support Multiple Screens: http://developer.android.com/guide/practices/screens_support.html
- Apple touch icon - The Good, the Bad and the Ugly: http://realfavicongenerator.net/blog/apple-touch-icon-the-good-the-bad-the-ugly/
- How to make your contact forms mobile friendly: http://www.webdesignerdepot.com/2013/03/how-to-make-your-contact-forms-mobile-friendly/
- HTML5 for the Mobile Web - Forms and Input Types: http://mobiforge.com/design-development/html5-mobile-web-forms-and-input-types
- How to Make Your Contact Forms Mobile Friendly: https://www.webdesignerdepot.com/2013/03/how-to-make-your-contact-forms-mobile-friendly/
- Left Half and Right Half Layout – Many Different Ways : https://css-tricks.com/left-and-right/[164][165][166][167]
- Designing search for mobile apps: https://medium.muz.li/designing-search-for-mobile-apps-ab2593e9e413
- UX Design -- How to Use Animations in Mobile Applications: https://uxplanet.org/ux-design-how-to-use-animations-in-mobile-applications-a8257ebffe90
- Building the Universal Menu of Tomorrow (Part 1): https://uxplanet.org/building-the-universal-menu-of-tomorrow-4c2f06635197
- Optimising mobile web navigation (2 recent successes): https://uxdesign.cc/optimising-mobile-web-navigation-2-recent-successes-8132c715f516
- The Current State of Telephone tel: Links: https://css-tricks.com/the-current-state-of-telephone-links/ (likewise but less supported, sms:)
External Links
- wikipedia: Mobile Web Design
- The Extensible Web Manifesto: https://extensiblewebmanifesto.org
- W3C Mobile Web Design webinar: http://www.w3.org/2006/07/Mobile_Web_Design.pdf
- Bringing Web 2.0 to Mobile Devices: http://xtech06.usefulinc.com/schedule/paper/83
- 2009 Webdesign Starter Pack: http://www.webair.it/blog/2009/01/02/2009-webdesign-starter-pack/
- Mountaintop Corners: http://www.alistapart.com/articles/mountaintop/
- 12 Mobile App Design Fundamentals to Enhance User Experience: https://dzone.com/articles/12-mobile-app-design-fundamentals-to-enhance-user
References
- ↑ Using the navigator object to detect client's browser: http://www.javascriptkit.com/javatutors/navigator.shtml
- ↑ Auto detect mobile browser (via user-agent?): http://stackoverflow.com/questions/1005153/auto-detect-mobile-browser-via-user-agent
- ↑ Browser detect: http://www.quirksmode.org/js/detect.html
- ↑ Lightweight Device-Detection in PHP: http://mobiforge.com/developing/story/lightweight-device-detection-php
- ↑ Mobile Device Detection and Redirection with PHP: http://www.mlynn.org/2010/06/mobile-device-detection-and-redirection-with-php/
- ↑ Browser detection using the user-agent (with Chrome example): https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent
- ↑ PWA - manifest spec: https://www.w3.org/TR/appmanifest/
- ↑ PWA case studies: https://developers.google.com/web/showcase/
- ↑ Google's "Weather PWA": https://github.com/googlecodelabs/your-first-pwapp/archive/master.zip
- ↑ PWA installation criteria: https://web.dev/install-criteria/
- ↑ Google Codelabs -- PWAs - Going Offline: https://developers.google.com/codelabs/pwa-training/pwa03--going-offline#0
- ↑ Google Codelabs -- PWAs - Build a PWA with Firebase, Polymerfire and Polymer Components: https://clmirror.storage.googleapis.com/codelabs/polymer-firebase-pwa/index.html
- ↑ Progressive Web Apps (Google overview on PWAs): https://developers.google.com/web/progressive-web-apps/
- ↑ Manifest - Web Accessible Resources: https://developer.chrome.com/extensions/manifest/web_accessible_resources
- ↑ Fullscreen Web App for Android: https://stackoverflow.com/questions/7517352/fullscreen-web-app-for-android
- ↑ 12 HTML5 tricks for mobile (2014): https://www.creativebloq.com/html5/12-html5-tricks-mobile-81412803
- ↑ Removing address bar from browser (to view on Android): https://stackoverflow.com/questions/4068559/removing-address-bar-from-browser-to-view-on-android
- ↑ Making Fullscreen Experiences (desktop & mobile): https://developers.google.com/web/fundamentals/native-hardware/fullscreen/
- ↑ Patterns for Promoting PWA Installation (mobile): https://developers.google.com/web/fundamentals/app-install-banners/promoting-install-mobile
- ↑ User Can Be Prompted To Install The Web App: https://developers.google.com/web/tools/lighthouse/audits/install-prompt
- ↑ Native App Install Prompt: https://developers.google.com/web/fundamentals/app-install-banners/native
- ↑ PWA "Add to Home Screen": https://developers.google.com/web/fundamentals/app-install-banners/ (triggering the prompt intelligently where supported, detecting already addded to homescreen where supported, etc... right now Android/Chrome leads in PWA spec compliance but iOS/Safari shows signs of improvement and should hopefully be catching up)
- ↑ Android Oreo takes a bite out of Progressive Web Apps: https://medium.com/@firt/android-oreo-takes-a-bite-out-of-progressive-web-apps-30b7e854648f
- ↑ Google CodeLabs -- Your First Progressive Web App: https://codelabs.developers.google.com/codelabs/your-first-pwapp/
- ↑ Progressive Web Apps 101: the What, Why and How: PART 1 | PART 2
- ↑ Getting started with Progressive Web Apps: https://addyosmani.com/blog/getting-started-with-progressive-web-apps/
- ↑ Why Are App Install Banners Still A Thing?: https://medium.com/dev-channel/why-are-app-install-banners-still-a-thing-18f3952d349a
- ↑ All you need to know about Progressive Web App: https://codeburst.io/all-you-need-to-know-about-progressive-web-app-4ba73368da66
- ↑ Upgrading the HTML5 Boilerplate Project to a Progressive Web App in 15 Minutes: http://https://love2dev.com/blog/15-minute-progressive-web-app-upgrade/
- ↑ What Browsers Support Service Workers?: http://https://love2dev.com/blog/what-browsers-support-service-workers/
- ↑ Progressive Web Applications Features Make the Web More App-Like: https://love2dev.com/blog/progressive-web-app-features/
- ↑ PWAs .vs. Native for SEO: https://www.searchenginejournal.com/progressive-web-apps-vs-native-apps/198759/#close
- ↑ Microsoft PWAs: https://developer.microsoft.com/en-us/windows/pwa
- ↑ Microsoft is supporting Google's Progressive Web Apps platform and that's great news for everyone: https://www.windowscentral.com/faq-progressive-web-apps-windows-10
- ↑ Tailor your PWA for Windows: https://docs.microsoft.com/en-us/microsoft-edge/progressive-web-apps/windows-features
- ↑ Microsoft Teams and Progressive Web Apps coming soon to the Windows Store: https://www.windowscentral.com/microsoft-teams-and-progressive-web-apps-coming-soon-windows-store
- ↑ Microsoft to Integrate Progressive Web Apps with Windows 10 from Redstone 4: https://winbuzzer.com/2017/10/30/microsoft-integrate-progressive-web-apps-windows-10-redstone-4-xcxwbn/
- ↑ Microsoft tees up Windows 10 support of Progressive Web Apps: https://www.zdnet.com/article/microsoft-tees-up-windows-10-support-of-progressive-web-apps/
- ↑ Microsoft's latest Windows Store strategy involves a rebrand plus Progressive Web Apps: https://www.zdnet.com/article/microsofts-latest-windows-store-strategy-involves-a-rebrand-plus-progressive-web-apps/
- ↑ Yes, PWA Will Kill UWP. It’s OK: https://www.thurrott.com/windows/windows-10/151780/yes-pwa-will-kill-uwp-ok
- ↑ Welcoming Progressive Web Apps to Microsoft Edge and Windows 10: https://blogs.windows.com/msedgedev/2018/02/06/welcoming-progressive-web-apps-edge-windows-10/
- ↑ Progressive Web Apps (PWA) -- What they are, and what they mean for Microsoft: https://www.windowscentral.com/what-are-progressive-web-apps-video
- ↑ A Few Tips That Will Make Your PWA on iOS Feel Like Native: https://www.netguru.com/codestories/few-tips-that-will-make-your-pwa-on-ios-feel-like-native
- ↑ What’s new on iOS 12.2 for Progressive Web Apps: https://medium.com/@firt/whats-new-on-ios-12-2-for-progressive-web-apps-75c348f8e945 excellent breakdown of PWA lifecycle & APIs)
- ↑ iPhone 11, iPadOS and iOS 13 for PWAs and web development: https://medium.com/@firt/iphone-11-ipados-and-ios-13-for-pwas-and-web-development-5d5d9071cc49
- ↑ Enabling iOS Splash Screens for Progressive Web Apps - Everything you should know (2019): https://blog.expo.io/enabling-ios-splash-screens-for-progressive-web-apps-34f06f096e5c
- ↑ How to install PWA apps in your iOS device?: https://www.appypie.com/faqs/how-to-install-pwa-apps-in-your-ios-device
- ↑ How to Test PWA on iOS devices: https://superpwa.com/doc/test-pwa-ios-devices/
- ↑ What Progressive Web Apps are and how to install and use them on iPhone and iPad: https://www.idownloadblog.com/2018/07/19/howto-progressive-web-apps-iphone-ipad/
- ↑ What is Progressive Web App solution for iOS: https://stackoverflow.com/questions/41185471/what-is-progressive-web-app-solution-for-ios
- ↑ Apple’s refusal to support Progressive Web Apps is (was) a detriment to future of the web: https://m.phillydevshop.com/apples-refusal-to-support-progressive-web-apps-is-a-serious-detriment-to-future-of-the-web-e81b2be29676 (at least support for "Slash"/Loading screens, ServiceWorkers & Offline data/caching up to 50MB has been added, as of iOS 12 still missing key "Add to Homescreen" trigger from within website/webapp, configurability, and several other features)
- ↑ Apple Encouraging Progressive Web Apps [PWA] By Rejecting iOS Apps: https://love2dev.com/blog/apple-encouraging-progressive-web-apps-by-rejecting-apps/
- ↑ Safari iOS & PWAs (overview and limitations): https://dockyard.com/blog/2017/07/13/safari-ios-and-progressive-web-apps
- ↑ Don’t use iOS meta tags irresponsibly in your Progressive Web Apps: https://medium.com/@firt/dont-use-ios-web-app-meta-tag-irresponsibly-in-your-progressive-web-apps-85d70f4438cb
- ↑ What You Need to Know about the Progressive Web Application Add to Homescreen or Installation Process: https://love2dev.com/pwa/add-to-homescreen/
- ↑ PWAs are now (properly) available for Apple devices with iOS 12.2 (and 13 beta): https://www.monterail.com/blog/pwa-for-apple-ios
- ↑ Encouraging iOS users to install your Progressive Web Apps in Ember: https://dockyard.com/blog/2017/09/27/encouraging-pwa-installation-on-ios
- ↑ Apple could lose billions on Progressive Web Apps, but it has no choice: https://www.techrepublic.com/article/apple-could-lose-billions-on-progressive-web-apps-but-it-has-no-choice/
- ↑ Is Apple trying to kill PWAs?: https://ionicframework.com/blog/is-apple-trying-to-kill-pwas/
- ↑ wikipedia: Progressive Web App
- ↑ Progressive Web Apps - Escaping Tabs Without Losing Our Soul: https://infrequently.org/2015/06/progressive-apps-escaping-tabs-without-losing-our-soul/
- ↑ Service Worker Caching Strategies Based on Request Types: https://medium.com/dev-channel/service-worker-caching-strategies-based-on-request-types-57411dd7652c
- ↑ Offline Cookbook (with ServiceWorkers): https://jakearchibald.com/2014/offline-cookbook/
- ↑ PWA starter kit -- build fast, scalable, modern apps with Web Components (Google I/O '18): https://www.youtube.com/watch?v=we3lLo-UFtk
- ↑ PWA Starter Kit with Monica Dinculescu - HTTP203 (2018): https://www.youtube.com/watch?v=dfsyABvzpj0
- ↑ Google Chrome samples -- ServiceWorker - Basic example: https://googlechrome.github.io/samples/service-worker/basic/
- ↑ Google Chrome samples -- ServiceWorker - Custom Offline page: https://googlechrome.github.io/samples/service-worker/custom-offline-page/
- ↑ Google Chrome samples -- ServiceWorker - Push Messaging example: | SRC
- ↑ Adding push notifications to a WebApp: https://codelabs.developers.google.com/codelabs/push-notifications/index.html#0
- ↑ Web Push library for Node.js: https://github.com/web-push-libs/web-push
- ↑ The End of App Stores Is Rapidly Approaching: https://onezero.medium.com/the-end-of-app-stores-is-rapidly-approaching-b972da395097 (PWAs may soon free you from Google Play and the iOS App Store)
- ↑ Why Progressive Web Apps Will Replace Native Mobile Apps: https://www.forbes.com/sites/forbestechcouncil/2018/03/09/why-progressive-web-apps-will-replace-native-mobile-apps/
- ↑ Why progressive web apps are anything but boring – a retail view from Magento: https://diginomica.com/2018/04/06/why-progressive-web-apps-are-anything-but-boring-a-retail-view-from-magento/
- ↑ Progressive Web Applications -- The Thing to Consider When Short on Resources: https://insanelab.com/blog/web-development/progressive-web-apps-pwa-vs-native/
- ↑ What is a PWA? and How to Install / Add to Home Screen Progressive Web Apps? (videos of Desktop .vs. Mobile experience): https://medium.com/pynk/what-is-a-pwa-and-how-to-install-add-to-home-screen-progressive-web-apps-e6e8087d9ad0
- ↑ The modern PWA Cheat Sheet by Maximiliano Firtman | JSConf EU 2019: https://www.youtube.com/watch?v=cybhV88KLfI
- ↑ An introduction to Progressive Web Apps: https://medium.freecodecamp.org/an-introduction-to-progressive-web-apps-6aa75f32816f
- ↑ How to Turn Your Website into a Mobile App with 7 Lines of JSON: https://medium.freecodecamp.org/how-to-turn-your-website-into-a-mobile-app-with-7-lines-of-json-631c9c9895f5
- ↑ Learn how to build a PWA in 5 minutes: https://medium.com/dev-channel/learn-how-to-build-a-pwa-in-under-5-minutes-c860ad406ed
- ↑ I built a Progressive Web App and published it in 3 app stores. Here’s what I learned: https://medium.com/free-code-camp/i-built-a-pwa-and-published-it-in-3-app-stores-heres-what-i-learned-7cb3f56daf9b
- ↑ A Simple Progressive Web App Tutorial: https://medium.com/james-johnson/a-simple-progressive-web-app-tutorial-f9708e5f2605
- ↑ A Beginner's Guide To Progressive Web Apps: https://www.smashingmagazine.com/2016/08/a-beginners-guide-to-progressive-web-apps/
- ↑ Everything You Should Know About Progressive Web Apps: https://tutorialzine.com/2016/09/everything-you-should-know-about-progressive-web-apps | SRC
- ↑ The Complete Guide to Progressive Web Apps: https://flaviocopes.com/progressive-web-apps/
- ↑ The Complete Guide To Progressive Web Apps with Ionic 4: https://ionicthemes.com/tutorials/about/the-complete-guide-to-progressive-web-apps-with-ionic4
- ↑ The Ultimate Guide to Progressive Web Applications: https://developer.okta.com/blog/2017/07/20/the-ultimate-guide-to-progressive-web-applications
- ↑ Getting started with Progressive Web Apps: https://addyosmani.com/blog/getting-started-with-progressive-web-apps/
- ↑ Progressive Web Apps (PWAs) FTW — Pt. 1 - Add To Homescreen & Offline-first experiences: https://medium.com/hackernoon/pwas-ftw-pt-1-37729432d529
- ↑ Progressive Web Apps (PWAs) FTW — Pt. 2 - ServiceWorkers & Cache API: https://hackernoon.com/progressive-web-apps-pwas-ftw-pt-2-31c2779e55c4
- ↑ How to save an image to localStorage and display it on the next page?: stackoverflow.com/questions/19183180/how-to-save-an-image-to-localstorage-and-display-it-on-the-next-page
- ↑ Service workers -- the little heroes behind Progressive Web Apps: https://medium.freecodecamp.org/service-workers-the-little-heroes-behind-progressive-web-apps-431cc22d0f16
- ↑ Service Workers -- Going beyond the page: https://blogs.windows.com/msedgedev/2017/12/19/service-workers-going-beyond-page/
- ↑ Build your first progressive web app with React: https://engineering.musefind.com/build-your-first-progressive-web-app-with-react-8e1449c575cd | SRC
- ↑ BBC News Webpages Move To Faster PWAs: https://www.mediapost.com/publications/article/338603/bbc-news-webpages-move-to-faster-pwas.html
- ↑ How to publish PWA app on Google Play Store – Step by step guide: https://www.vtnetzwelt.com/mobile/publishing-pwa-app-on-google-play-store/
- ↑ Progressive Web Apps are NOT only a Google thing: http://love2dev.com/blog/progressive-web-apps-google/
- ↑ Google, Apple, and Microsoft Are On Board With This Progressive Trend in 2019--Here's Why: http://www.inc.com/tom-popomaronis/why-google-apple-microsoft-are-on-board-with-this-progressive-trend-in-2019.html
- ↑ Progressive Web Apps - Microsoft And Google Are "Falling in Love" With: https://dazeinfo.com/2019/02/05/progressive-web-apps-microsoft-google/
- ↑ Share like a native app with the Web Share API: https://web.dev/web-share/
- ↑ How to Build a Progressive Web App (PWA) with advanced features/APIs like Face Recognition and Speech Recognition: https://dzone.com/articles/tutorial-how-to-build-a-pwa-with-face-and-speechrecognition
- ↑ Workbox - PWA with steroids: kforce.medium.com/workbox-improving-the-pwa-4a5f5bda8c9d (offers a set of libs & Node modules that make it easy to cache assets and take full advantage of features used to build PWAs)
- ↑ Your PWA is going to break in August 2021: https://javascript.plainenglish.io/your-pwa-is-going-to-break-in-august-2021-34982f329f40
- ↑ Google pauses plan to break your PWA: https://javascript.plainenglish.io/google-pauses-plan-to-break-your-pwa-d249bca27852
- ↑ Progressive Web Apps in 2021: https://firt.dev/pwa-2021/
- ↑ 2018 State of Progressive Web Apps: https://medium.com/progressive-web-apps/2018-state-of-progressive-web-apps-f7517d43ba70
- ↑ Designing Experiences for Responsive Web Sites: Adapting Your Content From 4-Inch Phones to 40-Inch TVs: http://msdn.microsoft.com/en-us/magazine/dn197837.aspx
- ↑ Why the Web Is Ready for Responsive Web Design: http://msdn.microsoft.com/en-us/magazine/dn151701.aspx
- ↑ CONDITIONALLY LOAD JAVASCRIPT BASED ON MEDIA QUERY: http://responsivedesign.is/develop/javascript/conditionally-load-javascript-based-on-media-query
- ↑ Space images out to match text height: http://zomigi.com/blog/css-effect-space-images-out-to-match-text-height/
- ↑ Videos styled with an intrinsic-ratio: https://web.archive.org/web/20110802130829/http://www.tjkdesign.com/articles/how-to-resize-videos-on-the-fly.asp
- ↑ Device-Agnostic Approach To Responsive Web Design: http://coding.smashingmagazine.com/2012/03/22/device-agnostic-approach-to-responsive-web-design/1
- ↑ An introduction to meta viewport and @viewport: http://dev.opera.com/articles/view/an-introduction-to-meta-viewport-and-viewport/
- ↑ Mobile Dimensions via CSS/META: http://www.yourhtmlsource.com/accessibility/mobile.html
- ↑ Difference between visual viewport and layout viewport?: https://stackoverflow.com/questions/6333927/difference-between-visual-viewport-and-layout-viewport
- ↑ A tale of two viewports — part one: https://www.quirksmode.org/mobile/viewports.html
- ↑ A tale of two viewports — part two: https://www.quirksmode.org/mobile/viewports2.html
- ↑ Table viewport: http://www.quirksmode.org/mobile/tableViewport.html
- ↑ Responsive Web Design: http://www.alistapart.com/articles/responsive-web-design/
- ↑ CSS contents and browser compatibility - mobile: http://quirksmode.org/m/css.html
- ↑ W3C - Using CSS Flexbox to reflow content: https://www.w3.org/WAI/WCAG21/Techniques/css/C31 | DEMO
- ↑ Sirens - CSS for adaptable content that responds to orientation changes: http://aaronmentele.com/2012/01/13/sirens-2/
- ↑ iPad 3 .vs. iPad 2 specs: http://www.apple.com/ipad/compare/
- ↑ Screen resolution - web usage statistics: http://www.webdevelopersnotes.com/design/web-screen-resolution-usage-statistics.php
- ↑ RIM PlayBook vs Apple iPad: http://www.knowyourmobile.com/comparisons/613275/rim_playbook_vs_apple_ipad.html
- ↑ Responsive Design Breakpoints: The Ultimate Overview: http://1stwebdesigner.com/responsive-design-breakpoints/
- ↑ Media Queries for Standard Devices: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/
- ↑ Common CSS @media queries & breakpoints (by device size): http://stackoverflow.com/questions/16443380/common-css-media-queries-break-points
- ↑ MEDIA QUERIES FOR COMMON DEVICE BREAKPOINTS: http://responsivedesign.is/develop/browser-feature-support/media-queries-for-common-device-breakpoints
- ↑ The Most Used Responsive Breakpoints in 2017 Of Mine: https://medium.com/@uiuxlab/the-most-used-responsive-breakpoints-in-2017-of-mine-9588e9bd3a8a
- ↑ Popular Screen Resolutions: Designing for All: https://mediag.com/news/popular-screen-resolutions-designing-for-all/
- ↑ Are there standard media query break points?: https://teamtreehouse.com/community/are-there-standard-media-query-break-points
- ↑ Screen sizes and breakpoints: https://docs.microsoft.com/en-us/windows/uwp/design/layout/screen-sizes-and-breakpoints-for-responsive-design
- ↑ Defining Breakpoints: https://responsivedesign.is/strategy/page-layout/defining-breakpoints/
- ↑ WHY YOU DON’T NEED DEVICE SPECIFIC BREAKPOINTS (ANYMORE): http://responsivedesign.is/articles/why-you-dont-need-device-specific-breakpoints
- ↑ HOW DO I ORGANISE MY CSS (for Responsive Web Design)?: http://responsivedesign.is/develop/css/how-do-i-organise-my-css
- ↑ Introduction to media queries –- Part I - What are media queries?: https://www.adobe.com/devnet/archive/dreamweaver/articles/introducing-media-queries.html
- ↑ What is the difference between “screen” and “only screen” in media queries?: https://stackoverflow.com/questions/8549529/what-is-the-difference-between-screen-and-only-screen-in-media-queries
- ↑ The Ultimate Overview of Responsive Web Design Breakpoints: https://1stwebdesigner.com/responsive-design-breakpoints/
- ↑ Responsive Breakpoints: http://www.erintozour.com/responsive-breakpoints/
- ↑ A Quick Guide to Responsive Design: https://uxtricks.design/blogs/ux-design/responsive-design/ (mentions SVG suitability for icons and decorative images but not detailed or complex images as much)
- ↑ What media query breakpoints should I use?: https://ricostacruz.com/til/css-media-query-breakpoints
- ↑ Defining Breakpoints in Responsive Web Design: https://www.browserstack.com/guide/responsive-design-breakpoints
- ↑ Responsive email design: https://www.slideshare.net/jfswee/responsive-email-design-guide-44882769
- ↑ Defining Breakpoints in Responsive Web Design: https://www.browserstack.com/guide/responsive-design-breakpoints
- ↑ The responsive design SEO checklist: https://builtvisible.com/the-responsive-design-seo-checklist/
- ↑ IE6 compatible responsive images: http://clagnut.com/sandbox/imagetest3/
- ↑ What Is a Hamburger Menu Button?: https://www.howtogeek.com/720214/what-is-a-hamburger-menu-button/
- ↑ Shrinking APKs growing installs: https://medium.com/googleplaydev/shrinking-apks-growing-installs-5d3fcba23ce2 (Google's study on download rates by app/package size)
- ↑ When designing a mobile app, for what screen size and resolution should I create my designs?: https://www.quora.com/When-designing-a-mobile-app-for-what-screen-size-and-resolution-should-I-create-my-designs
- ↑ API - Image Sizes for iOS and Android (Different Screen sizes) - Optimization: https://stackoverflow.com/questions/46855473/api-image-sizes-for-ios-and-android-different-screen-sizes-optimization
- ↑ What should image sizes be at @1x, @2x and @3x in Xcode?: https://stackoverflow.com/questions/30049544/what-should-image-sizes-be-at-1x-2x-and-3x-in-xcode
- ↑ Launch Screen Image size for all iOS screen sizes: https://stackoverflow.com/questions/32114162/launch-screen-image-size-for-all-ios-screen-sizes
- ↑ Change splash screen in iOS app for dummies (the better way): https://medium.com/flawless-app-stories/change-splash-screen-in-ios-app-for-dummies-the-better-way-e385327219e
- ↑ For iOS development what image sizes do I need?: https://answers.unity.com/questions/1315265/for-ios-development-what-image-sizes-do-i-need.html
- ↑ How base image size should I prepare for iOS app?: https://stackoverflow.com/questions/52250504/how-base-image-size-should-i-prepare-for-ios-app
- ↑ UIWebView and SVG images scaling: http://yberdnikov.github.io/2014/06/18/uiwebview-and-svg-images-scaling/
- ↑ Using Vector Images in Xcode 6: http://martiancraft.com/blog/2014/09/vector-images-xcode6/
- ↑ How could I make a list appear 'clickable/touchable?': https://ux.stackexchange.com/questions/92719/how-could-i-make-a-list-appear-clickable-touchable
- ↑ Mobile Product Lists Need Very Distinct Hit Areas: https://baymard.com/blog/mobile-product-list-hit-areas
- ↑ Beyond Blue Links: Making Clickable Elements Recognizable: https://www.nngroup.com/articles/clickable-elements/
- ↑ 11 Most Common Screen Resolution Statistics and Trends: https://brandongaille.com/10-most-common-screen-resolution-statistics-and-trends/
- ↑ Common Screen Resolutions in 2019-2021: https://w3codemasters.in/most-common-screen-resolutions/
- ↑ Screen Resolution Statistics (2014): https://www.rapidtables.com/web/dev/screen-resolution-statistics.html
- ↑ Breaking Out With CSS Grid Layout: https://cloudfour.com/thinks/breaking-out-with-css-grid-layout/
- ↑ CSS Grid: Justification and Alignment: https://alligator.io/css/align-justify/
- ↑ The Ultimate Flexbox Cheat Sheet: https://www.sketchingwithcss.com/samplechapter/cheatsheet.html
- ↑ A Complete Guide to Grid: https://css-tricks.com/snippets/css/complete-guide-grid/
See Also
Mobile Web | Mobile | Web | Web Design | CSS | Browser Detection