Join Slack
Powered by
Is there a way to specify inline styles in kotlinx...
# server
m
mp
07/18/2018, 11:37 PM
Is there a way to specify inline styles in kotlinx.html? Exploring the API hasn't uncovered it yet if it's there
s
spand
07/19/2018, 5:03 AM
Have you tried this
Copy code
div { style = "width: 100px" }
m
mp
07/19/2018, 1:17 PM
Right you are, thanks. I was trying to do it in a way similar to how you set classes.
23
Views
Open in Slack
Previous
Next