Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add cross browser support for image-set() css ref in alternative imag…
…e formats example
  • Loading branch information
digi-booster authored Sep 13, 2021
commit 7ca61ef7e1943ad127fc58807e9db9d648c29e4d
5 changes: 4 additions & 1 deletion images/image-set-type.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

<style class="editable">
.box {
background-image: -webkit-image-set(
url("large-balloons.avif") type("image/avif"),
url("large-balloons.jpg") type("image/jpeg"));
background-image: image-set(
url("large-balloons.avif") type("image/avif"),
url("large-balloons.jpg") type("image/jpeg"));
Expand Down Expand Up @@ -46,4 +49,4 @@
</body>
<script src="playable.js"></script>

</html>
</html>