Can I import my own CSS styles into Trame? #448
Replies: 1 comment 1 reply
-
from pathlib import Path
from trame.widgets import client
CSS_FILE = Path(__file__).with_name("style.css")
with layout:
client.Style(CSS_FILE.read_text()) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can I import my own CSS styles into Trame to achieve some animated effects, as it is too cumbersome to write inline styles directly。
Beta Was this translation helpful? Give feedback.
All reactions