CSS image-orientation Property
Description
The image-orientation
property provides a way to specify a rotation to be applied to an image. This facility is not intended to specify other image transformations such as flipping the image in the horizontal or vertical direction.
- Initial value
- 0deg
- Applies to
- All elements
- Inherited
- Yes
- Media
- Visual
- Computed value
- Specified value, rounded and normalized
- Animatable
- No
- CSS Version
- CSS3
- JavaScript syntax
- object.style.imageOrientation
Syntax
image-orientation: <angle>
Values
- <angle>
Example
.class {
image-orientation: 90deg;
}
Browser Support
Desktop | |||||
X | 81 | 81 | 26 | 67 | 13.1 |
Tablets / Mobile | |||||
![]() |
|||||
81 | 81 | 26 | X | 13.4 | 13.0 |
Last updated by CSSPortal on: