Type something to search...

CSS Box Model

CSS Box Model

The CSS box model describes the structure of an element, including content, padding, border, and margin.

Example:

div {
  width: 100px;
  padding: 10px;
  border: 5px solid black;
  margin: 20px;
}

Next: CSS Text and Fonts →