Dinil Thilakarathne
51 posts

Dinil Thilakarathne
@codebydinil
Creative Front-end developer Talk about CSS and Web Animations
가입일 Nisan 2023
343 팔로잉16 팔로워

Introducing 𝚑𝚒𝚝-𝚊𝚛𝚎𝚊—a collection of @tailwindcss utility classes for expanding the hit area of interactive elements.
Small hit areas are a silent UX killer. One class fixes it.
Distributed via @shadcn registry - see link below.
English

i found the use-case of this component.
inspired by @nitishkmrk
zenith@bossadizenith
If this feels overengineered, your UI is underdesigned. inspired by @raunofreiberg
English

@Una @emilkowalski I’m absolutely loving these morphing animations!!!
English

I always *love* @emilkowalski's UI tips! Here's the native browser way to achieve this effect:
View transitions do this "fade-out-while-rearranging" behavior by default. You can also customize the transition with CSS (see demo)
::view-transition-old(*):only-child { ... }
codepen.io/una/pen/VYjKoae
Emil Kowalski@emilkowalski
Notice how in the correct example chips move instantly to their new position when a chip is removed. That’s because of the `popLayout` mode on AnimatePresence in motion/react which creates a smoother, faster transition when removing an element.
English

2025: built things
2026: build more things 🧑🍳
jhey ʕ•ᴥ•ʔ@jh3yy
2024: built things 2025: build more things 🤙
English

@jh3yy Thank you for sharing these stuffs. I have learnt a great deal from them and I am very excited about the 2026 event.
English

@Lolasasfi Yup, this isn’t quite ready for the big leagues yet, as it doesn’t support all the major browsers just yet.
Full documentation own👇
developer.mozilla.org/en-US/docs/Web…
English

@codebydinil css taking back territory from js is always satisfying
how's browser support looking tho? feels like these apis sit in demo land for ages
English

Stop reaching for JS libs to position your tooltips. The future is pure CSS! 🤯
I built a simple demo using the new CSS Anchor Positioning API to show how you can natively tether tooltips to any element.
Demo & Code: sona-animations.vercel.app/tooltip
#css #frontend #webdev #cssanchor
English









