Components html - use own css

Hello @LostGoatOnHill , always nice to see users styling up their Streamlit page :slight_smile:

I got an untested hunch on this one, <link href="assets/css/test.css" rel="stylesheet"> being a relative path, it will be relative to Streamlit’s static installation folder and not your root project, so you will need to copy your CSS file to the folder or write an absolute path.

Check my answer there: Restrict Download of Images & Videos on Streamlit App - #2 by andfanilo

The difference is:

Hope this will unlock new styling powers :stuck_out_tongue:
Fanilo

1 Like