The CSS ‘border-bottom-style‘ property specifies the style of an element’s bottom border. This property is crucial for defining how the bottom edge of an element is visually represented, allowing for various effects that can delineate or decorate the element’s lower boundary. It supports multiple styles, from solid lines to dotted or dashed borders, providing flexibility in design.
CSS ‘border-bottom-style’ Property Examples
See the Pen CSS ‘border-bottom-style’ Property Explained by Webzstore (@webzstore) on CodePen.
The ‘border-bottom-style‘ property is a versatile tool in CSS for controlling the visual presentation of the bottom borders of elements. It allows for detailed customization and enhances the aesthetic appeal and functionality of web layouts.
Browser Support For ‘border-bottom-style’ Property
![]() | ![]() | ![]() | ![]() | ![]() |
| 1.0 | 1.0 | 1.0 | 5.5 | 9.2 |
CSS Syntax of the ‘border-bottom-style’ Property
border-bottom-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset | initial | inherit;
Usage of the ‘border-bottom-style’ Property
Use ‘border-bottom-style‘ to set or change the appearance of the bottom border of an element. This property can be used to highlight a section, improve the readability of content by underlining headings or links, or add a decorative touch to elements within a webpage. It allows for creative expression in border styling while maintaining the structure and clarity of the layout.
Property Values of the ‘border-bottom-style’ Property
- None: No border is displayed.
- Hidden: The border is not visible, so we effectively remove it.
- Dotted: The border is rendered as a series of dots.
- Dashed: The border appears as a series of short dashes.
- Solid: A solid, continuous line is used for the border.
- Double: The border consists of two solid lines with space between them.
- Groove: The border looks as if it were carved into the page.
- Ridge: The border appears to protrude from the page.
- Inset: The border makes the element look as if it were embedded into the page.
- Outset: The border gives the impression that the element stands out from the page.
- Initial: Resets the ‘border-bottom-style‘ to its default value.
- Inherit: The element inherits the ‘border-bottom-style‘ from its parent.






Leave a Reply