看看https://codepen.io/lukas-will-per/pen/BOvjEQ
input[type=button]
{
font-weight: bold;
color: #000000;
background-color: Transparent;
text-align: center;
}
我尝试了所有可能的解决方案,包括大纲和内容,但似乎没有用。 有什么建议吗?那个灰色边框看起来很不错。
最佳答案
使用边框:0px
input[type=button]
{
border:0px;
}
/* Or */
input[type=button]
{
border:none;
}
关于html - 从输入类型按钮值中删除灰色边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52403055/