HTML提交按钮阴影边框问题

HTML提交按钮阴影边框问题,html,css,Html,Css,因此,当我将此样式应用于标记时,它看起来: 但当我将其应用于“提交”按钮时,其周围会出现一些边框: 如何删除此边界 尝试将此属性添加到css规则: input[type=submit] { float: left; font-size: 14px; width: 30%; height: auto; text-align: center; font-weight: normal; line-height: 30px; word-w

因此,当我将此样式应用于
标记时,它看起来:

但当我将其应用于“提交”按钮时,其周围会出现一些边框:

如何删除此边界


尝试将此属性添加到css规则:

input[type=submit] {
    float: left;
    font-size: 14px;
    width: 30%;
    height: auto;
    text-align: center;
    font-weight: normal;
    line-height: 30px;
    word-wrap: break-word;
    margin-left: 34.998721%;
    margin-top: 20px;
    clear: both;
    min-height: 0px;
    font-family: helvetica;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 154, 222);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
如果不起作用,则还应添加:

border: none;

尝试为活动状态添加以下内容:

outline: none;

因为按钮元素本身有一个边框,所以必须禁用它才能使其不显示

要实现这一点,可以依赖找到的边框样式选项

因此,如果您想禁用submit按钮的标准边框,只需将这一行添加到CSS中即可

outline: none;

默认情况下,“边框样式”属性设置为“无”,通过定义“边框左上角半径”属性等,可以将边框样式替换为实体,从而获得不需要的边框。你可以简单地添加border color属性并将其设置为透明,然后你就应该得到你想要的结果了

是的,非常完美,birder适合我,很抱歉,我不是web开发人员,所以面对这个小问题。谢谢如果我的答案解决了问题,请接受。@razzak是的,谢谢!
border-style: none;