Skip to content

csseditor/fix-footer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stick that footer!

npm version

Sticks the footer to the bottom of the screen, only when the page is smaller than the viewport on medium to large screen sizes.

Demo

http://fix-footer.themekit.io

Installation

npm install fix-footer dom-factory

Load the libraries and add the .fix-js-footer CSS class to your footer.

<!DOCTYPE html>
<html lang="en">
<head>
  <link rel="stylesheet" href="node_modules/fix-footer/dist/fix-footer.css">
</head>
<body>
  <footer class="fix-js-footer">
    Copyright &copy; 2016 - Sample footer
  </footer>

  <script src="node_modules/dom-factory/dist/dom-factory.js"></script>
  <script src="node_modules/fix-footer/dist/fix-footer.js" async defer></script>
</body>
</html>

About

Stick that footer!

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 88.9%
  • CSS 11.1%