How to change nav color in bootstrap

藏色散人
Release: 2020-11-30 17:13:22
Original
4222 people have browsed it

How to change the nav color in bootstrap: first reference the "bootstrap.css" file; then modify the color value of ".navbar-default" in the file.

How to change nav color in bootstrap

Recommended: "bootstrap video tutorial"

The operating environment of this tutorial: windows10 system, bootstrap3. Version 0, this method is suitable for all brands of computers.

How to modify the navigation bar color in Bootstrap

The principle is to modify the color value of .navbar-default in bootstrap.css or bootstrap.min.css. If you modify .navbar-default in bootstrap.css, reference the bootstrap.css file.

For example: where path is the WebContent path, Use <%String path = request.getContextPath();%> to obtain.

Then modify the css style referenced in the navigation bar:

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!