Home > Article > Web Front-end > Summary of display:box function definition and usage
display:box; is a newly added box model attribute of CSS3. The classic layout application is the vertical equal height, horizontal division, and proportional division of the layout. At present, the box-flex attribute is not fully supported by firefox, Opera, and chrome browsers, but their private attributes can be used to define firefox (-moz-), opera (-o-), chrome/safari (-webkit-). 1. box-flex attribute 1. Horizontal equal-width box code: