CSS border
Border property used to set the border on an element.
Here are some common border attributes:
border-width
border-style
border-color
border-top-style
border-right-style
border-bottom-style
border-left-style
Click on the "Try it Now" button to see how it works.
Sample Code
Copy each file contents and paste it to your own project and run to see the final output
Example
.p1 {
border-width: 1px;
border-style: solid;
border-color: black;
border-radius: 5px;
}
Click on the "Try it Now" button to see how it works.