background-fx
v1.1.0
Published
Create effects on the background of your DOM-element
Downloads
2
Readme
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.