O'Reilly logo

Sass and Compass Designer's Cookbook by Bass Jobsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making custom navbars

The navigation bar, or navbar for short, is an important component used in many Bootstrap projects. In this recipe, you can read how to modify the navbar leveraging Sass.

Getting ready

First, read the Downloading and installing Bootstrap recipe of this chapter to find out how to download and install Bootstrap, enabling you to recompile the Bootstrap CSS code. You can edit the Bootstrap source files with a text editor.

How to do it...

The navbar component is an important part of Bootstrap used in many situation. The following steps will help you to customize it for your own needs and requirements:

  1. First, install Bootstrap as described in the Downloading and installing Bootstrap recipe of this chapter.
  2. Then, create an index.html ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required