Modify the default navigation color under the Bootstrap framework

Recently I started to learn Bootstrap framework, a very powerful framework. The default background color and link text style for navigation are white background and black link text style. After navbar-inverse inverse style is called, the background becomes black text link style becomes white It doesn’t look so beautiful. Use the Google check tool to get the control background of the navigation bar as background-color under navbar-inverse. You can directly modify the background-color under .navbar-inverse and change it to your favorite color. Up.

.navbar-inverse {
    background-color:#222;
    border-color:#080808
}

Just modify #222 or cover it in your own style.

The default color of the text link color style is #9d9d9d; modify or replace the color in the a style under li under .navbar-nav.

.navbar-nav>li>a {
    color: #9d9d9d;
}

 

Guess you like

Origin blog.csdn.net/Web_Jason365/article/details/107437259