CSS Box Model
In box model all html elements act as boxes, in css box model is used when we talk about design and layout.css box model is a box in which all html elements are wraped.it contain margins, padding, border and actual content.
You can also set border color by using CSS3 border color property. Border color can be set by following ways. But professional way you can use the Hex value of color.
name – describe a color name, like "red"
CSS Border Properties
You want to draw Border or wall outside the element then you will be use the CSS border properties. Border properties show the border in html tags and element. You also can be set width and color specified by using CSS...
It is utilized to produce space around content.it clears the region around Content. The padding property permits you to indicate how much space ought to show up between the content of an element and its border.
We use CSS margin property to generate spaces between elements.it also sets the white spaces outside the border .margin can have following sides.