I think jQuery’s greatest feature is all of the animation / transition utilities. These methods truly changed how fast you can build a clean and interactive UI with some nice animations along the way.

As people move away from jQuery though, it is hard to find a solid answer on how you can achieve a similar effect to slideToggle. I’m going to be using Tailwind v1.2+ alongside Alpine, using some modern CSS transformation rules.

#tailwind css #css #c #tailwind

 Replicating `$.slideToggle` with Tailwind CSS & Alpine.js
5.05 GEEK