Make your border blend with the background.
@guerriero_se19K followers
121,258 views
25 Comments
Comments from the original post on X (Twitter)

@guerriero_se
Before → After
15 likes

@quirkdominion
Looks exactly the same to my eyes 😓
10 likes

@guerriero_se
it is subtle, I'll give you that 😄
2 likes

@bossadizenith
don't also forget pointer-events-none!
5 likes

@guerriero_se
True!
2 likes

@bossadizenith
🫶
1 like

@BIGNAPHTHA
do not use mix blend mode if you want people on firefox to use your website in more than 2 fps
3 likes

@madebyhex
I'm still not 100% convinced to this solution. The issue arises with scenarios involving components like dialogs, dropdowns, etc., when there are different elements underneath them. This sometimes creates a very inconsistent, conspicuous border around the overlay component
2 likes

@guerriero_se
It’s not always a good solution. It’s great when applied to static elements sitting on top of colorful/dark backgrounds. I wouldn’t use it on popovers.
5 likes

@jeflopo
Minimal visual gain but fuck the semantics of the document using an span just to style a border xdd
2 likes

@guerriero_se
you can also just use a class
8 likes

@jeflopo
True. Much better
3 likes

@fnkaa72512531
Brilliant
1 like

@monsieurBoutte
🔥 bookmarked
1 like

@mikoscz
haven’t seen anyone touch code by hand in months, love that bro

@seladexal
Its 2026, just paste the prompt

@guerriero_se
prompting takes more time that writing 2 CSS classes

@seladexal
Hence, the joke

@nicericesh
the kind of pre-ai autism that made me fall in love with webdev

@bradleyghanson
I have forgotten what it looks like to see code actually typed out



