How to style a disabled checkbox?

后端 未结 9 727
旧巷少年郎
旧巷少年郎 2021-01-07 16:32

Do you know how I could style a checkbox when it is disabled?

E.g.:



        
9条回答
  •  耶瑟儿~
    2021-01-07 16:57

    You can select it using css like this:

    input[disabled] { /* css attributes */ }
    

提交回复
热议问题