Random SVG Background Generator using RBGen JS Library

Trigvi February 04, 2023

ADN
random-svg-background-generator-using-rbgen-js-library

Live Preview Download

RBGen JS is a tiny JavaScript library that can generate random SVG background images for any container elements.

How to use it:

1. Download and import the rbgen.js library.

2. Add the CSS class ‘rbgen’ to the target container element.

....

3. Initialize the rbgen.js and apply the SVG background image to the container.


let rbgen = new Rbgen();
rbgen.apply();

4. Config the SVG background image with the following HTMLdataattributes:


Next: Premium WHMCS Hosting Themes on 50% deal

also view other related posts,