The Box Model
Learn how the CSS box model works.
Overview of the box model
When rendering a document, the browser sees each element as a rectangular box; this is the box model. CSS determines the size of the box, and is based on the following properties:
content
padding