为所有的p元素设置一个背景颜色, 除了class值为hello的
否定伪类
可以从已选中的元素中剔除出某些元素
:not(选择器)
p:not(.hello){}
原文:https://www.cnblogs.com/mkl7/p/10908359.html