PATCH / Frozen worked CSS width lesson Purpose: explain one isolated width-rule change using native code, before/after examples and two known host widths. This is a first-party teaching fixture, not a patch to an actual application or a complete responsiveness/accessibility/performance review. Both examples are ordinary block boxes with no parent flex/grid, no margin, no inherited min-width and no other width constraints. Host content widths are320px and600px. All pixels in this lesson are CSS pixels. BEFORE exact width-relevant CSS: .demo.before { box-sizing: border-box; width: 480px; padding: 24px; border: 2px solid; } AFTER exact width-relevant CSS: .demo.after { box-sizing: border-box; width: 100%; max-width: 480px; padding: 24px; border: 2px solid; } The2px border is on each side, as is24px padding. Decorative colors and a100px example height may be added; no other width-affecting rule may alter the result. Before border-box outer width480px in both hosts. In320px host it extends160px beyond the host; in600px host it leaves120px spare. Content width428px in either before case. After outer width is320px in320px host and480px in600px host. Corresponding content widths are268px and428px: outer minus48px padding minus4px border. There is no after overflow in either host; the600px host still has120px spare. The illustrated change removes the fixed width and adds width100% plus max-width480px; padding, border and border-box stay unchanged. Render the actual CSS as isolated native examples and measure the outer geometry after safe rendering; do not substitute a fake screenshot or only a diagram. Any horizontal inspection window remains bounded, hinted, keyboard-focusable and usable to both ends. Before-case child overflow is intentional demonstration inside that window, not permission for page overflow. Bounded conclusion: the after rule fits these two hosts while retaining the480px cap. This does not establish that every viewport, content length, zoom state, browser, interaction or actual application is accessible or fully responsive. Primary reference checked before authoring: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/width ; https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/max-width ; https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/box-sizing . The fixture and calculations are original; no MDN example or prose is reproduced. Four-slide independently authored code-teaching design study, not a released-recipe evaluation output.