Displays a separator line much like an HTML <hr> tag.
Last updated 29 days ago
Inherits from
Thickness
string
The vertical thickness of the line. Valid values are:
Thick - 2 units in height
Thick
Thicker - 4 units in height
Thicker
Thickest - 8 units in height
Thickest
If not specified, the default is 1 unit.
<Rock:Divider /> <Rock:Divider Thickness="Thick" /> <Rock:Divider Thickness="Thicker" /> <Rock:Divider Thickness="Thickest" />
Use the margin helper CSS classes like .my-12 to easily adjust the vertical spacing around your divider.
.my-12
<Rock:Divider StyleClass="my-12" />