Runs/circle · sample · Fable 5.1 · low/029
circle · sample · Fable 5.1 · low · trial 029 of 32
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.0">
<title>Circle</title>
<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--bg: #ffffff;
--fg: #111111;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #111111;
--fg: #f5f5f5;
}
}
html,
body {
height: 100%;
}
body {
display: grid;
place-items: center;
min-height: 100vh;
min-height: 100dvh;
background: var(--bg);
color: var(--fg);
overflow: hidden;
}
svg {
display: block;
width: min(400px, 80vmin);
height: auto;
aspect-ratio: 1 / 1;
}
.circle {
fill: currentColor;
}
</style>
</head>
<body>
<svg id="ae683f770" viewBox="0 0 400 400" role="img" aria-labelledby="circle-title">
<title id="circle-title">A solid circle</title>
<circle class="circle" cx="200" cy="200" r="200"/>
</svg>
</body>
</html>
What the model said
Updated `0.html` with these changes: - **No stray scrollbar.** Replaced `width: 100vw` with a full-height grid layout, which avoids the horizontal overflow that `100vw` causes when a vertical scrollbar exists. Also uses `100dvh` so mobile browser chrome doesn't clip the page. - **Responsive SVG.** The circle is now capped at 400px but shrinks to 80% of the smaller viewport dimension on small screens instead of overflowing. - **Accessibility.** Added `role="img"` and an SVG `<title>` so screen readers announce the graphic, and gave the page a readable title. - **Themable colour.** The circle fills with `currentColor`, driven by CSS variables that flip for light and dark mode via `prefers-color-scheme`. - **Box-sizing reset** added to the universal selector for predictable sizing. The visual result is unchanged in light mode: a centred solid circle. Open the file in a browser to confirm.