Border
This context interface offers functions to style the border related CSS properties of a component.
It offers two functions to define the border shape itself (border) and the radius (radius) of the border. Both functions come in two variants:
one for the styling for all sides / corners at once
another for the individual styling of each side / corner
The actual styling of the borders is done within a specific context that the border and borders functions bring directly or via an intermediate context (have a look at BordersContext) into scope: BorderContext.
The styling for the radius is done by the radius function for all radii at once. For styling each corner or pairs of corner you can use the radii function in order to bring a specific context into the scope: RadiiContext
Last but not least there exist a variant for all four previous functions that enables one to define the styling for the different media devices independently.
Functions
radii(
sm = {
// some functions of [RadiiContext] with appropriate values for *all devices*
},
lg = {
// some functions of [RadiiContext] with appropriate values for *all devices*
}
}