🐘 Difference between Margin & Padding
作成日: 2021/07/08
0

Margin is the space between elements
Padding is the space between the content of an element and the elements border

Margin has the same shorthand as padding

Lots of Devs like to use 0 margin when creating new pages
body {
margin: 0px;
}

Just doing my thing from a cave in Spain