We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fd41a3 + 81ab1d6 commit 8bd77f8Copy full SHA for 8bd77f8
demos/client-hints-named.html
@@ -0,0 +1,14 @@
1
+<html>
2
+
3
+<head>
4
+ <meta http-equiv="delegate-ch" content="sec-ch-width https://res.cloudinary.com; sec-ch-dpr https://res.cloudinary.com; sec-ch-viewport-width https://res.cloudinary.com;">
5
+</head>
6
7
+<body>
8
+ <h1>Using Client Hints to resize an image on the server side according to the viewport width</h1>
9
+ <p>Resize your browser, then refresh the page to deliver an image limited to 100% of the viewport.</p>
10
11
+ <img src="https://res.cloudinary.com/carl/image/upload/t_wautotest/docs/room2.jpg" sizes="100vw" />
12
+</body>
13
14
+</html>
0 commit comments