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

前端 未结 3 1133
慢半拍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 02:50

    It's a bug, WebKit had a similar issue but it was fixed in June. Here are all the other outstanding border-radius defects in Firefox.

    0 讨论(0)
  • 2020-12-04 03:00

    Your circle is too small. If you increase the height and width you will notice that the shape expands to a rounded-rectangle, the rounded edges remain solid but the lines become dashed.

    0 讨论(0)
  • 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/

    0 讨论(0)
提交回复
热议问题