SlideShare a Scribd company logo
Mobile Web Development ­ Getting Started with 
Responsive Web Design
Since web apps are being used on so many different devices with different 
screens and resolutions, the ability to create a responsive User Interface 
(UI) is becoming a critical skill for every modern web developer. 
Recently, I was asked to help build a mobile game with the PhoneGap 
framework, HTML5 and JavaScript. My main tasks were to take the UI to 
the next level and make it transition smoothly to the various screen 
resolutions on our supported devices. Since the game UI was not 
originally developed to fit so many screen sizes and resolutions, I had a lot 
of work to do.
The examples in this article show that while developing apps, you should 
ask yourself how the app UI will adapt to different devices, and you 
should anticipate the need for these responsive capabilities beforehand. In 
this article, you will be presented with techniques to create responsive 
web designs using flexible layouts and media queries.
Your App Must Adapt
More and more people want to use your web apps on their mobile devices, 
and the sizes and resolutions of those devices are becoming more diverse 
by the day. You already know the basics: generally, there are tablets and 
smartphones with landscape and portrait views. Plus, do not forget about 
taking advantage of high­res “retina” displays.
So, would you pick a resolution and build your app according to that 
resolution? Would you use JavaScript to calculate the different views sizes 
and adapt accordingly? All you know is, you need your code to respond to 
the device information.
Responsive Web Design
Responsive web design is becoming a standard practice in web 
development. The concept really took off after Ethan Marcotte published 
his famous article ­ Responsive Web Design. Responsive web design is an 
approach to scale and fit the UI of app views to the variety of devices and 
browsers. It also includes design considerations that you, or the designer 
you work with, should apply while designing your UI such as where to put 
each page element when the screen is in landscape mode or portrait mode. 
Essentially, you need to design a different view for landscape an portrait 
views, and optionally provide different interfaces for desktop, smartphone, 
tablet and even for smart televisions.
There are some techniques to keep in mind when building a 
responsive UI:
Flexible layouts – Using proportional sizes to fit to every page. You can 
also use new CSS3 modules like grid layout, flexbox and more.
Flexible images and media – Using CSS to avoid images or media overflow 
out of their containing elements.
Media queries – Using the CSS3 media queries module to detect media 
features like screen resolution and to respond accordingly with CSS.
All the techniques are based on CSS. If you are not familiar with CSS, you 
should stop reading the article and use W3C CSS tutorial, starting with 
HTML + CSS to get familiar with the topic. The first technique we will 
use is flexible layouts.
When working on mobile web development projects, you will use 
combinations of all the previous techniques in order to create a responsive 
web design. In most cases, you will use media queries to detect the media 
changes and respond accordingly, but the other techniques are going to be 
very useful as well.

More Related Content

DOC
Methods of Mobile Optimization
PPTX
User interfaces for mobile applications
PDF
Cool App Ideas - Native , Hybrid or Web Apps - Netset
PPTX
Responsive Web Design Analysis
PPT
Mobile app design tips
PDF
Business Advantage of Responsive Design
DOCX
The mistake of designing an app that is output driven
PPTX
Phone UI Design
Methods of Mobile Optimization
User interfaces for mobile applications
Cool App Ideas - Native , Hybrid or Web Apps - Netset
Responsive Web Design Analysis
Mobile app design tips
Business Advantage of Responsive Design
The mistake of designing an app that is output driven
Phone UI Design

What's hot (20)

PPTX
Achieving quality contraints
PDF
Apps are destroyed in these ways....
PPT
Impact_Responsive Web Design Brings Success to Your Business-AmitFBOXERLLP
PPT
Impact_Responsive web design brings success to your business
PPTX
Responsive Web Design | Website Designing
PDF
Responsive web design blog sample
PPTX
Earning scopes from android apps
PDF
Boosting up Web & Mobile App Development
PDF
5 Reasons to go Responsive
TXT
Successsign article
PPT
10 Desirable Mobile App Graphic Design trends for 2016
PDF
Q&A with a Flutter Developer
PDF
Q&A with a Flutter Developer
PDF
App Development Smart Guide
PDF
A smart guide to app development
PDF
UI Consistency vs UX
PPTX
Nitishreys
PPT
18 Vital Tips for UI Designers
PPTX
How not having a Responsive Website can be Detrimental to your business?
PPTX
Universal Usability
Achieving quality contraints
Apps are destroyed in these ways....
Impact_Responsive Web Design Brings Success to Your Business-AmitFBOXERLLP
Impact_Responsive web design brings success to your business
Responsive Web Design | Website Designing
Responsive web design blog sample
Earning scopes from android apps
Boosting up Web & Mobile App Development
5 Reasons to go Responsive
Successsign article
10 Desirable Mobile App Graphic Design trends for 2016
Q&A with a Flutter Developer
Q&A with a Flutter Developer
App Development Smart Guide
A smart guide to app development
UI Consistency vs UX
Nitishreys
18 Vital Tips for UI Designers
How not having a Responsive Website can be Detrimental to your business?
Universal Usability
Ad

Similar to Mobile web development (20)

DOCX
Responsive Web Design vs Mobile Web App
PDF
Uxpin web ui design patterns 2014
PDF
Responsive Web Design
PDF
Multi screen HTML5
PDF
Intro to Responsive
PPTX
Responsive Web Designing for web development
DOCX
Responsive Web Design vs Mobile Web App
PDF
Web UI Design Patterns 2014
PPTX
Responsive Web design
PDF
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
PDF
Responsive Testing the Promet Way
PDF
Responsive Design Testing the Promet Way
PPTX
Responsive Web Design
PDF
Responsive Web Design Framework for Modern Websites.pdf
PDF
Bank Chris - Web UI Design Patterns - 2014
PPT
Optimizing Sites for Mobile Devices
PDF
Responsive Web Design - more than just a buzzword
PDF
IJSRED-V2I5P23
PDF
Future-Proofing the Web: Choosing the Optimal Mobile Design Strategy
PDF
Choices for Responsive Redesign: Ground-up or Responsive Retrofit
Responsive Web Design vs Mobile Web App
Uxpin web ui design patterns 2014
Responsive Web Design
Multi screen HTML5
Intro to Responsive
Responsive Web Designing for web development
Responsive Web Design vs Mobile Web App
Web UI Design Patterns 2014
Responsive Web design
Ready to go Mobile? Today's Mobile Landscape: Responsive, Adaptive, Hybrid, a...
Responsive Testing the Promet Way
Responsive Design Testing the Promet Way
Responsive Web Design
Responsive Web Design Framework for Modern Websites.pdf
Bank Chris - Web UI Design Patterns - 2014
Optimizing Sites for Mobile Devices
Responsive Web Design - more than just a buzzword
IJSRED-V2I5P23
Future-Proofing the Web: Choosing the Optimal Mobile Design Strategy
Choices for Responsive Redesign: Ground-up or Responsive Retrofit
Ad

Mobile web development