WebP

How to use .webp with a fallback to .png or similar.

 

See the Pen WebP Images with fallback – Demo by Sandip (@sandip_rb) on CodePen.

Here is yet another fallback sample: http://www.janskovgard.dk/eaaa/2015/15l1/exercise8/imagetest/

Published by Per Thykjaer Jensen

I teach code at the Multimedia Design and Communication program at Aarhus Business College. Expert: WordPress, Linux and JavaScript.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.