mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
28 lines
931 B
HTML
28 lines
931 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Document</title>
|
|
<link rel="preload" as="image"
|
|
imagesrcset="dog-cropped-1x.jpg, dog-cropped-2x.jpg 2x"
|
|
media="(max-width: 800px)">
|
|
<link rel="preload" as="image"
|
|
imagesrcset="dog-wide-1x.jpg, dog-wide-2x.jpg 2x"
|
|
media="(min-width: 801px)">
|
|
<link rel="preload" as="image"
|
|
imagesrcset="wolf_400px.jpg 400w, wolf_800px.jpg 800w, wolf_1600px.jpg 1600w"
|
|
imagesizes="50vw">
|
|
<link rel="preload" as="image"
|
|
imagesrcset="wolf_400px.jpg 400w, wolf_800px.jpg 800w, wolf_1600px.jpg 1600w"
|
|
imagesizes="(max-width: 600px) 480px,
|
|
800px">
|
|
</head>
|
|
<body>
|
|
<div>test</div>
|
|
<img srcset="elva-fairy-480w.jpg 480w,
|
|
elva-fairy-800w.jpg 800w"
|
|
sizes="(max-width: 600px) 480px,
|
|
800px"
|
|
src="elva-fairy-800w.jpg"
|
|
alt="Elva dressed as a fairy">
|
|
</body>
|
|
</html> |