HTML CSS examples for CSS Layout:Flex
In Flexbox set a border
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> html, body { height:100%; width:100%; } .eqWrap {<!--from w w w. j av a 2 s.c o m--> display:flex; } .eq { padding:11px; background:yellow; margin:3px; border:2px solid Chartreuse; } .my { flex:2; } </style> </head> <body> <div class="eqWrap"> <div class="my eq"> boo <br> boo </div> <div class="my eq"> shoo </div> <div class="my eq"> shoo </div> </div> </body> </html>