A simple that uses the CSS for the slide transitions.

GlitchSlideshow_featured  - GlitchSlideshow featured - Glitch Effect Slideshow | Codrops

After playing with an experimental CSS Glitch Effect for images and text, one of the first questions we got was “how can this be used in a slideshow”? The animations we used for the glitch effect 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 effect 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-path property does not work in IE or Edge.

GlitchSlideshow_01  - GlitchSlideshow 01 - Glitch Effect Slideshow | Codrops

GlitchSlideshow_02  - GlitchSlideshow 02 - Glitch Effect Slideshow | Codrops

GlitchSlideshow_03  - GlitchSlideshow 03 - Glitch Effect Slideshow | Codrops

- advertisement - Glitch Effect Slideshow | Codrops

We hope you enjoy this slideshow and find it useful!

References and Credits


Source link


Please enter your comment!
Please enter your name here