🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

fix-footer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fix-footer

Stick that footer!

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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>

Keywords

fix

FAQs

Package last updated on 11 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts