1.新的选择器
- 属性选择器
[title] [class="demo"]
- 结构伪类选择器
nth-child(n)
- 伪类选择器
::before
::after
2.转换transform
- 2d
translate(x,y)
rotate(45deg )
scale(x,y)
- 3d
translate3d(x,y,z)
rotateX(x)
rotateY(y)
rotateZ(z)
3.动画animation
重点记住我们动画的简写属性
4.游览器的私有前缀
私有前缀是为了兼容老版本的写法,比较新的版本无需添加
1.私有前缀
- -moz-:代表firefox游览器私有属性
- -ms-:代表IE游览器私有属性
- -webkit-:代表safari、chrome私有属性
- -o-:代表Opera私有属性