Runs/circle · chain · Fable 5.1/022
circle · chain · Fable 5.1 · step 022 of 64
offline render, Chrome 154, light scheme, 2 s of virtual time
runs in a sandboxed frame with no origin; live pages may fetch CDN fonts the offline render did not
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<meta name="description" content="A circle.">
<title>Circle</title>
<link rel="icon" href="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-1%20-1%202%202'%3E%3Cstyle%3E@media%20(prefers-color-scheme:dark)%7Bcircle%7Bfill:%23fff%7D%7D%3C/style%3E%3Ccircle%20r='1'/%3E%3C/svg%3E">
<style>
body {
margin: 0;
min-height: 100vh;
min-height: 100dvh;
display: grid;
place-items: center;
}
h1 {
margin: 0;
}
svg {
display: block;
width: min(25rem, 100vmin - 2rem);
width: min(25rem, 100dvmin - 2rem);
fill: currentColor;
overflow: visible;
}
</style>
</head>
<body>
<main>
<h1>
<svg viewBox="-1 -1 2 2" role="img" aria-label="Circle">
<circle r="1"/>
</svg>
</h1>
</main>
</body>
</html>
what changed from step 021
+2 / -2 lines
svg { display: block;- width: min(400px, 100vmin - 2rem);- width: min(400px, 100dvmin - 2rem);+ width: min(25rem, 100vmin - 2rem);+ width: min(25rem, 100dvmin - 2rem); fill: currentColor; overflow: visible;
What the model said
I made one small change to `0.html`: the circle's maximum size is now `25rem` instead of `400px`, so it scales with the user's browser font-size setting. It looks identical at default settings, and I haven't opened it in a browser to check. I left the rest alone because I couldn't find anything else worth changing. The page already handles the things I'd normally fix: - **Accessibility:** it has a `lang` attribute, a `main` landmark, an `h1`, and a labelled SVG (`role="img"` with `aria-label`). - **Dark mode:** the `color-scheme` meta plus `fill: currentColor` cover it, and the favicon adapts too. - **Layout:** the circle is centred with `dvh`/`dvmin` units and `vh`/`vmin` fallbacks, and `overflow: visible` keeps the edge from clipping. If you had a different kind of improvement in mind, such as colour, animation, interactivity or more content, tell me which and I'll do that.