Using padding to space an input and label

Something I started doing lately is using the padding of a <label> element to create the space between it and an <input> instead of a margin or grid/flexbox gap . I’m sure a bunch of people already do this, but it’s something that only recently dawned on me.