【问题标题】:Bootstrap 4 radio button color in edge browser边缘浏览器中的 Bootstrap 4 单选按钮颜色
【发布时间】:2022-11-03 17:09:58
【问题描述】:

对于 Bootstrap 4 中的单选按钮,单选按钮的颜色在 Chrome 中为蓝色,在 Edge 中为黑色。

有没有办法在 Bootstrap 中将其更改为蓝色?

在 Chrome 中,

在边缘,

【问题讨论】:

标签: twitter-bootstrap bootstrap-4 frontend


【解决方案1】:
You can use an accent color in CSS.

    input[type="radio"] {
        accent-color: green;
    }

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-12-28
    • 2018-11-12
    • 2021-10-04
    • 1970-01-01
    • 2021-09-08
    • 1970-01-01
    • 2017-09-21
    • 1970-01-01
    相关资源
    最近更新 更多