Skip to content

Instantly share code, notes, and snippets.

@antimatter15
Created October 3, 2010 16:26
Show Gist options
  • Save antimatter15/608701 to your computer and use it in GitHub Desktop.
Save antimatter15/608701 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8 />
<title>WebP Demo</title>
<script src="weppy.js"></script>
</head>
<body>
<h1>WebP Demo</h1>
<img src="mandelbrot.webp" width="500">
</body>
</html>
@sirber
Copy link

sirber commented Feb 4, 2016

would it work with a file from css, like background-image ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment