【发布时间】:2022-11-03 17:09:58
【问题描述】:
【问题讨论】:
-
这回答了你的问题了吗? How do I change the color of radio buttons?
-
如果 Bootstrap 提供了一种为单选按钮着色的方法,您会在 the docs 中看到它。您需要应用自定义 CSS。但是,这样做会影响用户体验和可访问性。有时最好将控件保留为默认样式。您也可以考虑使用button toggle。
标签: twitter-bootstrap bootstrap-4 frontend