CSS点划线边框在Chrome中如虚线所示 [英] CSS dotted border renders as dashed in Chrome
本文介绍了CSS点划线边框在Chrome中如虚线所示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我应用了"border-bottom:#F60点缀.3em;"到div,而Firefox将圆点渲染为圆形,而Chrome将其显示为块状虚线.有没有人?
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?
推荐答案
If it's important that the borders are the same you can look into the CSS3 border image property: http://www.css3.info/preview/border-image/ for Chrome it will be -webkit-border-image:
这篇关于CSS点划线边框在Chrome中如虚线所示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文