问题:
I am trying to style a checkbox using the following: 我正在尝试使用以下样式设置复选框:
<input type="checkbox" style="border:2px dotted #00f;display:block;background:#ff0000;" />
But the style is not applied. 但是没有应用样式。 The checkbox still displays its default style. 该复选框仍显示其默认样式。 How do I give it the specified style? 如何给它指定的样式?
解决方案:
参考一: https://stackoom.com/question/HPDH/如何使用CSS设置复选框样式参考二: https://oldbug.net/q/HPDH/How-to-style-a-checkbox-using-CSS
来源:oschina
链接:https://my.oschina.net/u/4432649/blog/4327740