6
我想有背景圖片這樣我可以將CSS濾鏡應用於背景圖片嗎?
body{
background-color: transparent !important;
background-image: url("img.jpg");
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
filter: blur(5px);
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
-o-filter: blur(5px);
-ms-filter: blur(5px)
}
也有它模糊濾鏡。
但是,當我把它放在身體上時,模糊是除了背景圖像之外的一切。
有沒有辦法將模糊僅應用於背景圖像? (除了在做Photoshop或類似的模糊。