Haz(@diegohaz) 's Twitter Profileg
Haz

@diegohaz

• Author of https://t.co/O6wPfBCEDG
• Previously maintainer @WordPress
• JavaScript, React, web accessibility
• Autistic, dad, he/him

ID:56391956

linkhttps://github.com/diegohaz calendar_today13-07-2009 14:53:04

7,8K Tweets

10,5K Followers

370 Following

Haz(@diegohaz) 's Twitter Profile Photo

I love Tailwind, but I don't believe it's a good idea to style 100% of your app with Tailwind, particularly as plain CSS has been improving significantly with nesting, relative colors, etc.

I found a balanced approach is to create my own classes like 'focusable clickable popup…

account_circle
Haz(@diegohaz) 's Twitter Profile Photo

Triggering dropdowns on mouse/touch/pointer down is a bad idea. It messes with focus and the :active state.

Now I'm thinking about just using click event handlers.

account_circle