monks/vertical_align
The vertical-align CSS property sets vertical alignment of an inline, inline-block or table-cell box.
Values
pub const baseline: #(String, String)
- : Aligns the baseline of the element with the baseline of its parent. The baseline of some {{ glossary(“replaced elements”)}}, like {{HTMLElement(“textarea”)}}, is not specified by the HTML specification, meaning that their behavior with this keyword may vary between browsers.
pub fn length(value: monks_of_style.Length) -> #(String, String)
length value of vertical-align
pub const middle: #(String, String)
- : Aligns the middle of the element with the baseline plus half the x-height of the parent.
pub const revert_layer: #(String, String)
pub const sub: #(String, String)
- : Aligns the baseline of the element with the subscript-baseline of its parent.
pub const super: #(String, String)
- : Aligns the baseline of the element with the superscript-baseline of its parent.
pub const text_bottom: #(String, String)
- : Aligns the bottom of the element with the bottom of the parent element’s font.
pub const text_top: #(String, String)
- : Aligns the top of the element with the top of the parent element’s font.