Borders Context
This context class acts as an intermediate context to style the four sides of a border independently.
It offers the four functions top, right, bottom and left to bring in the BorderContext scope in order to set the properties for each side individually.
There are also two convenience functions horizontal and vertical that enables the pairwise styling for the related horizontal or vertical sides.
For the final usage have a look at BorderContext.
Parameters
basic context scope interface
the defined output StringBuilder to write the generated CSS into
Constructors
Functions
This function opens a context (BorderContext) to specify the border styles for the bottom side of a block via the `border-bottom-{property}` CSS properties.
This is a convenience function that opens a context (BorderContext) to specify the border styles for both horizontal sides of a block at once, that is the top and bottom side via `border-top-{property}` and `border-bottom-{property}` CSS properties.
This function opens a context (BorderContext) to specify the border styles for the left side of a block via the `border-left-{property}` CSS properties.
This function opens a context (BorderContext) to specify the border styles for the right side of a block via the `border-right-{property}` CSS properties.
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.
This is a convenience function that opens a context (BorderContext) to specify the border styles for both vertical sides of a block at once, that is the right and left hand side via `border-left-{property}` and `border-right-{property}` CSS properties.