Home  >  Article  >  Web Front-end  >  Summary of display:box function definition and usage

Summary of display:box function definition and usage

零下一度
零下一度Original
2017-06-12 13:41:283164browse

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: