Borders

The CSS box model is essentially a box that wraps around every HTML element. Now we will take a look at another major component of the box model. Borders.

We'll cover the following...

We are still taking a look at the components which make up the box model in CSS.

widget

So, what are borders?

In plain english, a border refers to the edge or boundary of something.

Back to the hypothetical box illustration. Each box of cloth is made of a carton.

This carton has a thickness, right?

What if you wanted to increase this thickness, and add some more carton for ...