Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Impressive Presentations with impress.js

You're reading from  Building Impressive Presentations with impress.js

Product type Book
Published in Mar 2013
Publisher Packt
ISBN-13 9781849696487
Pages 124 pages
Edition 1st Edition
Languages
Concepts

Table of Contents (14) Chapters

Building Impressive Presentations with impress.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with Impressive Presentations 2. Exploring Impress Visualization Effects 3. Diving into the Core of impress.js 4. Presenting on Different Viewports 5. Creating Personal Websites 6. Troubleshooting Impress Tools and Resources Index

Data perspective


We have covered all the main effects of impress.js in the previous sections. Finally, we'll take a look at how we can use the data-perspective attribute with impress.js presentations. Perspective determines the distance between you and the z=0 plane. The following is the definition given on CSS perspective by Mozilla.org:

The perspective CSS property determines the distance between the z=0 plane and the user in order to give to the 3D-positioned element some perspective. Each 3D element that is placed between the z=0 and the user is enlarged, each 3D-element with z<0 is shrinked. How much deformation is defined by the value of this property.

As per the definition, the perspective attribute will only affect elements in 3D space. impress.js uses 1000 as the default value for the data-perspective attribute. You can define higher or lower values to increase or decrease the distance. Let's look at our rotation example in different perspective values to get an idea on how it...

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 $15.99/month. Cancel anytime}