Initial commit

This commit is contained in:
2020-02-10 19:31:44 +01:00
commit 1b83f88c8f
14 changed files with 685 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package nl.astraeus.css
import kotlin.test.Test
object TestCssBuilder {
@Test
fun testBuilder() {
val css = CssBuilder()
css.style {
css(".test") {
top = px(10)
left = em(5)
backgroundColor = rgba(255, 255, 255, 0.75)
sel("> a") {
color = hsl(200, 50, 50)
}
}
}
println(css)
}
}