Video yükleniyor...
Video Yüklenemedi
small details that matter 🧑🍳 use CSS pseudoelements to bridge the :hover gap w/ :has() + inset a:has(+ .dots) a::after, .dots + a::after { position: absolute; content: ''; } a:has(+ .dots) a::after { inset: 0 -50% 0 100%; } .dots + a::after { inset: 0 100% 0 -50%; }
117,396 görüntüleme • 1 yıl önce •via X (Twitter)
20 Yorum

i need jhey mcp server, can’t keep bookmarking these

at some point, it’s gotta happen 😅

more like this please

@arayyye 🙏🙏🙏

you are special man

@arayyye oh wow 🙇♂️

Thanks for the tips, it will be so if you post code intended like with 😁

my goal is jus' to release the course/reference/platform site and link to the snippets there 🤞

Every single post, I learn something new

@divandcode legend 🙏

Awesome share 👌🏻

🙏

😲

initially when i looked at this, i was like "nah", and did a little scripted solution then i sat on it for a day and implemented in my head whilst drinking my coffee 😅

simple!

The only reason i want to learn code is to be able to do stuff like this

Ok bookmarked this banger

This is such a clever use of `:has()` It's amazing to see how modern CSS features are solving old problems in such elegant ways. The days of needing JavaScript for complex hover effects are numbered.

Practical UX in web at its best. Nice tip.

I can’t reproduce this effect on my local Chrome. Could you share a CodePen link? Thanks for your sharing.
