css为禁用单选按钮 [英] css for disabled radio button
本文介绍了css为禁用单选按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
默认情况下,当我们为< input type =radio
..放置 disabled =disabled它会变成灰色。什么是CSS我需要使用改变颜色?我可以用jquery立即做到这一点?
样式单选按钮并不被大多数浏览器广泛支持,你可以在这个< a href =http://www.456bereastreet.com/lab/styling-form-controls-revisited/radio-button/ =nofollow noreferrer>测试。
,但如果您真的想要它,您可以尝试此插件
by default, when we put disabled="disabled" for <input type="radio"
.. . it will turn grey color. what is the css i need to use the change the color ? can i do this instantly with jquery ?
解决方案
styling radio buttons is not widely supported by most browser as you can see in this test.
but if you really want it, you may try this plugin
这篇关于css为禁用单选按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文