Īligns the baseline of the element to the given percentage above the baseline of its parent, with the value being a percentage of the line-height property. Īligns the baseline of the element to the given length above the baseline of its parent. middleĪligns the middle of the element with the baseline plus half the x-height of the parent. text-bottomĪligns the bottom of the element with the bottom of the parent element's font. text-topĪligns the top of the element with the top of the parent element's font. superĪligns the baseline of the element with the superscript-baseline of its parent. subĪligns the baseline of the element with the subscript-baseline of its parent. The baseline of some replaced elements, like, is not specified by the HTML specification, meaning that their behavior with this keyword may vary between browsers. These values vertically align the element relative to its parent element: baselineĪligns the baseline of the element with the baseline of its parent.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |