SoFunction
Updated on 2025-02-28

Control the CSS of the input but does not affect the style of CheckBox and Radio

But checkbox radio and other things will also change as well. Often, these two controls are displayed very unsatisfactory, just think:
Just have a way to change the style of other input controls without affecting checkbox and radio. I found it online
I haven't found a suitable code for a long time: it's nothing more than adding a style and then adding a class="xxx" to each checkbox control
But this is too troublesome. After testing and research, I found that: expression((!="checkbox")? (This can be achieved, and the following can be changed
Take the code to test it in IE. This method is feasible in IE8, but it has not tested whether it is feasible in FireFox.

[Ctrl+A Select all Note:Introducing external Js requires refreshing the page before execution]

In addition, on the Internet, people think that input[type="checkbox"] is a style supported by firefox
The style of each control in the input can be controlled individually.