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

How to use css border-width property

silencement
Release: 2019-05-28 14:05:02
Original
2865 people have browsed it

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;
}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template