Firefox - Remove border from undecorated checkbox

前端 未结 2 1194
清歌不尽
清歌不尽 2021-01-15 23:14

I have a checkbox the has the appearance: none;. This working in chrome, but in Firefox it leaves behind an inset border that I cannot remove. I have tried

2条回答
  •  孤城傲影
    2021-01-16 00:09

    you could try setting a -moz-box-shadow: with the color of the two lines that are lighter to cover the dark inset the firefox creates...

    also, i tried playing around in firebug and if u turn of -moz-appearance: none, the checkbox is completely fine and has a normal styling that you shouldn't need to play around with.

提交回复
热议问题