Adding another row of links to the navbar
In this recipe, we will add an additional list of links above the main links in the navbar and make those additional links smaller. We will add different hover effects to links in the navbar. Finally, we will add underline effects to main links only, using media queries.
Getting ready
To get ready for this recipe, take a look at the drop-down component documentation available at https://v4-alpha.getbootstrap.com/components/dropdowns/. Also, refer to the navbar component documentation at https://v4-alpha.getbootstrap.com/components/navbar/.
How to do it…
- Open
chapter5/start/main.scss
and comment out all the@import
statements except the one that pertains to this recipe:
@import "./bower_components/bootstrap/scss/bootstrap.scss"; @import "./bower_components/bootstrap/scss/_mixins.scss"; @import "./bower_components/font-awesome/scss/font-awesome.scss"; @import "./bower_components/hover/scss/hover.scss"; // @import "recipe05-01.scss"; // @import "recipe05...