Hi
I want to change the container background color when mouse focused on the text_input component.
I am gonna update background-color like above but that was no working.
How to do this in retool?
Please let me know as soon as possible.
Thank you
Skizhu
December 6, 2023, 4:05am
2
Hello, most of the components doesnt have states as focus, hover, active, etc. in retool enviroment, i think only container component have the .hovered
state
To customize your components you will need to use Custom CSS
Here a example
Here a detailed post about Custom CSS
There are 2 ways to add custom CSS to Retool apps.
Globally for all Retool apps — you can add any CSS you'd like to the "Preloaded CSS" area of the org settings -> advanced page (admin only)
Locally to 1 Retool app — click the three dots (top-right menu), then scripts and styles. CSS will affect all components in the app.
Please note, we strongly recommend using Retool's built-in style and theme options whenever possible. Class names and DOM structure may change as new features are added that …