More properties

This commit is contained in:
2020-03-18 19:27:17 +01:00
parent 5b557c8535
commit c40616e691
20 changed files with 564 additions and 392 deletions

View File

@@ -0,0 +1,14 @@
package nl.astraeus.css.style
@CssTagMarker
open class KeyFrames : CssGenerator() {
val frames: MutableMap<Int, Css> = mutableMapOf()
override fun getValidator(name: String): List<Validator>? = listOf()
fun percentage(percentage: Int, style: Css) { val css = Style()
style(css)
frames[percentage] = style
}
}