DEV Community

Discussion on: Remove White Border From Blurry Background Image

Collapse
 
oskarcodes profile image
Oskar Codes

Or set the background color to black

Collapse
 
nazanin_ashrafi profile image
Nazanin Ashrafi

Sorry I didn't get it. Are asking me how to do that? 🤔

Collapse
 
oskarcodes profile image
Oskar Codes

Instead of creating a pseudo element, there’s a much simpler way to solve the issue, which is to set the background to black.

Thread Thread
 
nazanin_ashrafi profile image
Nazanin Ashrafi

How would setting the background to black blur the image? 🤔

Thread Thread
 
oskarcodes profile image
Oskar Codes

No, you do both. Set the background to black AND set the blur filter. This way there’s no white outline.

Thread Thread
 
danspinola profile image
Dan Spinola

Yeah, there's a black outline instead. 😂

Thread Thread
 
sinapirani profile image
SinaPirani

😂😂😂😂😂