CSS BOX Model

Hi, This is Sagar and i n this blog we are going to learn how to create CSS BOX Model . The CSS box model is a box that wraps around every HTML element. Basic CSS BOX Model consist some of the following properties: Margin Padding Border Width Background Color Structure of Box Model: As you can see in above image these are four main components of CSS Box Model. See the code below how CSS Box Model created: