How to set component margin responsive

I meaning when we set a value to component margin if it change