Components
Utilities
Fonts
Components
Utilities
Fonts
The Box
The box component, is literally a box for you to put some content.
It allows you to define a max width, and if you do, its width won't depend on the content width.
- max-width : define the max-width of the box.
Examples
In this example, we didn't gave a max-width to the box, so as you can see, the box width is based on its content.
My parents width is based on my size
Mine too
Here we have 2 box with a max-width defined.
My parents width isn't based on my size
Mine either