CSS3圆角和虚线边框? [英] CSS3 Rounded and Dotted borders?

查看:101
本文介绍了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.see中的错误问题,mozilla不支持圆角的虚线和虚线边框。

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

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆