Margins, Padding, Borders and Width in CSS
The next thing one should know about when working with the size of an element is margins, padding, and width. Margins Margins are simply the space between two elements. We can specify the margin to be the same all the way around an element, the same on the left and right and a different value…