1.0.15 • Published 6 years ago

equalheights.js v1.0.15

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

EqualHeights.js

Lightweight, es6 module to set equal height to html elements.

Build Status

Usage

add js-equal-height to each parent element Inside those js-equal-height element you can define regions that has to have the same height by adding a data attribute data-equal-height="place a unique name here"

Also take a look in dist/index.html

Warning

Collapsing margins are not supported. The element where the data-equal-height is place on can not have collapsing margins inside. There are ways to prevent them. E.g. adding padding-bottom: 1px to the element. Or overflow: auto;

Features

  • Flexible.
  • Public methods to recalculate heights.
  • ES6 Module or as a standalone library.

This is still a work in progress, more documentation coming soon.

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago