The Box Model

The Box

Explanation of the different parts:

The box model allows us to add a border around elements, and to define space between elements.

The border-style property specifies what kind of border to display.

The following values are allowed:

See a styled version of the box model here.

The border-style property can have from one to four values (for the top border, right border, bottom border, and the left border).