C H A P T E R  3

CSS3 and iOS Styling

If you want your mobile site to look like a native app you'll need to spend some time learning the new features of CSS3. In particular there are new features that allow your lists to take on a native look and feel and new features to create awesome buttons as well as novel ways to use backgrounds or create stunning effects.

One way to create these effects is with query selectors and learning how to optimize your CSS for Retina Displays or optimizing for orientation. You might even want to be able to save your web application to the home screen of your iPad or iPhone.

Because CSS3 is a lot different than CSS1 or CSS2 I spend a little bit of time telling you about the differences. This will allow you to navigate ...

Get Learn HTML5 and JavaScript for iOS now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.