按钮背景色未在边缘显示,但可在Firefox和Chrome上使用

Bid*_*jhi 3 html css firefox google-chrome microsoft-edge

我正在设计我的登录页面。我添加了按钮背景色,该背景色完美地显示在chrome和firefox上,但是在Microsoft Edge上却不显示。以下是我的HTML和CSS,请注意-我尝试了多种颜色,所有颜色都在chrome和firefox上运行,但不在边缘

的HTML

         .index-un-right-nav-buttom{
                float: left;
                height: auto;
                padding-top: 10px;
                padding-bottom: 10px;
                width: 100%;
            }
                .index-un-right-nav-submit-button{
                    float: left;
                    padding-top: 5px;
                    padding-bottom: 5px;
                    height: 50px;
                    width: 100px;
                    margin-top: 20px;
                    margin-bottom: 20px;
                    margin-left: 10%;
                    border: none;
                    outline: none;
                    color: #ffffff;
                    background-color: #007182fb;
                    font-family: Arial, Helvetica, sans-serif;
                    font-size: 18px;
                    border-radius: 50px;
                }
Run Code Online (Sandbox Code Playgroud)
<span class="index-un-right-nav-button">
    <button class="index-un-right-nav-submit-button">Login</button>
</span>

       
Run Code Online (Sandbox Code Playgroud)

在Firefox中, Firefox中的图像

在边缘 在边缘

在镀铬中 镀铬

Mr *_*ter 5

Edge不支持8位彩色符号。参见CanIUse。

使用

background-color: rgba(0, 113, 130, 0.984);
Run Code Online (Sandbox Code Playgroud)

代替。