Buttons
Different types of buttons.
Normal buttons
To use a button, add a button with a class named .btn
. You can use on it any color in the color
palette.
The normal button is the only variant that can be used with the
hoverable class.
All buttons are working inside a <a>
, a
<button>
and a <div>
.
Circle buttons
Commonly, a circle button is used with
Font Awesome to add
an icon in it. To use it, add the .circle
class to a button already having the class
.btn
.
Press buttons
Press buttons are stylized buttons. To use them, use the same .btn
class as before, and add the
.press
class to it. You can use it on a circle button.
Outline buttons
Outline buttons are different, they are transparent to get as background-color the background of your page.
Two different designs are available, the normal one and the .opening
one.
The background-color which comes while you hover the button is the .txt-color
class on the
button.
Note that the span inside the button needs to get the .outline-text
class to work.
Invert outline buttons
Outline buttons are using a white text color when hovered. To make the text black on hover, simply add the
.outline-invert
class on the span containing the text.
This is useful for outline buttons using a light color.
Rounded buttons
Buttons can be rounded using the rounded classes.
Button sizes
All buttons have 3 different sizes we have preset. The basic .btn
class is the normal button. You
can use .small
, and .large
classes too.
Note that .push
, .press
and
.outline
classes work fine with all sizes, so you can use any of them.
Normal
Circle
Disabled buttons
The .disabled
class or the "disabled" attribute make you able to change any of your buttons
disabled, even if you let all precedent classes on it.