CSS · Properties — CSS Transforms

perspective-origin

The CSS perspective-origin property. Initial value: 50% 50%. Not inherited.

Syntax
perspective-origin: <position>

Example

Try it

Notes

Media: visual. Applies to: transformableElements. Computed value: forLengthAbsoluteValueOtherwisePercentage.

More in this group

backface-visibility rotate scale transform-box transform-style translate

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course