为什么我的 CSS class 不能在边缘 && 即上工作
Why my CSS class don't work on edge && ie
我有 angular7 应用程序,我已经为我的按钮编写了自己的 class。按钮的代码和 class "btn-baya" 就像下面的代码。
<a [routerLink]='["/eval-detail",evaluation.id]' class=" btn-baya">En savoir plus</a>
.btn-baya {
background-color: rgba(243, 116, 33) !important;
color: #ffffff !important;
cursor: pointer;
}
此代码适用于所有浏览器,但不适用于 ie10 和 edge!任何解决方案请
rgba
颜色表达式需要 4 个值。来自它的名字——"red"、"green"、"blue"、"alpha"。你只有三个。
要么指定 alpha:
rgba(243, 116, 33, 1)
或使用rgb()
:
rgb(243, 116, 33)
我有 angular7 应用程序,我已经为我的按钮编写了自己的 class。按钮的代码和 class "btn-baya" 就像下面的代码。
<a [routerLink]='["/eval-detail",evaluation.id]' class=" btn-baya">En savoir plus</a>
.btn-baya {
background-color: rgba(243, 116, 33) !important;
color: #ffffff !important;
cursor: pointer;
}
此代码适用于所有浏览器,但不适用于 ie10 和 edge!任何解决方案请
rgba
颜色表达式需要 4 个值。来自它的名字——"red"、"green"、"blue"、"alpha"。你只有三个。
要么指定 alpha:
rgba(243, 116, 33, 1)
或使用rgb()
:
rgb(243, 116, 33)