CSS transform-origin Property Reference

The CSS transform-origin property is a standard property in CSS Transforms. Review its formal syntax, computed behavior, and practical declarations.

CSS transform-origin Property Reference

The CSS transform-origin property is a standard property in CSS Transforms. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

transform-origin overview

The CSS transform-origin property is a standard property in CSS Transforms. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

transform-origin formal syntax
FieldValue
Formal syntax[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?
Initial value50% 50% 0
Applies totransformableElements
InheritedNo
PercentagesreferToSizeOfBoundingBox
Computed valueforLengthAbsoluteValueOtherwisePercentage
Animation typesimpleListOfLpc
Mediavisual
Specification groupCSS Transforms
StatusStandard

Practical examples

These declarations demonstrate valid ways to set transform-origin. The initial and inherit global keywords remain available even when a property-specific value is preferable.

transform-origin live example
CSS .reset-example { transform-origin: initial; } .inherit-example { transform-origin: inherit; } @supports (transform-origin: initial) { .supported { transform-origin: initial; } }

Description

The CSS transform-origin property is a standard property in CSS Transforms. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: transform-origin
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies