CSS border top style

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



This is the paragraph to show style given to the top border of en HTML element.

CSS border top style values list

Sr. No.valueDescription
1border-styleUsed to give style for border. The value for this can be from none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset. Check CSS border-style 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.