HTML CSS examples for CSS Form:input button layout
Justify button's widths inside 100% width container
<html lang="en"> <head> <title> Ralph Mason</title> <style> .button-group {<!--from w w w . jav a 2 s . c o m--> display: flex; } button { flex: 1 100%; } </style> </head> <body translate="no"> <div class="button-group"> <button>1</button> <button>2</button> <button>3</button> </div> </body> </html>