To customize your Bootstrap button outline, you can use the following CSS classes:
btn-outline-primary: This class will create a primary-colored outline button.btn-outline-secondary: This class will create a secondary-colored outline button.btn-outline-success: This class will create a success-colored outline button.btn-outline-danger: This class will create a danger-colored outline button.btn-outline-warning: This class will create a warning-colored outline button.btn-outline-info: This class will create an info-colored outline button.btn-outline-light: This class will create a light-colored outline button.btn-outline-dark: This class will create a dark-colored outline button.
To customize the border color and width of the outline button, you can use the following CSS properties:
border-color: This property sets the color of the border.border-width: This property sets the width of the border.
For example, to create a blue-colored outline button with a thicker border, you can use the following CSS code:
.btn-outline-custom {
color: #007bff;
border-color: #007bff;
border-width: 2px;
}
Then, apply the btn and btn-outline-custom classes to your HTML button element as follows:
<button type="button" class="btn btn-outline-custom">Custom Outline Button</button>
