This part of the documentation will show you, how to use
the buttons of ChocolateCSS.
To use buttons with ChocolateCSS is quite easy.
<button class="btn-blue">Button Text</button>The final result will look like this:
btn- is the base of the button classes. If you want to use other colors then blue, you need to change blue to another
color. For example: btn-red.
Supported colors:
- blue
- red
- green
- purple
- pink
Furthermore you can change the size of the different buttons with the extra size classes.
<button class="btn-blue btn-lg">Button Text</button>The extra class btn-lg will increase the size of the button.
You can also use btn-sm to reduce the size.
The default value of the button is btn-md.
If the box-shadow if the button does not match your taste,
you can also change it.
<button class="btn-blue btn-shadow-lg">Button Text</button>The extra class btn-shadow-lg increases the shadow.
You can also use btn-shadow-md and btn-shadow-sm.
Default value is btn-shadow-sm.
The left button shows the default shadow. The right one contains the extra class btn-shadow-lg.