web-feature: background-size

baseline logo Widely available

The background-size CSS property scales or stretches a background based on the size of the element (with the contain and cover keywords), a length, or percentage.