Vertical alignment · Bootstrap - align text to the bottom


vertical-align - CSS: Cascading Style Sheets | MDN align text to the bottom

Modern solution. Flexbox was created for exactly these kind of problems: # container { height: 150px;/*Only for the demo.*/ background-color:green;/*Only for the.

For example: style="vertical-align: text-bottom; The values are: bottom; middle; top; text-bottom; baseline; text-top; sub; super. The following code sample shows .

img.a { vertical-align: baseline; } img.b { vertical-align: text-top; } img.c { vertical- align: text-bottom; } img.d { vertical-align: sub; } img.e { vertical-align: super; }.