CSS3圆角和虚线边框

CSS3圆角和虚线边框

本文介绍了CSS3圆角和虚线边框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在CSS3中创建一个边框,使它们被圆化和点缀?

Is it possible to create a border in CSS3 such that they are rounded and dotted?

我围绕着我的角落,但它们似乎是固定的:

I'm rounding my corners but they appear solid with:

border: 1px dotted gray;
-moz-border-radius-topright: 30px 20px;
-moz-border-radius-topleft: 30px 20px;

边框的其余部分是虚线,但拐角是实心的。

The rest of the border is dotted but the corners are solid.

我知道这是特定于Firefox的,但现在很好。

I understand that this is specific to Firefox but that's fine for now.

感谢

推荐答案

这是Firefox中的错误,请,mozilla不支持圆角的虚线和虚线边框。

It'a bug in firefox.see this issue,mozilla doesn't support rounded corner for dotted and dashed border.

这篇关于CSS3圆角和虚线边框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 03:02