css background image fill stretch code example Example: html how to use a background image fill not stretch .cover { object-fit: cover; }