-
I have a tcss string from somewhere in my application, like this:
I want to set it to my App, however, it seems that, for now, textual can only support it from a filepath. In order to do that, I have to make a file using the content, then let my
Is there a better way doing this? thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I'm a little confused about your question, especially given the code you include, but I think you're asking if you can specify CSS inline in your code, rather than having to write it in an external file; is that correct? If so, have you read the guide to App basics, especially the section about CSS, and most specifically the part that describes how to do inline CSS? |
Beta Was this translation helpful? Give feedback.
I'm a little confused about your question, especially given the code you include, but I think you're asking if you can specify CSS inline in your code, rather than having to write it in an external file; is that correct?
If so, have you read the guide to App basics, especially the section about CSS, and most specifically the part that describes how to do inline CSS?