monks/image_orientation

The image-orientation CSS property specifies a layout-independent correction to the orientation of an image.

Values

pub const flip: #(String, String)

flip value of image-orientation

pub const from_image: #(String, String)
  • : Default initial value. The EXIF information contained in the image is used to rotate the image appropriately.> [!WARNING]> image-orientation: none; does not override the orientation of non-secure-origin images as encoded by their EXIF information, due to security concerns. Find out more from the CSS working group draft issue.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for image-orientation

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for image-orientation. It will be wrapped in var() and have -- prepended.

Search Document