πͺBorder style
The following classes control the border style of elements:
.border-dashed
.border-dashedSets the border-style property to dashed, creating a dashed line border.
CSS equivalent: border-style: dashed;
Example usage:
<div class="border-dashed">
<!-- Content with dashed border style -->
</div>.border-dotted
.border-dottedSets the border-style property to dotted, creating a dotted line border.
CSS equivalent: border-style: dotted;
Example usage:
<div class="border-dotted">
<!-- Content with dotted border style -->
</div>.border-double
.border-doubleSets the border-style property to double, creating a double line border.
CSS equivalent: border-style: double;
Example usage:
.border-none
.border-noneSets the border-style property to none, removing the border.
CSS equivalent: border-style: none;
Example usage:
.border-solid
.border-solidSets the border-style property to solid, creating a solid line border.
CSS equivalent: border-style: solid;
Example usage:
.border-inset
.border-insetSets the border-style property to inset, creating an inset border.
CSS equivalent: border-style: inset;
Example usage:
.border-outset
.border-outsetSets the border-style property to outset, creating an outset border.
CSS equivalent: border-style: outset;
Example usage:
.border-hidden
.border-hiddenSets the border-style property to hidden, hiding the border.
CSS equivalent: border-style: hidden;
Example usage:
.border-ridge
.border-ridgeSets the border-style property to ridge, creating a ridge border.
CSS equivalent: border-style: ridge;
Example usage:
.border-groove
.border-grooveSets 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