-2

I want to have a blur effect in the background of my website. But you can see that the transition is really cutted and I would like to have a nice fade.

.ug-background_shader{
filter: blur(250px);
background-color: rgb(73, 73, 73);
height: 70%;
width: 80%;
// background-color:  radial-gradient(circle, rgba(255, 8, 8, 0.733) 40%, rgb(177, 30, 30) 100%);d
position: fixed;
// z-index: -2;
top: 50%;
left: 50%;
transform: translate(-50%,-50%)}

Can I make this effect a little bit more clean without the edges

ungarmichael
  • 101
  • 1
  • 9

2 Answers2

2

You need to remove the filter : blur(250px)

Kanishk Anand
  • 1,686
  • 1
  • 7
  • 16
1

First you should remove filter : blur(250px). Recommended blur value is near 5px.

Simply place an image in that place. It's way better if you don't want to see those low quality lines.

See this How can I prevent CSS gradient banding?

Smooth Neon
  • 433
  • 5
  • 13