The best CSS3 box-lines property Tutorial In 2024, In this tutorial you can learn Examples,Browser Support,Attribute definitions and instructions,grammar,
Specify a div box expanded to allow multiple lines:
At present, all major browsers do not support box-lines property.
box-lines attribute specifies that whenever it runs in the parent box space, whether the column will get a new line.
Tip: By default, the lateral box will lay its children in a single row, and a longitudinal box lay its children in a single column.
Defaults: | single |
---|---|
inherit: | no |
version: | CSS3 |
JavaScript syntax: | object .style.boxLines = "multiple" |
value | Explanation |
---|---|
single | Will be placed in a single row or column of all child elements (element will only be considered to be unsuitable for the overflow) |
multiple | box allows multiple lines to expand to accommodate all its children |