div:not(.div){
    color: red;
} :not 选择器写法,前面加上对应的标签名,不然都会作用到,达不到not的效果