CSS3边界半径速记解决方案 [英] CSS3 border radius shorthand solution

查看:94
本文介绍了CSS3边界半径速记解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是这个

border-radius:10px 10px 0 0;

缩短版本,可与所有对此识别的浏览器一起使用:

A shortend version that will work with all browsers that recognise it to this:

border-top-left-radius:10px; border-top-right-radius:10px;

推荐答案

是的,最好是第一种方法,因为它更短且带宽更少.

Yes, it's better the first approach because it's shorter and waste less bandwith.

这篇关于CSS3边界半径速记解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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