- JavaScript by Example
- Dani Akash S
- 165字
- 2021-07-02 18:39:10
Navigation bar
The first part of our document's body is the navigation bar <nav>. The navigation bar usually contains the primary set of links for navigation in a website. Since we are building only a single page in this chapter, we can leave the navbar with only our page title.
The navigation bar is styled using Bootstrap. The class .navbar styles the respective element as the primary navigation bar of the page. The .navbar-inverse class adds a dark color to the navigation bar and the .navbar-fixed-top class attaches the navigation bar to the top of the screen using a fixed position. The contents of the navigation bar are wrapped inside a Bootstrap container (div.container). The page title is written inside div.navbar-header as an anchor tag with the class .navbar-brand, which instructs Bootstrap that this is the brand name/title of the application.
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- Spring Cloud Alibaba微服務(wù)架構(gòu)設(shè)計與開發(fā)實戰(zhàn)
- Building a Home Security System with Raspberry Pi
- Python for Secret Agents:Volume II
- MATLAB應(yīng)用與實驗教程
- 區(qū)塊鏈:以太坊DApp開發(fā)實戰(zhàn)
- Python編程完全入門教程
- Getting Started with Gulp
- jQuery炫酷應(yīng)用實例集錦
- Visual Basic程序設(shè)計全程指南
- Mastering Embedded Linux Programming
- Java 9 with JShell
- Practical Responsive Typography
- HTML5/CSS3/JavaScript技術(shù)大全
- Thymeleaf 3完全手冊