Skip to content

Commit 6350afa

Browse files
committed
[css-snappoints] Update figcaption for example 2
1 parent 73e9fb0 commit 6350afa

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

css-snappoints/Overview.bs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,7 @@ Ignored Terms: scroll-snap-positions-*, containing block chain
143143

144144
<figcaption>
145145
The layout of the scroll container's contents in the example.
146-
The snap-destination is horizontally centered and offset 100px from the top edge with respect to the scroll container's visual viewport
147-
(represented by a red X),
148-
and each element has its snap coordinate horizontally centered and top-aligned with respect to the element
149-
(represented by yellow plus signs).
146+
The snap alignment container is represented by the red rectangle (inset from the top by 100px due to the scroll-snap-padding), and the snap area is represented by the yellow rectangle. Since the scroll-snap-align is "start" in the Y axis, a snap position is established at each scroll offset which aligns the Y-start of the snap alignment container (represented by a red dotted line) with the Y-start of a snap area (represented by a yellow dotted line).
150147
</figcaption>
151148
</figure>
152149
</div>

0 commit comments

Comments
 (0)