About
Every Box components and even the whole main page dimension may be resized with the styling attributes:
- and height.
Dimension
Width
The width attributes support the following values:
- length - a length (in pixel, percentage, or other length unit)
- a conditional length in percentage
- fit-content - the width of the text.
If you want to center the box, use the align attributes
Example: a note will take all the space by default, if you want to constrain the box to a lower size, apply the width attributes.
On a box, the width attribute will apply a maximum-width constraint. When your website will be seen on a screen below this width, the box will adapt accordingly keeping your website responsive.
Height
The height attribute is also a style shortcut that will apply a maximum height.
Example: a note will take all the space by default, if you want to constraint the box to a lower size, apply the width attributes.
I'm a note being constraint in a box with a maximum height of 100 pixel.
Horizontal Scroll
The default scroll mechanism is the lift but you can also set it to a Toggle animation
I'm a note being constraint in a box with a maximum height of 100 pixel and a toggle scroll mechanism. In case, you wish to show the whole content at once.