Skip to content

Commit c5713de

Browse files
author
rossen
committed
Fixing the png file extension and some text formatting.
1 parent 7c784c8 commit c5713de

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

css-snappoints/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ <h2 id=examples><span class=secno>2. </span>Examples</h2>
293293
<div class=figure>
294294
<p id=x0><img
295295
alt="The layout of the scroller</code>’s contents in the example. Snap points are set along the x-axis, starting at 0px and repeating at intervals of 100% of the containing block's width."
296-
src=example1layout.png>
296+
src=example1.png>
297297

298298
<p class=caption id=the-layout-of-the-scrollers-contents-in->The layout
299299
of the scroller's contents in the example. Snap points are set along the

css-snappoints/Overview.src.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,11 @@ <h3 id="values">
111111
<h2 id="examples">Examples
112112
</h2>
113113
<div class=example>
114-
<p>In this example, a series of images arranged in a <span>scroller</span> are used to build a photo gallery. The <span>scroller</span> is sized to the same size of the images contained therein. Using mandatory snap points, scrolling will always complete with a snap point aligned to the edge of the <span>scroller</span>. By aligning a snap point at the edge of each image, this creates a photo viewer were users can scroll through the images one at a time.</p>
114+
<p>In this example, a series of images arranged in a <span>scroller</span> are used to build a photo gallery.
115+
The <span>scroller</span> is sized to the same size of the images contained therein. Using mandatory snap
116+
points, scrolling will always complete with a snap point aligned to the edge of the <span>scroller</span>.
117+
By aligning a snap point at the edge of each image, this creates a photo viewer were users can scroll
118+
through the images one at a time.</p>
115119
<pre>img {
116120
width:500px;
117121
}
@@ -128,10 +132,11 @@ <h2 id="examples">Examples
128132
&lt;/div&gt;</code>
129133

130134
<div class=figure>
131-
<p><img src="example1layout.png"
135+
<p><img src="example1.png"
132136
alt="The layout of the scroller's contents in the example. Snap points are set along the x-axis, starting at 0px and repeating at intervals of 100% of the containing block's width.">
133137

134-
<p class=caption>The layout of the scroller's contents in the example. Snap points are set along the x-axis, starting at 0px and repeating at intervals of 100% of the containing block's width.
138+
<p class=caption>The layout of the scroller's contents in the example. Snap points are set along
139+
the x-axis, starting at 0px and repeating at intervals of 100% of the containing block's width.
135140
</div>
136141
</div>
137142
<h3 id="definitions">
@@ -142,7 +147,8 @@ <h3 id="definitions">
142147
</dl>
143148
<h3 id="scroll-snap-type">
144149
Scroll Snap Types: the 'scroll-snap-type' property</h3>
145-
<p>The ''scroll-snap-type'' property is used to define the physics characteristics of panning and scrolling, if any. It defines how and when snap points are enforced on the scroller it is applied to. </p>
150+
<p>The ''scroll-snap-type'' property is used to define the physics characteristics of panning and scrolling,
151+
if any. It defines how and when snap points are enforced on the scroller it is applied to. </p>
146152
<table class=propdef>
147153
<tr>
148154
<th>Name:
@@ -224,7 +230,9 @@ <h3 id="scroll-snap-points">
224230
<dt><dfn>''snapList(point1,point2,&hellip;)''</dfn></dt>
225231
<dd>Defines one or more discrete snap points for the <span>scroller</span>.
226232
<dt><dfn>''snapInterval(start, interval) ''</dfn></dt>
227-
<dd>Defines a starting snap point and an interval at which additional snap points are defined. The first argument is the starting snap point and the second argument is the interval to repeat thereafter. </dl>
233+
<dd>Defines a starting snap point and an interval at which additional snap points are defined.
234+
The first argument is the starting snap point and the second argument is the interval to
235+
repeat thereafter. </dl>
228236
</dl>
229237
<h2 id="conformance">
230238
Conformance</h2>

0 commit comments

Comments
 (0)