CSS Border
CSS Border properties used to design border around an element link <p>, <div>, <span>, etc. Basically, We can set the border size like (1px, 2px, 3px, 4px, 5px,.....), border look like (solid, dotted, dubble, etc), and last one border color.
CSS Border Properties:
- border
- border-top
- border-right
- border-bottom
- border-right
Syntax Of CSS Border:
p, div, span {
border: 2px solid red;
}