WebP image replacement with htaccess

1. This image is available as both webp and jpg.

2. This image is only available as a jpg.

3. This div has an image background set with a jpg image. It should serve a webp image if supported.