一、css3新增选择器
1.用::selection去除所有鼠标选中元素的背景色
2.用:not来设置选中元素下面的非p标签元素
3.用:root设置网页背景色
:enabled 选择状态可用的【input、button】
:disabled 选择状态不可用的iput、button
:checked 选择选中状态下的input标签
[attr="value"] 属性选择器 input[type=""]
二、多列(比如p文本标签)
column-count 属性制定了需要分割的列数
.p{ column-count:3; }
column-gap 属性制定了列于列间的间隙
.p{ columu-gap:10px; }
column-rule属性是column-rule-* 所有属性的简写,指定边框表现得样式
.p{ column-rule:1px solid lightblue; }