CSS translate Property Reference
The CSS translate property is a standard property in CSS Transforms. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
translate overview
The CSS translate 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
| Field | Value |
|---|---|
| Formal syntax | none | <length-percentage> [ <length-percentage> <length>? ]? |
| Initial value | none |
| Applies to | transformableElements |
| Inherited | No |
| Percentages | referToSizeOfBoundingBox |
| Computed value | asSpecifiedRelativeToAbsoluteLengths |
| Animation type | transform |
| Media | visual |
| Specification group | CSS Transforms |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set translate. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
translate: initial;
}
.inherit-example {
translate: inherit;
}
@supports (translate: initial) {
.supported {
translate: initial;
}
}