How do I use CSS with webui? #692
Unanswered
Jonasilver137
asked this question in
Q&A
Replies: 1 comment 6 replies
-
|
Try Example : |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using python to write my webui program. I wrote my HTML in a separate file, and I want to put my styling into a separate CSS file. I tried linking the CSS to the HTML like how I would in web development, and in theory, it should darken the background color. However, that's not what's happening. I tried multiple routes, such as writing a file handler, but nothing's working. I've linked the files in question down below, and here is the directory structure ("foo/" signifies a directory):
main.py
main.html
main.css
Any help is GREATLY appreciated!
Beta Was this translation helpful? Give feedback.
All reactions