border-bottom-style
Sets the line style for the bottom border. Beyond the standard 'solid', you can use 'dashed' or 'dotted' for separating content blocks without being too heavy.
It is documented as part of the CSS Backgrounds and Borders specification.
Syntax
/* Usage Example */
hr.fancy {
border: none;
/* Replaces the default HR with a custom bottom border */
border-bottom-style: double;
border-bottom-width: 3px;
border-bottom-color: #64748b;
}
/* Global values */
border-bottom-style: inherit;
border-bottom-style: initial;
border-bottom-style: revert;
border-bottom-style: revert-layer;
border-bottom-style: unset;
border-bottom-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+