css - Align text to the bottom of a div - Stack Overflow - css bottom text

Category

vertical-align | CSS-Tricks css bottom text


Example. Vertical align an image: img.a { vertical-align: baseline; } img.b { vertical -align: text-top; } img.c { vertical-align: text-bottom; } img.d { vertical-align: sub; }.

Definition and Usage. The bottom property affects the vertical position of a positioned element. This property has no effect on non-positioned elements.

I tried to align my text to the bottom of a div from other posts and answers in stackoverflow I learned to handle this with different css properties.