JSFiddle - React, Tailwind, and code Playground
by Paul West
HTML
<style>
.dg.main .close-button {
/*background-color: magenta;*/
/*background-color: #f0f;*/
background-color: rgb(255, 0, 255);
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.3/dat.gui.min.js"></script>
JavaScript
var FizzyText = function() {
this.message = 'dat.gui';
this.speed = 0.8;
this.displayOutline = false;
this.explode = function() {};
};
var text = new FizzyText();
var gui = new dat.GUI();
gui.add(text, 'message');
gui.add(text, 'speed', -5, 5);
gui.add(text, 'displayOutline');
gui.add(text, 'explode');