Files
kotlin-css-generator/src/commonMain/kotlin/nl/astraeus/css/style/KeyFrames.kt
2020-03-18 19:27:17 +01:00

15 lines
345 B
Kotlin

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
}
}