Line 20: | Line 20: | ||
nav.navbar{ | nav.navbar{ | ||
background-color: #e0e0ff | background-color: #e0e0ff | ||
+ | } | ||
+ | .footer { | ||
+ | position: absolute; | ||
+ | bottom: 0; | ||
+ | width: 100%; | ||
+ | /* Set the fixed height of the footer here */ | ||
+ | height: 60px; | ||
+ | background-color: #f5f5f5; | ||
+ | } | ||
+ | body > .container { | ||
+ | padding: 60px 15px 0; | ||
+ | } | ||
+ | .container .text-muted { | ||
+ | margin: 20px 0; | ||
+ | } | ||
+ | |||
+ | .footer > .container { | ||
+ | padding-right: 15px; | ||
+ | padding-left: 15px; | ||
} | } | ||
</style> | </style> | ||
Line 80: | Line 99: | ||
</div><!-- /.container-fluid --> | </div><!-- /.container-fluid --> | ||
</nav> | </nav> | ||
+ | |||
+ | <footer class="footer"> | ||
+ | <div class="container"> | ||
+ | <p class="text-muted">abc</p> | ||
+ | </div> | ||
+ | </footer> | ||
</html> | </html> |
Revision as of 10:31, 13 October 2016