CSS3 :unchecked pseudo-class

后端 未结 4 842
醉话见心
醉话见心 2020-12-13 03:34

I know there is an official CSS3 :checked pseudo-class, but is there an :unchecked pseudo-class, and do they have the same browser support?

4条回答
  •  情歌与酒
    2020-12-13 03:47

    The way I handled this was switching the className of a label based on a condition. This way you only need one label and you can have different classes for different states... Hope that helps!

提交回复
热议问题