TailwindCSS <details> plugin
I built a nice looking and fully accessible dropdown menu by using the native
To build it in a utility-first approach, I created a simple plugin for TailwindCSS.
Just published my first npm package - that small three-line Tailwind Plugin to apply styles when a <details> tag is opened 🤷♀️— Liam Hammett (@LiamHammett) February 13, 2019
A couple of useful examples in the readme of what you can achieve with it pic.twitter.com/TXjwqhmEGy
You can find the plugin over at GitHub.