CSS Image-Orientation Property

CSS 1

CSS 2

CSS 3

No No Yes

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.

Syntax

image-orientation: [value];

Possible values

  • auto
  • [angle]

Initial Value

Auto

Applies To

Images

Inherited

N/A

Media

Paged

Example

.class {
  image-orientation: 90deg  ;
}


View All CSS Properties