3min chapter

Frontend First cover image

The problem with buttons on the web

Frontend First

CHAPTER

How to Tap a Button Really Quickly

On the mobile web we do things like hover states. And so that's great, because you know when you'rebout to tap it, you've aready hovered it. That's almost like the equivalent feedback. But bor, if you just click a button really quick, that’s the other thing, right? If you click a button, even if you're hovered, sometimes you darken it even more when you click it. So i started doing was using framer motion to trigger and animation on tap, on click, basically. And thee animation would make the background fade in and fade out. It's a very dramatic animation when you tap a number in

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode