HTML CSS examples for CSS Layout:Flex Column
Make Flexbox column the same width
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .block {<!--from ww w. j a v a 2 s. c o m--> display:table; flex-direction:column; align-items:center; } .title { font-size:31px; } .info { display:flex; justify-content:space-between; } </style> </head> <body> <div class="block"> <div class="title"> Some dummy text here, huh </div> <div class="info"> <div class="text"> 1 </div> <div class="text"> 2 </div> <div class="text"> 3 </div> </div> </div> </body> </html>