Is it possible to add CSS to Element components?
If so, how do I add a class to a component like test or typography?
Is it possible to add CSS to Element components?
If so, how do I add a class to a component like test or typography?
as a beginner i don’t understand, an example would help, where is the css and how is it accessed?
Our advice is to use Tailwind in all cases — Elements is built upon Tailwind and allows you to enter any of the utility classes it provides. In 99.9% of cases you will be able to use tailwind for any custom styling you need.
In the case where you absolutely need to write custom CSS, then you can add classes using the Advanced→CSS Classes input found on all built-in components.
You can add your custom classes in a couple of different places:
Ben
thank you, now i understand better ![]()