gpt4 book ai didi

css - 如何使用css去模糊图像

转载 作者:行者123 更新时间:2023-11-27 23:45:56 25 4
gpt4 key购买 nike

我正在尝试取消模糊图像的文本,但我无法做到,下面是该图像的 css

img[Attributes Style] {
width: 109px;
height: 19px;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
}
<img src="https://dummyimage.com/300x300" width="109" height="19" 
style="vertical-align:top;" border="0">

打开检查器后我无法编辑那个 css 我试过 opacity :1 不工作

image

最佳答案

问题是不透明度不会使图像模糊。它用于调整图像的透明度。你应该使用的是 过滤器:模糊(1px); -webkit-filter: blur(1px);

增加像素值会增加图像的模糊度,增加像素值会使图像更模糊

关于css - 如何使用css去模糊图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56818083/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com