Join Slack
Powered by
The documentation shows that the CSS class part is...
# compose-web
o
OdenEgg
02/24/2022, 5:38 AM
The documentation shows that the CSS class part is written in StyleSheet, but how do I implement the CSS id part?
https://github.com/JetBrains/compose-jb/tree/master/tutorials/Web/Style_Dsl
I would appreciate it if you could tell me how the CSS description compares to the Compose-web description.
a
Ahmad Daneshvar
02/24/2022, 3:36 PM
Im not sure I understood. You mean how to select id as selector? Did you try this:
Copy code
id("body_id").style { margin(0.px) }
7
Views
Open in Slack
Previous
Next