Changeset 189835 in webkit
- Timestamp:
- Sep 15, 2015 6:14:29 PM (9 years ago)
- Location:
- trunk/Websites/webkit.org
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/webkit.org/ChangeLog
r189757 r189835 1 2015-09-15 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Add anchor tags for scroll snapping examples. 4 5 * demos/scroll-snap/index.html: Added anchor tags. 6 1 7 2015-09-14 Wenson Hsieh <wenson_hsieh@apple.com> 2 8 -
trunk/Websites/webkit.org/demos/scroll-snap/index.html
r189755 r189835 217 217 <p id="subtext">The following examples are overflow-scrolling <code>div</code>s. In the second, third and fourth examples, the <span>blue</span> cross represents the location of each container’s scroll snap destination.</p> 218 218 <!-- Normal scrolling container (no snapping) --> 219 <a name="scroll-normal"></a> 219 220 <h3 style="margin-top: 5vh;">This first container does not have any scroll snapping behavior.</h3> 220 221 <div class="container"> … … 250 251 251 252 <!-- Simple scroll snapping container (using repeat) --> 253 <a name="scroll-snap-1"></a> 252 254 <h3>This second container shows what basic scroll snapping can do for us.</h3> 253 255 <div class="container" id="snap-scroll-container"> … … 286 288 287 289 <!-- Scroll snapping container using coordinates --> 290 <a name="scroll-snap-2"></a> 288 291 <h3>This next container snaps to elements of different sizes when scrolling.</h3> 289 292 <div class="container" id="snap-scroll-container-coordinates"> … … 345 348 346 349 <!-- Centered scroll snapping container using coordinates --> 350 <a name="scroll-snap-3"></a> 347 351 <h3>Here, we snap elements of different sizes to the center of the container.</h3> 348 352 <div class="container" id="snap-scroll-container-coordinates-centered"> … … 404 408 405 409 <!-- Centered scroll snapping container in 2D --> 410 <a name="scroll-snap-4"></a> 406 411 <h3>This container shows centered scroll snapping in a 2D grid.</h3> 407 412 <div class="container" id="snap-scroll-container-2D"> … … 417 422 418 423 <!-- Centered scroll snapping container in 2D, rotated --> 424 <a name="scroll-snap-5"></a> 419 425 <h3>This example takes the 2D scroll snapping grid above and rotates it by 30 degrees.</h3> 420 426 <div class="container" id="snap-scroll-container-2D-rotated">
Note: See TracChangeset
for help on using the changeset viewer.