Skip to content

Commit bf4007e

Browse files
committed
HTML Media content started
1 parent a3ef097 commit bf4007e

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed

docs/html-media/image.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Here's an example of using the `srcset` and `sizes` attributes to create a respo
134134
<BrowserWindow url="https://.../responsive-image.html">
135135
<>
136136
<h1>Responsive Image</h1>
137-
<img src="/img/image.jpg" alt="My Image" srcset="/img/image-2x.jpg 2x, /img/image-3x.jpg 3x" sizes="(max-width: 600px) 100vw, 50vw" />
137+
<img src="/img/image.jpg" alt="My Image" sizes="(max-width: 600px) 100vw, 50vw" />
138138
</>
139139
</BrowserWindow>
140140

static/img/large.jpg

82.1 KB
Loading

static/img/medium.jpg

95.2 KB
Loading

static/img/small.jpg

848 KB
Loading

0 commit comments

Comments
 (0)