Why are we using padding and margin?

Why are we using padding and margin?
0

#1

Hello there, I can’t understand, why should we use custom padding and margin since it will be displayed differently in every device/screen? I was always having problem displaying my website correctly on every size screen…


#2

Media queries allow us to tailor our CSS, including the padding and margin, to different display sizes. We actually want our pages to look different depending on the user’s device dimensions.