top

fun top(value: ScaledValueProperty)

This convenience function enables the definition of the border radius for the top left and top right corners of a block at once via the border-top-left-radius and border-top-right-radius CSS properties.

example call:

radius {
top { small }
}

Parameters

value

scale value, recommended to use predefined values via dev.fritz2.styling.theme.Theme.radii