html { position: relative; min-height: 100%; } body { /* Margin bottom by footer height */ margin-bottom: 60px; } .container { width: auto; max-width: 680px; padding: 0 15px; } .container .text-muted { margin: 20px 0; } .red{ background-color: #d9534f; } .yellow{ background-color: #f0ad4e; } footer { position: absolute; bottom: 0; width: 100%; /* Set the fixed height of the footer here */ height: 60px; background-color: #f5f5f5; } .glyphicon-refresh-animate { -animation: spin .7s infinite linear; -ms-animation: spin .7s infinite linear; -webkit-animation: spinw .7s infinite linear; -moz-animation: spinm .7s infinite linear; } @keyframes spin { from { transform: scale(1) rotate(0deg);} to { transform: scale(1) rotate(360deg);} } @-webkit-keyframes spinw { from { -webkit-transform: rotate(0deg);} to { -webkit-transform: rotate(360deg);} } @-moz-keyframes spinm { from { -moz-transform: rotate(0deg);} to { -moz-transform: rotate(360deg);} }