Runs/circle · sample · Fable 5.1/024
circle · sample · Fable 5.1 · trial 024 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>ae683f770</title>
<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
min-height: 100dvh;
display: grid;
place-items: center;
padding: 1rem;
}
svg {
display: block;
width: min(400px, 100%);
height: auto;
max-height: calc(100dvh - 2rem);
aspect-ratio: 1;
}
</style>
</head>
<body>
<svg id="ae683f770" viewBox="0 0 400 400" role="img" aria-labelledby="ae683f770-title">
<title id="ae683f770-title">Black circle</title>
<circle cx="200" cy="200" r="200" fill="#000"/>
</svg>
</body>
</html>
What the model said
I've tidied up `0.html` while keeping the look the same: a 400px black circle centered on the page. I haven't opened it in a browser to check.
## What changed
- **No more horizontal scrollbar:** `width: 100vw` on the body overflows when a vertical scrollbar is present, so I removed it.
- **Better mobile height:** the body now uses `min-height: 100dvh` (with a `100vh` fallback), so the circle stays centered when mobile browser toolbars show or hide.
- **Scales on small screens:** the SVG was a fixed 400×400 and got clipped on narrow or short viewports. It now shrinks to fit, stays square, and is capped at 400px.
- **Accessible:** the SVG has `role="img"` and a `<title>`, so screen readers announce it as "Black circle" instead of skipping it.
- **Explicit fill:** the circle now has `fill="#000"` rather than relying on the SVG default.
- **Small CSS cleanups:** `box-sizing: border-box` in the reset, `display: grid; place-items: center` for centering, and 1rem of body padding so the circle never touches the viewport edge.
## What I left alone
- The page title and the SVG id `ae683f770` are unchanged, since they look like generated identifiers that something else may reference.
- I didn't add dark-mode support, because that would change how the page looks. If you want it, add `:root { color-scheme: light dark; }` and change the fill to `currentColor`.