我想在我的网站的背景中有一个模糊的效果。但是你可以看到,过渡是真的切割,我想有一个不错的褪色。
.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%)}
首先,您应该删除filter:blur(250px)
。推荐的模糊值在5px附近。
只需在那个地方放置一个图像。如果你不想看到那些低质量的产品线,那就更好了。
看到这个我怎么才能防止CSS渐变分带?
您需要删除滤镜:模糊(250px)