There are various types of borders then can be used around a div they are

The border width is in pixels, and the color can be either hex or color name.

Code for the border can be

border: border-style width color;

 each side of the border can be defined seperately by side, style, color or width



Comments (0)

500 characters remaining

Cancel or