Random SVG Background Generator using RBGen JS Library
Trigvi February 04, 2023
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
Supported Devices
Google Chrome, Firefox Opera, MS Edge, Safari
Tags
css svg background generator, background generator, svg generator, css background generator, svg background generator