Skip to content

Commit 7ca61ef

Browse files
authored
add cross browser support for image-set() css ref in alternative image formats example
1 parent d6ec1f0 commit 7ca61ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

images/image-set-type.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
<style class="editable">
1818
.box {
19+
background-image: -webkit-image-set(
20+
url("large-balloons.avif") type("image/avif"),
21+
url("large-balloons.jpg") type("image/jpeg"));
1922
background-image: image-set(
2023
url("large-balloons.avif") type("image/avif"),
2124
url("large-balloons.jpg") type("image/jpeg"));
@@ -46,4 +49,4 @@
4649
</body>
4750
<script src="playable.js"></script>
4851

49-
</html>
52+
</html>

0 commit comments

Comments
 (0)