Skip to Content
Learning CSS3 Animations and Transitions: A Hands-on Guide to Animating in CSS3 with Transforms, Transitions, Keyframes, and JavaScript
book

Learning CSS3 Animations and Transitions: A Hands-on Guide to Animating in CSS3 with Transforms, Transitions, Keyframes, and JavaScript

by Alexis Goldstein
December 2012
Beginner to intermediate
264 pages
7h 5m
English
Addison-Wesley Professional
Content preview from Learning CSS3 Animations and Transitions: A Hands-on Guide to Animating in CSS3 with Transforms, Transitions, Keyframes, and JavaScript

5. Creating 3D Effects with Parallax Scrolling

Combining keyframe animations and transforms with parallax scrolling enables you to create rich, engaging content that has a 3D feel without actually doing any 3D manipulation. This chapter walks you through creating an immersive page with a sense of depth in a 2D space.

Introduction to Parallax Scrolling

Parallax scrolling is a technique in which background images move by the camera—or the person viewing the webpage—more slowly than foreground images. By creating a page that has multiple layers and then animating each layer to move across the screen at different speeds, you can create the illusion of depth.

A typical parallax scrolling effect has the background moving at the slowest speed, a midground ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning CSS3 Animations and Transitions (Companion Video): Hands-on Guide to Animating in CSS3 with Transforms, Transitions, Keyframe Animations, and JavaScript

Learning CSS3 Animations and Transitions (Companion Video): Hands-on Guide to Animating in CSS3 with Transforms, Transitions, Keyframe Animations, and JavaScript

Alexis Goldstein

Publisher Resources

ISBN: 9780133064438