mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-19 05:50:23 +00:00
According to the docs, you just need to apply the `navbar-nav` to an `<ul>` tag in a list-based navbar. In fact, `navbar-nav` seems to override all the css properties set by `nav`. Also, `nav-item` class should be used only for `<li>` tags, or in conjunction with `<a>` tags to entirely avoid the list-based approach. This commit removes the redundant `nav` class from `navbar-nav` `<ul>` tags, moves `nav-item` from `<a>` tags to `<li>` tags and properly adds `nav-item` class to `<li>` tags where missing. Refs: * https://v4-alpha.getbootstrap.com/components/navs/ * https://v4-alpha.getbootstrap.com/components/navbar/#nav |
||
|---|---|---|
| .. | ||
| _data | ||
| _includes | ||
| _layouts | ||
| _plugins | ||
| about | ||
| assets | ||
| components | ||
| content | ||
| dist | ||
| examples | ||
| extend | ||
| getting-started | ||
| layout | ||
| utilities | ||
| .htmlhintrc | ||
| .htmllintrc | ||
| apple-touch-icon.png | ||
| browser-bugs.md | ||
| CNAME | ||
| favicon.ico | ||
| index.html | ||
| LICENSE | ||
| migration.md | ||
| robots.txt | ||
| search.json | ||