<For Kotlin/JS project conversion I'm getting type...
# stackoverflow
u
For Kotlin/JS project conversion I'm getting type mismatch: inferred type is XXX but ZIndex? was expected When trying to add a z-index to a Kotlin JS project the documentation doesn't provide an example: https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.css/-c-s-s-style-declaration/z-index.html css { zIndex = 12 } I need to know what's the right way to assign a z-index in Kotlin-JS. So far I tried to use 12.px but I get errors such as: Type...