

$btn-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,īorder-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out $btn-link-active-color: $link-active-color $btn-link-focus-color: $link-focus-color $btn-link-hover-color: $link-hover-color $btn-focus-width: $input-btn-focus-width $btn-active-box-shadow: $btn-focus-box-shadow $btn-focus-box-shadow: $btn-hover-box-shadow $btn-border-width: $border-width-alternate btn-floating class you can create a nice, floating social button. In the example below, we place a Facebook iconĪ background-color to #3B5998 (facebook brand color).īy adding. Note: If you use custom colors you need to remove our predefined color classes like. You can find hundreds of available icons in ourĬustom colors you can create social buttons. To make it works properly you have to put an icon inside. btn-floating class to make a circle button. If you need margin - simply add margin utility classes like mx-2. Without extra margins, the button edge will be flush with adjacent elements (which is sometimes the desired result). Note: Button tertiary may require additional margins. These features characterize the button tertiary. The lack of background and shadow makes the element the least visible. This means that the user should be able to easily identify which button is the most important (primary button), which is less important (secondary button) and which presents completely additional information (tertiary button).Įlements with strong, filled backgrounds and shadows attract attention the most, which is why button primary is built in this way.Ī delicate background without shadows is less engaging, so it is well suited for button secondary. $btn-white-space: nowrap to disable text wrapping for each button.īuttons, as one of the key UI elements, must have their own hierarchy. If you don’t want the button text to wrap, you can add the
