margin- It gives the space around outside the element. the below example is the same for margin. Padding- It gives space around inside the element. /* padding */ p{ /* top->left->bootom->right */ padding: 20px; ...

Markdown supported · ⌘↵ to post
No responses yet.