Join Slack
Powered by
Just created some basic html, and was wondering, h...
# ktor
h
Hamza
05/28/2018, 12:50 PM
Just created some basic html, and was wondering, how do I implement css with it? Haven’t found much on it, so I’m like really confused.
g
gildor
05/28/2018, 1:42 PM
Are you talking about Kotlin dsl for css?
h
Hamza
05/28/2018, 1:44 PM
I guess so. The one that would connect to the ktor kotlinx html builder
Hamza
05/28/2018, 2:10 PM
I was thinking dsl css
g
gildor
05/28/2018, 3:55 PM
There is an issue in kotlinx.html about this:
https://github.com/Kotlin/kotlinx.html/issues/31
h
Hamza
05/29/2018, 2:09 AM
Hmm but that's via strings, etc. Any way to have it as a dsl itself as part of kotlin?
d
Deactivated User
05/30/2018, 2:00 PM
For the record. I have created a sample using a css dsl:
https://github.com/ktorio/ktor-samples/blob/master/other/css-dsl/src/CssDslApplication.kt
The DSL is from here:
https://github.com/JetBrains/kotlin-wrappers/tree/master/kotlin-css
👍 1
Open in Slack
Previous
Next