Make the header fixed to top, with dark background
This commit is contained in:
parent
a08e24db57
commit
7a401eb2e9
|
@ -1,3 +1,4 @@
|
||||||
|
body { padding-top: 70px; }
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<nav class="navbar navbar-default" role="navigation" ng-controller="HeaderController">
|
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" ng-controller="HeaderController">
|
||||||
<div class="container-fluid">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainNav">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainNav">
|
||||||
<span class="sr-only">Toggle navigation</span>
|
<span class="sr-only">Toggle navigation</span>
|
||||||
|
|
Loading…
Reference in New Issue