Video wird geladen...
Video konnte nicht geladen werden
CSS Tip! ⭐️ You can use mix-blend-mode with scoped custom properties to create this inverted :hover effect 🤙 button > span { left: calc(var(--x, 0) * 1px); top: calc(var(--y, 0) * 1px); mix-blend-mode: difference; 👈 } The cool trick is that using mix-blend-mode acts like a color inverter which... show more
152,818 Aufrufe • vor 2 Jahren •via X (Twitter)
9 Kommentare

jhey ▲🐻🎈vor 2 Jahren
And here's the @CodePen link! 🚀 Sorry – Was hopping on a call with the legend @JohnPhamous ⚡️

Brandon McConnellvor 2 Jahren
W.h.e.r.e…i.s…t.h.e…C.o.d.e.P.e.n…l.i.n.k.?

Denis Avguštinvor 2 Jahren
You are some sort of wizard, right? I hope my clients never see your examples of "what can be done" 🤣

jhey ▲🐻🎈vor 2 Jahren
All you dude! 🤙

Achillevor 2 Jahren
How do you get good video quality on X? Compression is killing my videos.

Arnill Hasanvor 2 Jahren
Love this CSS magic! The hover effect is super sleek with mix-blend-mode.

Jordan Zucchiattivor 2 Jahren
@tristanjoly_web look at that mofo

Kingsley Ibhasebhorvor 2 Jahren
Where do you find all these tips???

Sinan ☀vor 2 Jahren
this feels nice
