# equalizeheight

> Equalize height of elements on same row

Latest version **0.1.4** (published 2019-10-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install equalizeheight
pnpm add equalizeheight
yarn add equalizeheight
bun add equalizeheight
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2019-10-16 |
| First published | 2019-07-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 11.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tijs Verellen |
| Maintainers | tijsv |

## Links

- npm: https://www.npmjs.com/package/equalizeheight
- Repository: https://github.com/TijsTT/equalizeheight
- Homepage: https://github.com/TijsTT/equalizeheight#readme
- Issues: https://github.com/TijsTT/equalizeheight/issues
- npm.io page: https://npm.io/package/equalizeheight

## Recent versions

- 0.1.4 (latest) — 2019-10-16
- 0.1.3 — 2019-07-02
- 0.1.2 — 2019-07-02
- 0.1.1 — 2019-07-02

## README

# Equalize height

Equalize the height of elements on the same row, based on their offsetTop value. Most importantly, this also works for responsive layouts.

## Installing

Using npm:

```bash
$ npm install equalizeheight
```

## How to use

First, import the package into your project:

```js
import 'equalizeheight';
```

To equalize the height of elements on the same row, you simply add a data-equalize-height attribute to those elements with a dedicated group name:

```html
<div>
    <span data-equalize-height="group-name">Hello world!</span>
    <span data-equalize-height="group-name">Hello world!</span>
    <span data-equalize-height="group-name">Hello world!</span>
</div>
```

Just like that, all items on the same row with the same group name will be set to the same height. DONE!

---
_Source: https://npm.io/package/equalizeheight · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
