by desmap · 5y ago · 0 comments
<a class="f6 link dim ph3 pv2 mb2 dib white bg-black" />
Anyone so quick to show the same in Tailwind to have a comparison?You can see the button rendered here (the first at the top): https://tachyons.io/components/buttons/basic/index.html#0
<a class="active:opacity-80 bg-black hover:opacity-50 inline-block mb-2 px-4 py-2 text-sm text-white transition-opacity">
Button Text
</a>
https://play.tailwindcss.com/rNUrXntEZQEdit: That should be `focus:opacity-80` instead of `active:opacity-80`.
flex bg-black text-white px-8 py-4 font-bold cursor-pointer items-center justify-center
edit: more characters needed, but IMO makes more sense as to what it's doing.