.box { background-image: -webkit-image-set( url("large-balloons.avif"), url("large-balloons.jpg")); background-image: image-set( url("large-balloons.avif") type("image/avif"), url("large-balloons.jpg") type("image/jpeg")); }