sticky-footer.scss 665 B

123456789101112131415161718192021222324252627282930313233
  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. background-color: #f5f5f5;
  19. }
  20. /* Custom page CSS
  21. -------------------------------------------------- */
  22. /* Not required for template or sticky footer method. */
  23. body > .container {
  24. padding: 40px 15px 0;
  25. }
  26. .footer > .container {
  27. padding-right: 15px;
  28. padding-left: 15px;
  29. }