offset-rotate
Widely availableSince 202296% of users
Controls the rotation of an element as it moves along a path. By default, 'auto' makes the element 'face' the direction it's moving.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since September 2022. Widely available since March 2025.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- transformable elements
- Animation type
- angleOrBasicShapeOrPath
Quick example
.car-icon {
/* Ensures the car always points forward along the curved road path */
offset-rotate: auto;
}Values
autoreverseoffset-rotate browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2022.Safe to use without fallbacks.
Usage96%of people can use this4% use a browser without it.
Browsers
56+
72+
16+
79+Mobile
56+Android
79+Android
16+iOS