1.1.0 • Published 5 years ago

background-fx v1.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Background-FX

This NPM package is used to create FX's on any div's background. I just started this package so don't expect too much of it yet.

How to use this package

First you need to run the NPM install command

npm install background-fx

After that, you can use the package simply by using the following lines of code.

const backgroundFx = require('background-fx');
backgroundFx.circle(
    "circle-container", // ID of the div you want to give the FX to
    20, // The size of the circle
    "#ff0000", // The color of the circle
    25 // The amount of circles
);

I will keep updating this package in the future.