Skip to content

Is there a Box concept? #2484

Answered by stsrki
sturlath asked this question in Q&A
Jun 16, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This is easy in v0.9.4 with new utilities

<Div Border="Border.Is1.Success" Shadow="Shadow.Default" Padding="Padding.Is3" Margin="Margin.Is2" Style="width: 300px;">
    This text is the content of the box. We have added a size 3 padding, size 2 margin and a green border. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</Div>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sturlath
Comment options

Answer selected by sturlath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants