Strona głównaPytania INF.04 › Pytanie 25
INF.04 · pytanie #25

Zgodnie z dokumentacją dotyczącą menu Navbar z biblioteki Bootstrap 4, w celu stworzenia menu należy zdefiniować listę <br><br> <table><tr><td>A standard navigation bar is created with the .navbar class, followed by a responsive collapsing class: .navbar-expand-xl|lg|md|sm (stacks the navbar vertically on extra large, large, medium or small screens). To add links inside the navbar, use a &lt;ul&gt; element with class="navbar-nav". Then add &lt;li&gt; elements with a .nav-item class followed by a &lt;a&gt; element with a .nav-link class... Use any of the .bg-color classes to change the background color of the navbar (.bg-primary, .bg-success, .bg-info, .bg-warning, .bg-danger, .bg-secondary, .bg-dark and .bg-light) Tip: Add a white text color to all links in the navbar with the .navbar-dark class, or use the .navbar-light class to add a black text color.</td></tr><tr><td>Źródło: https://www.w3schools.com/bootstrap4</td></tr></table>

Kliknij odpowiedź, którą uważasz za poprawną.