Html css

Simple Sticky Footer In Bootstrap

Posted by Weston Ganger on September 29, 2016

Creating a sticky footer can be a real pain. Heres a simple way to do so in bootstrap.


    <div class="container-fluid">
      <!-- page content -->
    <footer class="footer">


html {
  position: relative;
  min-height: 100%;
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
.footer {
  position: absolute;
  bottom: 0;
  /* Set the fixed height of the footer here */
  height: 60px;
  width: 100%;
  background-color: #CCC;

Related External Links:

Posted in HTML / CSS and Tagged with bootstrap sticky-footer 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts