CSS dotted border renders as dashed in Chrome

前端 未结 3 658
野的像风
野的像风 2021-01-19 04:38

I applied \"border-bottom:#F60 dotted .3em;\" to a div and while Firefox renders the dots as round, Chrome shows them as blocky dashes. Any takers?

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-19 05:29

    The specification doesn't define what 'dotted' means to that level of detail. The two browsers just interpret it differently. This is not a problem.

提交回复
热议问题