is-
has-
Let's start with a simple button that uses the "button" CSS class:
"button"
Button
<a class="button"> Button </a>
By adding the "is-primary" CSS class, you can modify the color:
"is-primary"
<a class="button is-primary"> Button </a>
You can use one of the 5 main colors:
is-primary
is-secondary
is-success
is-warning
is-danger
<a class="button is-primary"> Button </a> <a class="button is-link"> Button </a> <a class="button is-info"> Button </a> <a class="button is-success"> Button </a> <a class="button is-warning"> Button </a> <a class="button is-danger"> Button </a>
You can also alter the size:
is-small
is-medium
is-large
<a class="button is-small"> Button </a> <a class="button"> Button </a> <a class="button is-medium"> Button </a> <a class="button is-large"> Button </a>
Or the style or state:
is-outlined
is-loading
[disabled]
<a class="button is-primary is-outlined"> Button </a> <a class="button is-primary is-loading"> Button </a> <a class="button is-primary" disabled> Button </a>
This page is open source. View on GitHub