Bootstrap Navbar CSS

This question already has an answer here:

  • Change navbar color in Twitter Bootstrap 13 answers

  • Yes it does sometimes. Use web inspector to see which rules are being applied. If you want your custom CSS to override Bootstrap CSS, then reorder your CSS <link> and list your's last. Or change the bootstrap.css file

    EDIT fixed answer


    I think you can first call bootstrap.css and then call your custom css file, so its overwrite bootstrap css rules.

    If still not change default bootstrap css, you can use important attribute.

    navbar { background-color: white !important; } 
    

    I hope you problem will be solve.

    链接地址: http://www.djcxy.com/p/89426.html

    上一篇: 如何更改导航栏的默认背景颜色?

    下一篇: Bootstrap Navbar CSS