You can use one of the 6 main colors:
is-primaryis-linkis-infois-successis-warningis-danger
---
title: Modifiers syntax
subtitle: "Most Bulma elements have alternative styles. To apply them, you only need to append one of the modifier classes.
They all start with is- or has-."
layout: documentation
doc-tab: modifiers
doc-subtab: syntax
breadcrumb:
- home
- documentation
- modifiers
- modifiers-syntax
---
{% capture button_example %}
Button
{% endcapture %}
{% capture button_primary_example %}
Button
{% endcapture %}
Let's start with a simple button that uses the "button" CSS class:
{{button_example}}
By adding the "is-primary" CSS class, you can modify the color:
{{button_primary_example}}
You can use one of the 6 main colors:
is-primaryis-linkis-infois-successis-warningis-dangerYou can also alter the size:
is-smallis-mediumis-large