Contact Us | +1 888 239-0733 (Toll free US/CA) Mon-Fri: 7:30am to 4:30pm (PST)

CSS 'border-bottom-width' Property Explained

Est. Reading: 1 minute
Posted: April 4, 2024

The CSS 'border-bottom-width' property specifies the thickness of an element's bottom border. This property allows for precise control over the visual weight of the bottom border, enhancing the element's aesthetic appeal or emphasizing its boundary within a layout.

CSS 'border-bottom-width' Property Examples

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

The 'border-bottom-width' property is a key aspect of CSS that allows designers and developers to finely tune the appearance of an element's bottom border, enhancing the detail and precision of web page layouts.

Browser Support For 'border-bottom-width' Property

FirefoxSafariChromeMicrosoft EdgeOpera
1.01.01.04.03.5

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

border-bottom-width: thin | medium | thick | length | initial | inherit;

Usage of the 'border-bottom-width' Property

Use 'border-bottom-width' to adjust the thickness of an element's bottom border. This can be particularly useful for drawing attention to or away from certain elements, creating visual hierarchies, or simply for decorative purposes. It allows for a flexible design approach, catering to both subtle and bold stylistic choices.

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

  • Thin: Specifies a thin bottom border.
  • Medium: Specify a medium thickness for the bottom border, which is the default value.
  • Thick: Specifies a thick bottom border.
  • Length: Allows the specification of an exact thickness using CSS length units (e.g., px, em).
  • Initial: Resets the 'border-bottom-width' to its default value (medium).
  • Inherit: The element inherits the 'border-bottom-width' from its parent element.

Ryan Parker

Ryan has been a standout in digital marketing since 2010. He's the go-to person for getting businesses noticed online, with over 300 projects under his belt—these range from helping local business owners to big online stores. As the Head of Digital Marketing at Webzstore Solutions, Ryan knows all the tricks to make companies shine on the internet. He's excellent at using the latest tech and smart strategies to get results. Ryan is all about making businesses grow and reach more people online.

chevron-down