After playing with an experimental CSS Glitch Effect for images and text, one of the first questions we got was 220;how can this be used in a slideshow221;? The animations we used for the were tuned to run infinitely, so the keyframes were adjusted to that. In a slideshow we have a different scenario: we want to apply the glitch at a specific moment and exchange the image with the new one of the next slide. This kind of animation can also be used for hover effects.

This slideshow does exactly that: it transitions to the next slide using the glitch effect. Under the hood, it exchanges the glitch layers one by one and stops glitching once the last image is switched.

The demo is kindly sponsored by: GitLab 10.1 which now allows you to manage your visual assets like you manage your code. If you would like to sponsor one of our demos, find out more here.

Attention: Please note that the CSS clip- property does not work in IE or Edge.

GlitchSlideshow_01

GlitchSlideshow_02

GlitchSlideshow_03

We hope you enjoy this slideshow and find it useful!

References and Credits

Glitch Effect Slideshow was written by Mary Lou and published on Codrops.



Source link
thanks you RSS link
( https://tympanus.net/codrops//03/13/glitch-effect-slideshow/)

LEAVE A REPLY

Please enter your comment!
Please enter your name here