This video shows the difference between top, margin-top and padding-top in CSS.
top property in CSS combing with position property measures the top position without considering nearby elements, default: auto.
margin-top property is to measure the top position of the element to its parent element, default: 0px.
padding-top sets the top padding of the element, default: 0px.
More about this video:
1. http://jiansenlu.blogspot.com/2013/09...
2. http://jiansenlu.blogspot.ca/2013/09/...