0.1.2 • Published 8 years ago

@nib-styles/sticky-footer v0.1.2

Weekly downloads
-
License
-
Repository
github
Last release
8 years ago

@nib-styles/sticky-footer

Simple flexbox sticky footer by adding two classes

Installation

npm install --save @nib-styles/sticky-footer

Usage

Add sticky class to the direct parent element wrapping both the div you wish to expand and the footer.

Add sticky__content class to the element you wish to expand to take up the remaining space on the page and push the footer to the bottom.

<div class=sticky">
    <header></header>
    <div class="sticky__content"></div>
    <footer></footer>
 </div>
0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago