Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Transitions and Transforms Adding 3D Effects with CSS Create a Flipping Animation with 3D Transform Properties

Firefox 3D perspective issue [trick]

In case your 3d effects are not working in firefox you can use the perspective property as a function and add in to the transform property like this:

transform: perspective(500px) rotateY(180deg);

1 Answer

Gari Merrifield
Gari Merrifield
9,598 Points

That's a bit of a hack, but not a really good one. Adding "transform-style: preserve-3d;" to the ".photo" and the ".photo-container" are a better solution for Firefox.