Bootstrap CSS Classes

Bootstrap CSS class .btn-sm

<button type="button" class="btn btn-primary btn-sm">Small button</button>

Preview

CSS source

/* _button-group.scss:90 */
.btn-sm + .dropdown-toggle-split {
  padding-right: $btn-padding-x-sm * .75;
  padding-left: $btn-padding-x-sm * .75;
}

/* _buttons.scss:117 */
.btn-sm {
  @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
}

Check .btn-sm in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

More Bootstrap CSS classes in Button Modifiers category

© 2024 Shuffle. All rights reserved.