add paddings and margins properties