Buttons

Button tag

In PrimoCSS only the <button> HTML element is styled as well as certain <input> types. Button styles can be created using the button-pattern mixin, adding and styling for color, font-size, border-color, background-color and border-radius. All button styles are set in _elements.forms.scss.

Example
<button>...</button>
<input type="button" value="...">
<input type="submit" value="...">
<input type="reset" value="...">

Disabled state

To disable and remove functionality of a <button> add the disabled attribute.

Example
<button disabled>...</button>

Related content