We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1666e8 commit 6b6983dCopy full SHA for 6b6983d
1 file changed
image-animation-property/README.md
@@ -231,6 +231,20 @@ img:hover, img:focus {
231
}
232
```
233
234
+<p id=ex-carousel>
235
+Interesting effects can easily be achieved in combination with other CSS:
236
+```css
237
+.carousel {
238
+ overflow: scroll;
239
+ scroll-snap-type: both mandatory;
240
+}
241
+.carousel img {
242
+ scroll-snap-align: center;
243
+ image-animation: paused;
244
245
+.carousel img:snapped { image-animation: play; }
246
+```
247
+
248
### Possible Extensions
249
250
#### Control Over Iterations
0 commit comments