Specifies up to four separate layout-grid properties that specify the layout of text characters.
If you want to display characters that use a one or two-dimensional grid layout, such as Chinese and Japanese, you can use the layout-grid property to display them properly in web pages.
| Values in this order
Description of values:
|Specifies the size of the character grid for the layout of an element's text content.|
|Specifies the gridline value used for laying out Japanese or Chinese characters in a web document.|
|Specifies whether the text layout grid uses one or two dimensions.|
|Specifies the type of grid to be used for laying out Japanese or Chinese characters in a web document.|
Default: both loose none none.
Example HTML code 1:
This example illustrates the use of the layout-grid property:
Did you find this example helpful?
Supported by tags:
User Contributed Comments