AwsmBuff
TailwindCSS: Class-Strings build with variables
I thought safelisting is disapproved and bloats the css-file? And I would still need to name every color and grading I wanted in a different file.
Seeing that TailwindCSS includes the "container" class when mentioned even though it is never used also seems bothersome. Maybe I will change to a different CSS framework.
12 replies
TailwindCSS: Class-Strings build with variables
I mean, yea, naming every class explicitly works but was the thing I tried to avoid since it would need me to write down 40 classes in an object.
Thank you anyways for the examples. I guess I have to go with that approach then. :/
12 replies
TailwindCSS: Class-Strings build with variables
https://stackoverflow.com/a/77628664
Solutions like this are not really efficient for me since I would need to specifically type 40 classes (4 per button and 10 buttons in total) in my example.
12 replies
Signal Arrays do not work with HTML-Elements?
At first: Thank you for your help!
What do you mean by that? I thought I am setting the signal value with
activated.value[0] = !activated.value[0];
.
At least that is what I am doing in the first example and there it works.17 replies