# hover-on

> Hover animation buttons also supports bootstrap buttons

Latest version **1.0.4** (published 2019-05-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install hover-on
pnpm add hover-on
yarn add hover-on
bun add hover-on
```

## 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.4 |
| Published | 2019-05-01 |
| First published | 2019-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Ankit |
| Maintainers | knowankit |
| Keywords | buttons, animations, hover-animation, button-animation |

## Links

- npm: https://www.npmjs.com/package/hover-on
- Repository: https://github.com/knowankit/hoveron
- Homepage: https://knowankit.com
- Issues: https://github.com/knowankit/hoveron/issues
- npm.io page: https://npm.io/package/hover-on

## Alternatives

- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [persona-harness](https://npm.io/package/persona-harness.md) — 4.7K weekly downloads
- [@tsparticles/effect-bubble](https://npm.io/package/@tsparticles/effect-bubble.md) — 4.6K weekly downloads
- [f3d](https://npm.io/package/f3d.md) — 730 weekly downloads
- [spark-html-motion](https://npm.io/package/spark-html-motion.md) — 298 weekly downloads

## Recent versions

- 1.0.4 (latest) — 2019-05-01
- 1.0.3 — 2019-04-28
- 1.0.2 — 2019-04-28
- 1.0.1 — 2019-04-27
- 1.0.0 — 2019-04-27

## README

# Hover-on.css ![npm](https://img.shields.io/npm/v/hover-on.svg)  ![npm bundle size](https://img.shields.io/bundlephobia/min/hover-on.svg)
Bootrap button supported, pure css animation
 
`hover-on.css` has creative animations and transitions for your projects. It's great to make your buttons look awesome.


![Hover gif](https://github.com/knowankit/hoveron/blob/master/hover-gif.gif)



## Installation
### Install via npm:

`$ npm install hover-on`

## Usage
To use hover-on.css in your website, just add the stylesheet into your document's `<head>`, add the appropriate class to the button. That's it! You've got a animated button. Cool!

```html
<head>
    <link rel="stylesheet" href="hover-on.css">
</head>
```

Import the `scss` file in your main sass file.

```scss
@import "~hover-on/hover-on.css";
```

or use a CDN version by [jsDelivr](https://cdn.jsdelivr.net/npm/hover-on/hover-on.css)

```html
<head>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hover-on/hover-on.css">
</head>
```

## Animations

| Class Name       |                    |                 |
| --------------   |:-----------------: | --------------: |
| `both-line`      | `bottom-line`      | `top-line`      |
| `fill-left`      | `fill-right`       | `fill-top`      |
| `fill-bottom`    | `fill-both`        | `fill-both2`    |
| `fill-skew-left` | `fill-skew-right`  | `shine`         |
| `grow`           | `shrink`           | `pulse`         |
| `pulse-grow`     | `pulse-shrink`     | `push`          |
| `pop`            | `bounce-in`        | `bounce-out`    |
| `rotate`         | `rotate-grow`      | `float`         |
| `sink`           | `bob`              | `hang`          | 
| `skew`           | `wobble-skew`      | `forward`       | 
| `backward`       | `shadow`           |                 | 

For example:

```html
<button class="btn fill-bottom-warning">Warning</button>
```
In the above example `btn` is from bootstrap classes and `fill-bottom-warning` is from the hover-on.

**Important!** It's necessary to suffix the class name with bootstrap color name like `fill-both-primary`. You don't need to add any suffix in the 2d animation class which are `pop`, `push`, `float` etc.
## Demo

[Click here](https://hover.knowankit.com/)

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