Mayank
mayank.co
Mayank
@mayank.co
front-of-the-front end developer.

usually writing CSS or listening to prog (or both).

they/them
ok :D
September 19, 2025 at 12:51 PM
the next generation of stalebots
July 19, 2025 at 6:09 PM
how i sound at work
June 26, 2025 at 1:47 PM
this feels good
December 6, 2024 at 4:54 PM
stop fucking with links. why do you think i clicked the link?
November 27, 2024 at 2:14 AM
every JS monorepo MUST have multiple copies of esbuild inside node_modules
November 25, 2024 at 11:16 PM
yup, it's my daily driver. i love that it's based on firefox, so i get all the nice things: dev-tools, tab containers, sync for mobile
November 23, 2024 at 5:46 PM
i hope bluesky never pulls this move for logged out users
November 22, 2024 at 2:40 AM
i didn't want to "lose" this particular tweet, because it has sentimental meaning to me and it resonated with so many other people.

it was shown by @una.im at CSS Day. youtu.be/dkBeBxs48os
November 16, 2024 at 1:37 AM
so it begins
November 7, 2024 at 12:57 AM
working on this and it doesn't feel right.

the notification-count is app-wide state, whereas this is specific to the feed. i need do it in a roundabout way, lifting state up that probably shouldn't be lifted up.

@danabra.mov what do you think of the phanpy-style button? bsky.app/profile/maya...
November 6, 2024 at 1:14 AM
i pulled the bsky repo just so i could remove that thing
November 2, 2024 at 2:57 PM
there are so many nice UX details in Phanpy.

- all engagement numbers hidden in timeline
- long tap post for options
- scroll up to hide "scroll to top" button (so it's not in your face all the time)
- tap profile for quick "peek" (alternative to hover cards)
October 29, 2024 at 12:29 PM
it's a good change. i just find it funny that they had to reiterate it multiple times
October 27, 2024 at 12:49 AM
10. you can build a "scroll shadow" using scroll-driven animations! no JS needed

it's chrome only rn but that's ok. great candidate for progressive enhancement

demo from @bram.us: scroll-driven-animations.style/demos/scroll...

article from @davatron5000.bsky.social: daverupert.com/2023/08/anim...
October 25, 2024 at 8:16 PM
9. switching gears, did you know you can mix two colors using CSS `color-mix`? developer.mozilla.org/en-US/docs/W...

great for things like hover effects, where you want to slightly adjust the existing color. no need for defining extra tokens.
October 25, 2024 at 7:48 PM
8. !important works a bit differently inside layers.

while styles in a lower layer normally lose to styles in a subsequent layer, this order is flipped for !important.

this means you can use !important to "seal" off CSS declarations that you are confident should never be overridden.
October 25, 2024 at 7:33 PM