HTML CSS

CSS BOX MODEL

1) BOX MODEL

CONTENT

PADDING

BORDER

MARGIN

2) SIMPLE EXAMPLE

<div id="demo">Content</div>   .demo {   padding: 20px;   border: 5px solid red;   margin: 10px; }