Home > Article > Web Front-end > 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
##
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!