# zero-matter

> Zero Matter is a simple library for adding effect to elements when scrolling the page.

Latest version **1.0.0** (published 2016-07-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install zero-matter
pnpm add zero-matter
yarn add zero-matter
bun add zero-matter
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-07-17 |
| First published | 2016-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Emanuel Pessoa |
| Maintainers | emanuelpessoaa |
| Keywords | effect, fade, scroll, css3, nojquery |

## Links

- npm: https://www.npmjs.com/package/zero-matter
- Repository: https://github.com/emanuelpessoaa/zero-matter
- Homepage: https://github.com/emanuelpessoaa/zero-matter#readme
- Issues: https://github.com/emanuelpessoaa/zero-matter/issues
- npm.io page: https://npm.io/package/zero-matter

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-07-17

## README

# Zero-Matter
Zero Matter is a simple library for adding effect to elements when scrolling the page.
No Jquery. Just 998b minified.

> The Zero Matter is a fictional concept in the Marvel Comics Universe. Zero Matter, is a form of unstable and powerful cosmic radiation made of pure negative energy.

# Install
You can get it on npm.
```
$ npm install zero-matter --save
```
Or bower.
```
$ bower install zero-matter --save
```
If you're not into package management, just [download a ZIP file](https://github.com/emanuelpessoaa/zero-matter/archive/master.zip).


# Usage

First, include the script located on the DIST folder.
```html
<script src="dist/zeromatter.min.js"></script>
```

Now, you need to instantiate it by passing a DOM selector.
```javascript
var darkforce = new ZeroMatter('.className');
```
And put these lines on your css file
```css
.zmfadeOut {
  opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.zmfadeIn {
  opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
```

# ToDo
* Add option to margin to run effect;
* Add option to accept array;
* Add more effect options like magnet, saturation and more;

# Issues

* Read this before [Issue Template](https://github.com/emanuelpessoaa/zero-matter/blob/master/.github/issue_template.md)

# Pull Requests

* Read this before [How Write The Perfect Pull Request](https://github.com/blog/1943-how-to-write-the-perfect-pull-request)

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