The CSS box model is made up of four layers. The first layer has the content. The second layer has the padding that wraps up the content. The third layer is the border layer and the fourth is the margin.