It’s 2022. Maybe You Don’t Need Javascript at All

Implement complex JavaScript effects with CSS

fatfish
2 min readMar 30, 2023
Photo by Kelly Sikkema on Unsplash

Recently, I’ve learned a lot of great programming skills, and many things for which I had to resort to JavaScript can now be done with just CSS.

I believe you will fall in love with CSS too after reading this, let’s have a look!

1. Switch pictures smoothly

I have never thought that the effect of smooth transition can be accomplished using CSS, you can try to slide the picture, and there will be surprises for you!

HTML

--

--

fatfish

Hi friends, I am a front-end engineer from Alibaba, let’s code happily together.