shadow

fun shadow(offsetHorizontal: String, offsetVertical: String = offsetHorizontal, blur: String? = null, spread: String? = null, color: String? = null, inset: Boolean = false): ShadowProperty

creates a valid value for shadow-properties like box-shadow or text-shadow

Parameters

blur

blur radius of the shadow

color

base color of the shadow

inset

defines of the shadow is inset of not

offsetHorizontal

horizontal offset of the shadow

offsetVertical

vertical offset of the shadow

spread

of the shadow