a > b : 选择a的直接子元素b
a + b : 选择紧跟a后面的b元素
a ~ b : a后面的兄弟元素b
: : first-letter : 选择首字(首字母)文本
: : first-line :选择首行
: : selection :鼠标选中文字的样式
: : target : 注解强调 (类似于文言文后面的注解圆圈里面有个1,点击此处的样式)
: empty : 选择空元素(含有空格或enter都不行)
拓:div实现placeholder样式
div[contenteditable]:empty:after{
content :“请输入......”
}