Skip to content
This repository was archived by the owner on Jan 11, 2022. It is now read-only.

Commit e004641

Browse files
author
rgalus
committed
Update demo
1 parent efbb6a3 commit e004641

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

demo/index.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
}
3131

3232
img {
33+
display: block;
3334
z-index: 2;
3435
}
3536

@@ -66,7 +67,7 @@
6667
margin-top: 200px;
6768
background: #ecf0f1;
6869

69-
height: 500px;
70+
min-height: 500px;
7071
}
7172

7273
</style>
@@ -91,7 +92,10 @@
9192
<section class="container" data-sticky-container>
9293
<div class="row column">
9394
<img src="http://placehold.it/250x250" class="float-left" alt="Sticky" data-sticky data-sticky-for="1023" data-sticky-class="is-sticky" data-margin-top="100">
94-
<img src="http://placehold.it/250x250" class="float-right" alt="Sticky" data-sticky data-margin-top="100">
95+
<div class="float-right">
96+
<img src="http://placehold.it/250x250" alt="Sticky" data-sticky data-sticky-wrap data-margin-top="100">
97+
<img src="http://placehold.it/250x125/ecf0f1?text=Not+sticky" alt="Not sticky">
98+
</div>
9599
</div>
96100
</section>
97101

0 commit comments

Comments
 (0)