我无法找到ImageMagick的命令,它会对下面的图像产生影响(别担心,这些有趣的img仅作为示例:-)).我尝试了很多解决方案,但问题是渐变后的任何元素在添加颜色后都会消失.我无法找到解决方案,因为在任何混合或着色源图像上的所有阴影细节消失后.
以下示例并不理想,我在GIMP中做到了这一点.但是在ImageShack中结果更糟......(我没有告诉他们:D)


我无法从其中一半的输入类型按钮中删除灰色“阴影”效果:
我检查了论坛上的所有方法,但是:
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
box-shadow: none;
outline: white;
Run Code Online (Sandbox Code Playgroud)
不起作用...
示例:
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
box-shadow: none;
outline: white;
Run Code Online (Sandbox Code Playgroud)
.background {
background-color: lightgrey;
width: 400px;
height: 300px;
}
.button {
position: absolute;
left: 10px;
top: 10px;
background-color: black;
border-radius: 50%;
border-width: 2px;
border-color: white;
width: 25px;
height: 25px;
color: white;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
box-shadow: none;
outline: white;
}
.box {
position: absolute;
left: 20px;
top: 20px;
background-color: white;
width: 200px;
height: 100px; …Run Code Online (Sandbox Code Playgroud)