html - How to Change Background Color of Part of the navbar Using Bootstrap -


i'm using twitter bootstrap 3.2.0.

i want make navbar background part red (i mean this). marked number "3"

here made how should in reality (see section marked 3 of problem):

http://postimg.org/image/g0fph7o75/

here can find html/css code i'm working on:

http://jsfiddle.net/b8yczde2/

(snipped jsfiddle) ```

    </div>     <ul class="nav navbar-nav">         <li><a href="#portfolio"><span class="glyphicon glyphicon-briefcase"></span><br/> portfolio</a>         </li>         <li><a href="#skills"><span class="glyphicon glyphicon-signal"></span><br/> skills</a>         </li>         <li><a href="#blog"><span class="glyphicon glyphicon-menu-right"></span><br/> blog</a>         </li>     </ul>     <ul class="nav navbar-nav navbar-right">         <li style="border-left: 1px solid rgb(215,215,215);"><a href="#contact"><span class="glyphicon glyphicon-envelope"></span><br/> contact</a>         </li>         <li style="padding-right: 0.8em;"><a href="#about"><span class="glyphicon glyphicon-user"></span><br/> cv</a>         </li>     </ul> </nav> <section class="section-bg intro-bg">     <div class="container">         <div class="row">             <div class="col-lg-12 text-center">mooses cool , big , stuff.</div>         </div>     </div> </section> 

```

just add css rule:

.navbar {    background-color: red; } 

http://jsfiddle.net/b8yczde2/8/


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -