Buttons
Default
This is a default button that can be created by adding the .btn
class to any element.
Button
Sizes
The size options for buttons range from small to extra large.
Extra Small Button
Small Button
Regular Button
Large Button
Extra Large Button
Background Colors
All of the background color helper classes can be added to any button.
Gray Button
Black Button
White Button
Green Button
Red Button
Yellow Button
Blue Button
Dropdown
Dropdowns can be added to button elements very easily. Below is an example of a button dropdown using a handful of the helper classes that are provided by Concise.
The icons used here are from a modified version of the Font Awesome icon font library.
Centering
As the .btn
class is an inline-block element, simply adding the class .center
will not suffice in actually centering the element.
Instead, we must wrap the element inside the .text-center
class, which will provide proper centering of our button.
Collapsible
By default, all buttons maintain their default width as the browser viewport scales down. However, adding the class .btn-collapse-full
allows the button to take up 100% the width of it's parent element after the browser has reached the extra-small
breakpoint (which is 30em by default).