Home  >  Article  >  Web Front-end  >  How to use css border-width property

How to use css border-width property

silencement
silencementOriginal
2019-05-28 14:05:022814browse

How to use css border-width property

css border-width property definition and usage instructions

The border-width property sets the width of the four borders of an element. This property can have one to four values.

Example:

border-width:thin medium thick 10px

The top border is a thin border

The right border is a medium border

The lower border is a thick border

The left border is a 10px wide border

border-width:thin medium thick

The upper border is a thin border

The right and left borders are medium borders

The bottom border is thick border

border-width:thin medium

The top and bottom borders are thin borders

The right and left borders are medium borders

border-width:thin

Instance, set the width of the four borders

p
{
    border-style:solid;
    border-width:15px;
}

Attribute value

How to use css border-width property


##

The above is the detailed content of How to use css border-width property. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn