![]() |
VOOZH | about |
Buttons are one of the most common UI elements. They made it possible for users to interact with a system and take action by making selections. Sometimes we required different size buttons, there it comes, with the help of the Pure CSS Button Size class.
Pure CSS Button Sizes class: There is no predefined class for button size we have to do that by using CSS.
Button Size percentage depends on the parent:
Syntax:
<button class="button-xsmall pure-button"> ..... </button>
Example: Below example illustrate the Pure CSS Button Sizes.
Output:
Reference link: https://pure-css.github.io/