Validation changes, more properties, cleanup
This commit is contained in:
@@ -3,11 +3,9 @@ package nl.astraeus.css.properties
|
||||
open class CssProperty(
|
||||
val value: String
|
||||
) {
|
||||
|
||||
fun css(): String = value
|
||||
|
||||
open fun validate() {}
|
||||
|
||||
open fun validateMultiple(props: List<*>) {}
|
||||
}
|
||||
|
||||
fun text(value: String) = TextProperty(value)
|
||||
|
||||
Reference in New Issue
Block a user