hexagon button with border-radius and border using trigonometry
I'm trying to make a perfectly customizable hexagonal button using just css. So far I still have to use 2 magic numbers for
https://play.tailwindcss.com/1gE4l0GgpT?file=css
height and translateX. I dunno what's wrong with my math
https://play.tailwindcss.com/1gE4l0GgpT?file=css
Tailwind Play
An advanced online playground for Tailwind CSS that lets you use all of Tailwind's build-time features directly in the browser.

