Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
HTML5 and CSS3: Building Responsive Websites

You're reading from   HTML5 and CSS3: Building Responsive Websites One-stop guide for Responsive Web Design

Arrow left icon
Product type Course
Published in Oct 2016
Publisher Packt
ISBN-13 9781787124813
Length 709 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (3):
Arrow left icon
Ben Frain Ben Frain
Author Profile Icon Ben Frain
Ben Frain
Benjamin LaGrone Benjamin LaGrone
Author Profile Icon Benjamin LaGrone
Benjamin LaGrone
Thoriq Firdaus Thoriq Firdaus
Author Profile Icon Thoriq Firdaus
Thoriq Firdaus
Arrow right icon
View More author details
Toc

Chapter 5. Making Mobile-first Web Applications

In this chapter, you will learn about:

  • Using the Safari Developer Tools' User Agent switcher
  • Masking your user agent in Chrome with a plugin
  • Using browser resizing plugins
  • Learning the viewport and its options
  • Adding tags for jQuery Mobile
  • Adding a second page in jQuery Mobile
  • Making a list element in jQuery Mobile
  • Adding a mobile native-looking button with jQuery Mobile
  • Adding a mobile stylesheet for mobile browsers only using the media query
  • Adding JavaScript for mobile browsers only

Introduction

In this chapter, we will focus our efforts on mobile-first Responsive Design. By this, we mean first designing your site for the mobile device, and then applying variation or even a wholly different look for the desktop. We'll cover a few recipes on jQuery Mobile, a free and open source library of mobile UI elements and widgets. In addition, we'll build some client-side scripting to handle a unique look only for mobile devices.

Using...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime