Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
Chris Rebert edited this page May 19, 2015 · 1 revision

E043

Button classes (.btn, .btn-*, .navbar-btn) cannot be used on <a>s within .navbar-navs.

Due to limitations in the implementation of Bootstrap v3's navbar, Bootstrap's button classes (namely: .btn, .navbar-btn, and the color variants (.btn-default, .btn-primary, .btn-success, etc.)) cannot be used on anchor elements (<a>s) within .navbar-nav components.

.navbar-btn can however be used on <a>s outside of .navbar-nav, and can be used on <button>s and button-like <input>s within .navbar-nav.

Clone this wiki locally