Consider using margin instead of padding for outer spacing, as padding is recommended for inner spacing. Ex. margin for the space outside a box, padding for inside of a box For spacing between elements also consider using em or rem instead of px depending on the element so you have more flexibility.
Marked as helpful