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 Activate 3D Space with perspective

AYA AYA
AYA AYA
5,423 Points

3D Transforms

i don't know why 3D transforms doesn't work in firefox , i have the 47 version , when i preview the page i don't see any 3D transforms !!

1 Answer

Gari Merrifield
Gari Merrifield
9,597 Points

Firefox seems to make different assumptions than other browsers. In Firefox 58, there are still some quirks, as compared to other browsers. Elements between the one set with perspective and the target element, you will probably need to add "transform-style: preserve-3d;" such as to ".photo-container" in this lesson, as it sits between ".container", and ".photo"

Firefox seems to want to apply only to direct child elements if you don't add the preserve-3d to the child elements in the cascade.