Why cannot change checkbox color whatever I do?

前端 未结 14 2278
孤城傲影
孤城傲影 2020-11-28 08:54

I try to style checkbox background color, but it won\'t change whatever I do. I am using firefox 29 latest.

Is there some rule changes in css or may be in the browse

14条回答
  •  长情又很酷
    2020-11-28 09:23

    Can be very simplified like that :

    input[type="checkbox"]{
        outline:2px solid red;
        outline-offset: -2px;
    }
    

    Works without any plugin :)

提交回复
热议问题