-
Now I need to create a square element with coloured background and centred text etc. that basically looks like a button. I would use the button element if I could disable the hover over effects. And that got me thinking about if we could have some kind of box model element in Blazorise?
|
Beta Was this translation helpful? Give feedback.
Answered by
stsrki
Jun 16, 2021
Replies: 1 comment 1 reply
-
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> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sturlath
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is easy in v0.9.4 with new utilities