BOX MODEL CSS
Each Element is in the box model
Each Element can have it's width height margin border padding
To change the size use height and width attribute we can use px or % us unit
Boder have three input - size, style, color; it goes from inside to outside means height and width does not affected
Border- top :0px , Border-width :top,right,bottom,left if we provide onle two it top+bottom , rigtht+left
Padding adding space between border and the element
Margin space given outer of the border
content division element it is invisible utill you provide the width heigtht and color
Like this it divide the content break the line
Back