См. следующий рисунок:
Почему padding-top и margin-top полностью непрозрачный, но padding-right и т. д. нет?
padding-top
margin-top
padding-right