Twitter Bootstrap Web Development How-To by 2012
Author:2012
Language: eng
Format: mobi
Publisher: Packt Publishing
Published: 2015-01-12T10:59:01.813014+00:00
You're there!
Take a moment to scan through approximately the next 18 lines of code, and you'll see that the navbar is composed of nested divs, links, and lists, with special classes. These classes serve significant purposes, from positioning and styling to setting up the responsive navigation.
I'll briefly summarize the roles of these classes:
navbar provides the outside containing element for all contents of the navbar.
navbar-inverse calls for a dark navbar background with light font color.
navbar-fixed-top fixes the navbar at the top of the window and lets page content scroll underneath it (this requires padding at the top of the body element. See it in the embedded style sheet in the head of the index.html file.)
navbar-inner provides height, padding, and background color and gradients.
container constrains the width of the navbar contents, centers them within a wide screen, and includes a clearfix so that it will contain floated child elements.
The link tag of class btn btn-navbar provides a button that is hidden via CSS in a wide viewport but which appears in narrower viewports, where it serves as a trigger for drop-down access to the main menu items.
The div of class nav-collapse serves as the containing element for the menu items which are dropped down in narrow-viewport navigation.
The ul tag of the nav class contains the main navigation links which take a user to various pages in a site. This is the region where we'll first start to work!
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(25294)
Hello! Python by Anthony Briggs(24339)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(23433)
Kotlin in Action by Dmitry Jemerov(22512)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(21976)
Dependency Injection in .NET by Mark Seemann(21847)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(20711)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(19523)
Grails in Action by Glen Smith Peter Ledbrook(18607)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(17034)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(15843)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(13690)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(11857)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(11151)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10621)
Hit Refresh by Satya Nadella(9202)
The Kubernetes Operator Framework Book by Michael Dame(8570)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8407)
Robo-Advisor with Python by Aki Ranin(8361)