css-img 的src为空时怎么让裂图消失?

 

img[src=""],img:not([src]){
          opacity:0;
}

 

posted @ 2021-05-17 13:58  MiniDuck  阅读(882)  评论(0编辑  收藏  举报