01
Original Guide
Breakpoint-specific preview
Viewport: 833px
The Guide already offers two native viewport choices and a live width readout. Its established presentation stays in place.
Viewport-dependent classes have to run inside a viewport whose width really changes. This comparison keeps one authored Save button, the actual preset breakpoint and an iframe for both shared treatments.
DemoViewport now distinguishes the iframe stage from its controls with a fine frame. Switch between Below sm and At sm, or use the slider; the button padding and computed readout should change with the actual iframe width.Both shared treatments use the same iframe document and width controls. The candidate changes only the surrounding chrome.
Breakpoint-specific preview
The Guide already offers two native viewport choices and a live width readout. Its established presentation stays in place.
Shared iframe viewport
The previous viewport offered preset widths, a range control and Fit. Its scroll boundary was visually implicit.
Bounded specimen viewport
A hairline around the frame and a quieter control deck distinguish the actual iframe width from the striped outer demo without changing that width.
The padding reference crosses the same breakpoint inside an iframe, preserving the class and its browser behavior.
The Reference keeps control of its teaching geometry. Viewport decoration must not make an outer container query look like a real media query.