Margins vs Padding

I see we can now use padding as well as Margins.

Could someone give a quick explanation of the difference and when to use each type :slight_smile:
Screenshot (43)

1 Like

In theory, padding is within the element and margin is outside the element.

Since the launch of the new responsive engine, you often had to use two groups to achieve that kind of behaviour, but now you should only require one.

6 Likes

This is amazing!!!

Although I now have A LOT of extra groups in my app. :laughing:

:raised_hands: thank you so much for this, Bubble team!