Introduction
Margin, padding, and border help you control space and edges around your app elements. They make your app look neat and easy to use.
To add space outside a button so it doesn't touch other elements.
To add space inside a box so its content doesn't stick to the edges.
To draw a line around a picture or text to highlight it.
To separate sections in a list for better readability.