May 29, 2021 Article blog
This article W3Cschool teaches you how CSS sets the border.
border: Set the border. For example: set the border to 2px, solid, red.
p{border:2px solid red;}
You can also set a border on one side, such as the top border:
p{border-top:2px solid blue}
border-bottom
border-left
border-right
Change solid to
dashed
to change solid lines to dashed styles.
That's all CSS says about how to set the border.