.navbar-nav>.nav-link{ color: white; border-color: transparent; border-style: solid; border-width: 2px; border-radius: 1em; } .navbar-nav>.nav-link.active{ border-color: white; }