<line-style>
A CSS data type representing the 'style' of a line, used in properties like 'border-style' or 'outline-style'. Common values include 'solid', 'dashed', and 'dotted'.
Syntax
/* Usage Example */
.divider {
/* Uses the 'dashed' line-style */
border-bottom: 2px dashed #cbd5e1;
}
<line-style> Browser support
Widely available
Since
2015 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
1+
1+
1+
12+