Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
🔀 Image Minification and WebP Version (#13)
Browse files Browse the repository at this point in the history
* Image Minification

From 770 kb to 219 kb without losing quality

* Add webp version

* Image Webp Correction

* ⚡
  • Loading branch information
Douglas Fabris authored and viniciuskneves committed Oct 6, 2019
1 parent 83aa031 commit fdd475b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Binary file modified ichbineinekartoffel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ichbineinekartoffel.webp
Binary file not shown.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
</style>
</head>
<body>
<img src="./ichbineinekartoffel.png" alt="Ich bin eine kartoffel : I am a potato" />
<picture>
<source type="image/webp" srcset="./ichbineinekartoffel.webp" />
<source srcset="./ichbineinekartoffel.png" />
<img src="./ichbineinekartoffel.png" alt="Ich bin eine kartoffel : I am a potato" />
</picture>
</body>
</html>

0 comments on commit fdd475b

Please sign in to comment.