Glitch Effect Slideshow

A simple slideshow that uses the CSS Glitch Effect for the slide transitions.

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.




We hope you enjoy this slideshow and find it useful!

References and Credits

Tagged with:

Manoela Ilic

Manoela is the main tinkerer at Codrops. With a background in coding and passion for all things design, she creates web experiments and keeps frontend professionals informed about the latest trends.

Stay in the loop: Get your dose of frontend twice a week

👾 Hey! Looking for the latest in frontend? Twice a week, we'll deliver the freshest frontend news, website inspo, cool code demos, videos and UI animations right to your inbox.

Zero fluff, all quality, to make your Mondays and Thursdays more creative!

Feedback 15

Comments are closed.
  1. I used to find codrops and Mary Lou very inspiring. Visited the site at least once a day for years. Now with all these boring generic text effects ya’ll posting I have to say my goodbye. Thanks for all the awesome plugins and tutorials. All the best

  2. The creativity this site had is slowly waning away. I hope it will be recaptured soon.

  3. @I will not cry @ Safaricom I’m really sorry but I became a mom recently and sleep deprived nights don’t help much with creativity 😀 I’ll try my best to come up with more interesting ideas and thank you for your support. Cheers, ML

  4. @mary lou : Congratulations for being a mother and good luck for this new challenging project. I just want to say thank you for the best resource for web designer.
    From letter effect to website exemple the big difference is you give and explain the code i give your website everyyear to all of my webdesign student and they love it .
    @all if you have other website like this give links you welcome . I just know

  5. Congratulations on becoming a mom. I have learnt so much from this site and I appreciate your work and the only thing I wish for is this site to be as resourceful and successful as it can be. Thanks

  6. Hey Mary Lou! I really loved the glitch effect in a slideshow but is there any way it can be used with autoplay? What I mean is, the image sits there for a few seconds and then the glitch transition effect occurs without having to click anything.

    Thanks a lot!

  7. Love it! But the github link is 404ing, can you take a look? Maybe it isn’t set to public?

    • Sorry about that and thanks for pointing that out. We’ve set it to public now.

  8. Congratulations Manoela. I wonder how I missed this. Parenthood is not easy – good luck.