How it works…

Similarly to Using Bootstrap's Sass mixins to create custom buttons recipe of this chapter, we will utilize Bootstrap's Sass mixins to alter the look of our buttons. In this recipe, we will change the radius of borders on buttons, button groups, and drop-down components. To achieve this, we are employing Bootstrap's border-radius mixin using the following pattern:

.classname {    @incude border-radius(#em);}

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.