HTML CSS examples for CSS Layout:Flex Align
Align flex item to end of container
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div {<!--from ww w. j av a 2s . c om--> display:flex; flex-direction:column; align-items:flex-end; justify-content:flex-end; background:yellow; padding:51px; width:401px; height:301px; } </style> </head> <body> <div> <p> Align me in the bottom left corner. </p> </div> </body> </html>