© Risto Viita/Shutterstock


Performing CSS Transitions and Animations

THROUGHOUT THIS BOOK, YOU have used JavaScript, jQuery, and the HTML 5 canvas to create dynamic text and graphics-based animations. In this chapter you will learn how to perform animations using CSS transitions, which specify the properties you desire for an element’s starting and ending state. The browser, in turn, applies the transitions to create an animated effect. In this way, you do not need to use JavaScript or jQuery.

Learning Objectives

This chapter explains how to use CSS transitions to specify an HTML element’s ending properties. By the time you finish this ...

Get Introduction to Web Development Using HTML 5 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.