background-fx

1.1.0 • Public • Published

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.

Package Sidebar

Install

npm i background-fx

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

7.37 kB

Total Files

12

Last publish

Collaborators

  • kwieto