CSS border top color

CSS border top color is used to set the color of top border of an HTML element.



This is the HTML paragraph to show the example of border top color CSS property.

CSS border top color values list

Sr. No.valueDescription
1border-widthUsed to give color of border. The value for this can be hex, rgba() or color name in text format. Check CSS border color for more detail.
2initialUsed to define as the property initial value.
3inheritUsed 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.