The Box Model

In this lesson, we'll get familiarized with the box model in CSS. Let's begin!

We'll cover the following...

Every content displayed in the web browser is treated as a box, independently whether you display text, image, video or whatever other content.


There is a model, the box model, that determines how these boxes of content are rendered, or how their size is calculated, how their content is placed, and so on.


It is very important to get acquainted with this model, because it ...