Tutorials

CSS 'border-bottom-color' Property Explained

  • Published
  • 1 min read
  • CSS
  • HTML
  • Web Design
CSS 'border-bottom-color' Property
In this article
  1. CSS 'border-bottom-color' Property Examples
  2. Browser Support For 'border-bottom-color' Property
  3. CSS Syntax of the 'border-bottom-color' Property
  4. Usage of the 'border-bottom-color' Property
  5. Property Values of the 'border-bottom-color' Property

Corrected . The browser-support table was rebuilt from MDN browser-compat-data (unprefixed support, desktop browsers), checked 3 October 2026. Editorial approval is still pending.

The CSS 'border-bottom-color' property sets the color of an element's bottom border. This property enables precise control over the bottom border's appearance, allowing for the implementation of design details that can highlight or subtly define the boundaries of an element within a layout.

CSS 'border-bottom-color' Property Examples

See the Pen CSS 'border-bottom-color' Property by Webzstore (@webzstore) on CodePen.

The 'border-bottom-color' property provides a focused means of styling the color of an element's bottom border. It's useful for designers and developers who want to fine-tune the visual presentation of elements, enhancing the user interface and overall aesthetic of web pages.

Browser Support For 'border-bottom-color' Property

Unprefixed support for the border-bottom-color property (selected supported implementation, desktop browsers)
BrowserVersionReleased
Chrome1Dec 2008
Edge12Jul 2015
Firefox1Nov 2004
Safari1Jun 2003
Opera3.5Nov 1998

Source: MDN browser-compat-data 8.1.4, checked 3 October 2026. Prefixed support and implementations that were later removed are not counted, and some browsers list partial support or extra values. See the MDN reference for border-bottom-color for the full compatibility details, including mobile browsers.

CSS Syntax of the 'border-bottom-color' Property

border-bottom-color: color | initial | inherit;

Usage of the 'border-bottom-color' Property

Use 'border-bottom-color' to specify or change just the color of an element's bottom border without affecting its style or width. This is useful for dynamically altering the visual emphasis of elements in response to user interactions (like hover states) or for applying thematic color accents consistent with a site's design palette.

Property Values of the 'border-bottom-color' Property

  • Color: This field defines the color of the bottom border using any standard CSS color format, including named colors, HEX, RGB(a), and HSL(a) values.
  • Initial: Resets the 'border-bottom-color' to its default value, which is the current color of the element unless otherwise specified.
  • Inherit: The element inherits the 'border-bottom-color' from its parent element.

Share this article

Written by

Webzstore Team

Webzstore has helped businesses since 2010. Today, we bring websites, digital marketing and enquiry follow-up into practical plans built around the work each business needs.

Related services

Talk about your website or marketing

Book a Free 30-Minute Call

More tutorials

All tutorials

Privacy choices

Choose what this website may load. Your choice is saved on this device for up to 180 days. Privacy Policy

Turning a choice off stops further use of that optional service on this site. It does not take back information already sent, and we cannot delete cookies that other services set in your browser.