compiling000%Dhaka, Bangladesh
How I build the things on this site: GSAP, React and making it all fast. With live demos, not just code.
7 Nov 20263 min readHover menus that close before you get thereA dropdown that vanishes on the way to its third item is a gap problem. One CSS transition delay fixes it, no JavaScript.CSSUX
4 Nov 20263 min readAnimating in from display none with @starting-styleWhy a toast with a transition still pops in, and how @starting-style and allow-discrete fix it without requestAnimationFrame.CSS, Animation
3 Nov 20262 min readLike buttons that don't wait for the serverHow React 19's useOptimistic shows the result first, rolls back on its own when the request fails, and where it shouldn't be used.React, UX
2 Nov 20263 min readAnimating height to auto with interpolate-sizeWhy the max-height trick feels wrong, and the one line of CSS that lets an accordion transition to height: auto.CSS, Animation
31 Oct 20262 min readDrawing a signature with GSAP DrawSVGHow the signature on this site writes itself: font outlines from opentype.js, a stroked mask, and a pen that moves at an even speed.GSAP, SVG, Animation
31 Oct 20261 min readWhy your scroll animations lag on mobileMost janky scroll animations come from the same few mistakes. Here is what to check before you blame GSAP.Performance, GSAP