Files
obscura/render-repros/replaced-grid-order.html
2026-07-23 14:48:36 +00:00

45 lines
958 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>replaced intrinsic grid order</title>
<style>
html, body { margin: 0; }
#grid {
display: grid;
width: 600px;
grid-template-columns: repeat(2, 300px);
}
#media {
order: 2;
grid-column: 2;
margin: 0;
padding: 20px;
background: #1971c2;
}
#image {
display: block;
width: 100%;
height: auto;
max-width: 100%;
background: #c2255c;
}
#description {
order: 1;
grid-column: 1;
width: auto;
height: 200px;
background: #e8590c;
}
</style>
</head>
<body>
<div id="grid">
<figure id="media">
<img id="image" alt="" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='1'%3E%3Crect width='1' height='1' fill='%23c2255c'/%3E%3C/svg%3E">
</figure>
<section id="description"></section>
</div>
</body>
</html>