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 Unused CSS Stages Transitions and Transforms 3D Transforms: Part 1

David Young
PLUS
David Young
Courses Plus Student 2,607 Points

the back of my image is still side-a, not side b

When i flip it 360deg it only shows side-a image on the back and not side-b. how can I get the other image to be on the other side?

body {
  -webkit-perspective: 800px;
}

.wrap {
  transition: -webkit-transform 1s ease-in;
}

.wrap:hover {
  -webkit-transform: rotate3d(1,1,1, 360deg);
}

.wrap div {
  position: absolute;
}

.side-a {
  z-index: 1;
}

1 Answer

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi David Young,

It looks like you're missing some of the properties covered in this video. For instance, transform-style for .wrap, rotateY() value for .side-b, etc.

Hope this helps. :)