Adjusting the rounding of corners on buttons and button groups
There are several components that this recipe can be used on. The official documentation for these components is available at https://v4-alpha.getbootstrap.com/components/buttons/, https://v4-alpha.getbootstrap.com/components/button-group/, https://v4-alpha.getbootstrap.com/components/dropdowns/, and https://v4-alpha.getbootstrap.com/components/pagination/.
Getting ready
To make this recipe work, you will need to include the SCSS code from the preceding recipe. The reason for this is that the previous recipe already specifies the custom button classes used in this recipe too (classes of btn-tomato
, btn-green
, and btn-purple
).
An alternative approach would be to use Bootstrap's default buttons, but if you choose to do it this way, bear in mind that you will need to change the references to btn-tomato
, btn-green
, and btn-purple
in the following code to any of the default Bootstrap button classes, such as btn-primary
, btn-info
, and...