Skip to content

How do you style the main 'body' or 'root' id? #793

Answered by mscolnick
raspharaoh asked this question in Q&A
Discussion options

You must be logged in to vote

you could try:

mo.Html("""
    <style>
      body {
         ...
      }
    </style>
""")

but as a heads up, we don't guarantee any component classnames as "public API", meaning they could change and break css selectors

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by akshayka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants