The border-bottom-style property defines the line style of the bottom border on an element. It is useful when you want the bottom edge styled differently from the other sides.
01
Bottom Style
Physical bottom edge.
02
solid
Continuous line.
03
dashed / dotted
Soft dividers.
04
3D Styles
groove, ridge, inset.
05
none Default
No border by default.
06
Longhand
Part of border-bottom.
Fundamentals
Definition and Usage
The border-bottom-style CSS property specifies the style of the bottom border of an element. This property allows you to control the appearance of the bottom edge, enhancing design and visual hierarchy on your web pages.
By choosing different border styles such as solid, dashed, or dotted, you can create a variety of effects for section dividers, list separators, tabs, and footer rules.
💡
Beginner Tip
A border only appears when border-bottom-style is not none. Pair it with border-bottom-width and border-bottom-color, or use border-bottom: 2px solid #000; as shorthand.
Foundation
📝 Syntax
The syntax for border-bottom-style is straightforward:
The style value refers to the border line type, such as solid, dashed, or dotted.
Syntax Rules
The initial value is none, which hides the bottom border.
Common values include solid, dashed, and dotted.
3D-style keywords include groove, ridge, inset, and outset.
Pair with width and color longhands, or use the border-bottom shorthand.
Related longhands: border-bottom-width and border-bottom-color.
Cheat Sheet
⚡ Quick Reference
Question
Answer
Initial value
none
Applies to
Bottom border style only
Inherited
No
Animatable
No
Common use
Section dividers, footer rules, list separators
Defaults
Default Value
The default value of border-bottom-style is none, meaning no bottom border is displayed until you choose a visible style.
Reference
💎 Property Values
The border-bottom-style property accepts standard CSS border style keywords.
Value
Description
none
No border is displayed
solid
A single solid line
dashed
A series of dashed lines
dotted
A series of dotted lines
double
Two solid lines with space between them
groove
A 3D grooved border that looks carved in
ridge
A 3D ridged border that looks raised out
inset
A 3D inset border that looks embedded
outset
A 3D outset border that looks raised
hidden
Same as none, but can still affect table layout
previewsolid
previewdotted
previewdashed
previewdouble
previewgroove
previewridge
previewinset
previewoutset
Scope
Physical Bottom Edge
border-bottom-style always styles the visual bottom of an element, even when writing mode changes. For writing-mode-aware layouts, consider border-block-end-style instead.
Horizontal writing
Dashed bottom border
Vertical writing (vertical-rl)
Still on physical bottom
Compare
border-bottom-style vs border-block-end-style
Property
Targets
Best for
border-bottom-style
Physical bottom border style
Simple horizontal pages, tabs, lists, and section dividers
border-block-end-style
Logical block-end border style
Multilingual and writing-mode-aware layouts
border-bottom
Width, style, and color together
When you want one shorthand for the full bottom border
Preview
👀 Live Preview
A box with a solid blue bottom border style:
This element has a solid bottom border style.
Uses border-bottom-style: solid; with width and color longhands.
Hands-On
Examples Gallery
Try border-bottom-style with solid, dashed, dotted, and double bottom borders.
📚 Basic Bottom Border Styles
Set the bottom border style with width and color longhands so the line is visible.
Example 1 — Solid Bottom Border on a Paragraph
Apply a solid bottom border to a paragraph with width and color.
border-bottom-style-solid.html
<style>p{border-bottom-style:solid;border-bottom-width:2px;border-bottom-color:#000;}</style><p>This paragraph has a solid bottom border with a width of 2 pixels and a color of black.</p>
You can override only the bottom style while keeping other sides on the border shorthand. double draws two parallel lines when width is large enough.
🧠 How border-bottom-style Works
1
You choose a line style
Set solid, dashed, dotted, or another border style keyword.
Style rule
2
You add width and color
Pair the style with border-bottom-width and border-bottom-color.
Border setup
3
The browser draws the bottom edge
Only the physical bottom border uses that line style. Top, left, and right sides stay unchanged.
Bottom edge
=
⋯
Styled bottom divider
Your element gets a clear visual separator on the physical bottom edge.
Compatibility
Universal Browser Support
The border-bottom-style property is supported in all major browsers, including Chrome, Firefox, Safari, Edge, Opera, and Internet Explorer. It is one of the most reliable CSS border properties.
✓ Baseline · All browsers
Reliable bottom border styles on every platform
Chrome, Firefox, Safari, Edge, and Opera all support border-bottom-style consistently.
100%Universal support
Google Chrome69+ · Desktop & Mobile
Full support
Mozilla Firefox66+ · Desktop & Mobile
Full support
Apple Safari12.1+ · macOS & iOS
Full support
Microsoft Edge79+ · Chromium
Full support
Opera56+ · Modern versions
Full support
border-bottom-style property100% supported
Bottom line: Use border-bottom-style freely in any project. It works consistently across all browsers.
Wrap Up
Conclusion
The border-bottom-style property provides a variety of options for styling the bottom border of an element, from simple lines to more complex effects like double and 3D styles.
By experimenting with different style keywords, you can enhance the visual appeal and user experience of your website with section dividers, list separators, tabs, and decorative accents.