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/


Comments

Leave a Reply

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.

Enable Notifications OK No thanks

We use cookies - more information

Multimusen.dk will set a few cookies from Doubleclick, Google and the Social Media plugins they ay set some cookies. Some of my pages use APIs - such as YouTube, LinkedIn, Google Fonts, Google Maps, Mapbox, Spotify, Jetpack, Twitter, Facebook &c.. Such plugins may set the odd cookie.

Close