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