Border style
The following classes control the border style of elements:
.border-dashed
.border-dashed
Sets the border-style property to dashed, creating a dashed line border.
CSS equivalent: border-style: dashed;
Example usage:
.border-dotted
.border-dotted
Sets the border-style property to dotted, creating a dotted line border.
CSS equivalent: border-style: dotted;
Example usage:
.border-double
.border-double
Sets the border-style property to double, creating a double line border.
CSS equivalent: border-style: double;
Example usage:
.border-none
.border-none
Sets the border-style property to none, removing the border.
CSS equivalent: border-style: none;
Example usage:
.border-solid
.border-solid
Sets the border-style property to solid, creating a solid line border.
CSS equivalent: border-style: solid;
Example usage:
.border-inset
.border-inset
Sets the border-style property to inset, creating an inset border.
CSS equivalent: border-style: inset;
Example usage:
.border-outset
.border-outset
Sets the border-style property to outset, creating an outset border.
CSS equivalent: border-style: outset;
Example usage:
.border-hidden
.border-hidden
Sets the border-style property to hidden, hiding the border.
CSS equivalent: border-style: hidden;
Example usage:
.border-ridge
.border-ridge
Sets the border-style property to ridge, creating a ridge border.
CSS equivalent: border-style: ridge;
Example usage:
.border-groove
.border-groove
Sets the border-style property to groove, creating a groove border.
CSS equivalent: border-style: groove;
Example usage:
These utility classes allow you to easily control the border style of elements, providing various options to achieve the desired visual effect for your borders.
Last updated