I can’t find much documentation about Dat.GUI styling. I want to use PNG images in place of the toggle buttons, checkbox toggles and drop down tab. is there a known method to do this?
Hi!
dat.GUI is a separated control library and, IMHO, it’s out of the scope of this forum, but…
As any control, it contains many html-elements that you can style with css.
Using element inspector, you can see what style applied to what element:
I know this is out of scope, but I have been working on this all day. I can do most of the styling, but there are some elements which will not style. It will work in the browser, but when I add the CSS to my index file the change does not take effect. Do you know why this might be?
For example:
.dg.main .close-button {
background-color: #0000;
}
It works in the Chrome inspector, but when I add it to my index and run it, nothing changes.