idev0085 / react-boilerplate

0 stars 0 forks source link

css box model #117

Open idev0085 opened 1 year ago

idev0085 commented 1 year ago

In CSS, the term "box model" is used when talking about design and layout. The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content.

The CSS Box Model is used to create a definition for the way the HTML elements are organized on the screen. This approach accounts for options such as margins, padding, borders, and all the properties that manipulate them. Each element can be thought of as having its own box.