CSS border-block-style
The border-block-style property specifies the style of the borders of a block element. It can be used to specify different styles for the four sides of an element's border, using a shorthand syntax or individual properties.
Syntax:
selector {
border-block-style: value;
}
Values:
solid: a solid line borderdashed: a dashed line borderdotted: a dotted line borderdouble: a double line bordergroove: a 3D grooved borderridge: a 3D ridged borderinset: a 3D inset borderoutset: a 3D outset bordernone: no border
Examples:
.border-example {
border-block-style: solid;
}
.border-example {
border-block-start-style: dashed;
border-block-end-style: dotted;
border-block-start-width: 2px;
border-block-end-width: 4px;
}
With the border-block-style property, you can easily customize the border styles of your block elements to create visually appealing layouts.