div-aspect
Fixed aspect ratio. The element's height is calculated based on the width, ignoring the height
value.
Parameters
Parameters | Description |
---|---|
ratio |
number Required parameter.
Restriction for the value |
JSON
{
ratio*: "number"
}
Fixed aspect ratio. The element's height is calculated based on the width, ignoring the height
value.
Parameters | Description |
---|---|
ratio |
number Required parameter.
Restriction for the value |
{
ratio*: "number"
}