sticky-footer.scss 636 B

1234567891011121314151617181920212223242526272829303132
  1. /* Sticky footer styles
  2. -------------------------------------------------- */
  3. html {
  4. position: relative;
  5. min-height: 100%;
  6. }
  7. body {
  8. /* Margin bottom by footer height */
  9. margin-bottom: 60px;
  10. }
  11. .footer {
  12. position: absolute;
  13. bottom: 0;
  14. width: 100%;
  15. /* Set the fixed height of the footer here */
  16. height: 60px;
  17. line-height: 60px; /* Vertically center the text there */
  18. }
  19. /* Custom page CSS
  20. -------------------------------------------------- */
  21. /* Not required for template or sticky footer method. */
  22. body > .container {
  23. padding: 40px 15px 0;
  24. }
  25. .footer > .container {
  26. padding-right: 15px;
  27. padding-left: 15px;
  28. }