top

fun top(value: BorderContext.() -> Unit)

This function opens a context (BorderContext) to specify the border styles for the top side of a block via the `border-top-{property}` CSS properties.

The actual styling is then done within the BorderContext using the specific topic functions of it.

See also

Parameters

value

extension function parameter to open the BorderContext as scope of the functional expression in order to use its specific styling functions.