In this recipe, we will be using the flex CSS property to position navbar items. A useful overview of the flex property can be found at https://css-tricks.com/snippets/css/a-guide-to-flexbox/.
Getting ready
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.