monks/background_position_y
The background-position-y CSS property sets the initial vertical position for each background image. The position is relative to the position layer set by {{cssxref(“background-origin”)}}.
The value of this property is overridden by any declaration of the {{cssxref(“background”)}} or {{cssxref(“background-position”)}} shorthand properties applied to the element after it.
Values
pub const bottom: #(String, String)
- : Aligns the bottom edge of the background image with the bottom edge of the background position layer.
pub const center: #(String, String)
- : Aligns the vertical center of the background image with the vertical center of the background position layer.
pub fn length(value: monks_of_style.Length) -> #(String, String)
length value of background-position-y
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for background-position-y
pub const revert_layer: #(String, String)
pub const top: #(String, String)
- : Aligns the top edge of the background image with the top edge of the background position layer.
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for background-position-y.
It will be wrapped in var() and have -- prepended.