Why does border: 5px dashed not come out as dashed in Firefox?

前端 未结 3 1150
慢半拍i
慢半拍i 2020-12-04 02:33

You can see the implementation here:

http://jsfiddle.net/Wtcdt/

In FireFox on Mac, that circle is round/solid. I want it either dashed or dotted.

Wh

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 03:15

    Its a Firefox bug. Typically you have to either make solid border or remove radius. But if both of the properties are important then you can replace the corner with image like this: http://eblog.foysalremon.com/dashed-border-radius-corners-rendered-as-solid-on-firefox-solved/

提交回复
热议问题