为了方便自己记忆,有需要的朋友也可以顺手牵羊。
Mozilla
-moz-border-radius-topleft for the top-left corner;
-moz-border-radius-topright for the top-right corner;
-moz-border-radius-bottomright for the bottom-right corner;
-moz-border-radius-bottomleft for the bottom-left corner;
Webkit
-webkit-border-radius-topleft for the top-left corner;
-webkit–border-radius-topright for the top-right corner;
-webkit–border-radius-bottomright for the bottom-right corner;
-webkit–border-radius-bottomleft for the bottom-left corner;
Shadow:
- -webkit-box-shadow: 10px 10px 25px #ccc;
- -moz-box-shadow: 10px 10px 25px #ccc;
前两个属性设置阴影的 X / Y 位移,这里分别是 10px,第3个属性定义阴影的虚化程度,最后一个设置阴影的颜色。
不透明度
opacity: value
(IE 目前不支持CSS3)