Skip to content

type safe inline css #31

Open
Open
@StokeMasterJack

Description

@StokeMasterJack

When I use inline css in an html or jsp file, IntelliJ gives me nice syntax coloring and autocompletion:
css-ide

Is there a type safe way to do inline css using kotlinx.html other than using a string? Or at least a way to get autocompletion and syntax coloring?

body {
    div {
        style = "background: yellow;border: solid thin blue"
    }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions