Get the App
SLTechnology News&Howtos  ›  Development  › 

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

Shulou Source: shulou.com Published: 2022-06-01 10:56:59 10月01日 Update

Editor to share with you how to use the border-bottom-width attribute in css, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

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

The above is all the content of the article "how to use the border-bottom-width attribute in css". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Attributes borders widths articles elements content not much most examples effects more styles formats knowledge notes industry grammar information information channels channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Microsoft vpn MySQL Shulou Information