Skip to content

A small library for easy fade in fade in and fade out effects.

License

Notifications You must be signed in to change notification settings

PalomaSystems/fade-animations

Repository files navigation

npm Release new version to NPMJS

fade-animations

A small library for easy fade in fade in and fade out effects.

Install

NPM

npm i fade-animations

CDN

<link rel="stylesheet" href="https://unpkg.com/fade-animations/dist/index.min.css">
<script src="https://unpkg.com/fade-animations/dist/index.min.js"></script>

Usage

fadeIn

import { fadeIn } from 'fade-animations'

const element = document.getElementById('elementId')
fadeIn(element)

fadeOut

import { fadeOut } from 'fade-animations'

const element = document.getElementById('elementId')
fadeOut(element)

About

A small library for easy fade in fade in and fade out effects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published