- [x]阴影[box-shadow:属性用于在元素的框架上添加阴影效果 ,该属性可设置的值包括,X偏移,Y偏移,阴影模糊半径,阴影扩散半径,和阴影颜色并以多个逗号分隔。
1 | /* x偏移量 | y偏移量 | 阴影颜色 */ |
[x][反射]box-reflect:属性用于在某一个方向反射元素的内容。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16/* Direction属性定义方向 */
-webkit-box-reflect: above;
-webkit-box-reflect: below;
-webkit-box-reflect: left;
-webkit-box-reflect: right;
/* Offset属性定义反射偏移的距离 */
-webkit-box-reflect: below 10px;
/* Mask属性定义遮罩图像 */
-webkit-box-reflect: below 0 linear-gradient(transparent, white);
/* 全局关键字 */
-webkit-box-reflect: inherit;
-webkit-box-reflect: initial;
-webkit-box-reflect: unset;[x]transition:属性是 transition-property,transition-duration,transition-timing-function 和 transition-delay 的一个简写属性。
1 | /* Apply to 1 property */ |
- [x]transform:属性定义了一系列应用于元素和元素子元素的变换规则集合。
1 | @keyframes scaleDraw { /*定义关键帧、scaleDrew是需要绑定到选择器的关键帧名称*/ |