Chapter    5

CSS3 for Mobile

One of the most exciting aspects of developing for mobile is the support for CSS3 through browsers on the latest smartphones. Prior to CSS3, we relied upon using JavaScript to provide eye-popping animations and transitions, simply applying styles to DOM elements such as the last element within a parent element or alternating table rows.

In this chapter, you will learn some of the new CSS3 features, such as animations and transitions. You will learn how CSS3 can provide similar features to the most basic of animation concepts, called keyframing.

You will learn how to import new font faces within your mobile web application, which will provide a much broader set of typefaces for your audience. You will also take a ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.