CSS border width

CSS border width is used to give the width of border for HTML element.


Syntax

Output

This is the paragraph to show border width property of CSS.


CSS border width values list

Sr. No.valueDescription
1widthUsed to give width of border. The value for this can be in pixel format or percentage format.
2initialUsed to define as the property initial value.
2inheritUsed to define the computed value of property on the elements parent.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.