- 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.
- 軟件安全技術
- Spring Cloud Alibaba核心技術與實戰案例
- iOS 9 Game Development Essentials
- SpringMVC+MyBatis快速開發與項目實戰
- 網頁設計與制作教程(HTML+CSS+JavaScript)(第2版)
- Microsoft System Center Orchestrator 2012 R2 Essentials
- 零基礎輕松學SQL Server 2016
- Test-Driven Development with Django
- JavaScript腳本特效編程給力起飛
- Nagios Core Administration Cookbook(Second Edition)
- Scala Functional Programming Patterns
- Responsive Web Design with jQuery
- Instant Pygame for Python Game Development How-to
- CISSP in 21 Days(Second Edition)
- JavaScript前端開發程序設計教程(微課版)