technique where background expands box dimensions to spare wrapper element?

I remember vaguely that there was a trick that I've seen in a video from kevin where he shows how to expand a background without relying on a wrapper element. For example, when your text is supposed to have inline padding/margin to the parent borders, but the background should then expand to the parents width.

Do I remember correctly that there was a trick or do I need a wrapper element?
Was this page helpful?