CSS Master Code Examples: Chapter 6

Back to chapter demo list

transform: scaleZ(0)

Note: Because scaleZ scales the Z dimension — or the dimension that's perpendicular to your viewing position — it's easier to see the effect if the object is rotated as we've done here.

-5 5