Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use the border-bottom-width property in css

Shulou Source: shulou.com Published: 2022-06-01 11:13:49 10月03日 Update

This article mainly introduces how to use the border-bottom-width attribute in css, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.

Cssborder-bottom-width attribute value

Thin: thin bottom border

Medium: medium bottom border (default)

Thick: thick bottom border

Length: allows you to customize the width of the lower border

Inherit: inherits the border width from the parent element.

Syntax format:

Border-bottom-width:thin/medium/thick/length/inherit

Note: the element must have a border to change the width (using the border-bottom-width attribute alone has no effect. Use the border-style attribute to set the style first).

Case study

Cssborder-bottom-width attribute notes

# bbw {

Border-style:solid

Border-bottom-width:10px

}

Cssborder-bottom-width property demonstration

Thank you for reading this article carefully. I hope the article "how to use the border-bottom-width attribute in css" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Attributes borders articles widths elements values interests at the same time examples effects more friends styles formats knowledge notes ribbons industry grammar information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Information Xiaomi Shulou Technology macOS