开发者

Can I simplify this CSS?

I'm not sure about this but is there a way I can simplify:开发者_如何学JAVA

-moz-border-radius: 10px 0px 0px 10px / 10px 0px 0px 10px;


You can simplify the horizontal and vetical radii to a single declaration:

-moz-border-radius: 10px 0px 0px 10px;

However, you cannot simplify it further, as radii are only inherited diagonally. (bottom left will take top right's value if bottom left value does not exist).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜