CSS CSS Transitions and Transforms Adding 3D Effects with CSS Build a Rotating 3D Cube

Why is the photo description and download side labeled as .back when it begins on the left side of the cube?

I found this quite confusing but from a front facing perspective the side that ends up facing you with the description begins on the left side due to this being a 270 degree rotation. so which side does .left attribute to? the back of the cube?

1 Answer

Steven Parker
Steven Parker
203,163 Points

I think the names are based on the final placement of the sides (where they go when you hover the mouse over the cube).

I also found that a bit confusing. I might have named them using the starting placement instead.