Introducing the Box Model

CSS Fundamentals
Properties
Introducing the Box Model
91
1/1
   

The CSS Box Model



All HTML elements can be considered as boxes. The CSS box model represents the design and layout of the site. It consists of marginsborderspaddings, and the actual content

The properties work in the same order: toprightbottom, and left

The image below illustrates the box model:
The term "box model" is used when talking about design and layout.

Comments

Popular posts from this blog

font-family part 1