当img图片的src为空时会出现边框怎么办?

当想要img的src值为空时想要去掉边框:img[src=""], img:not([src]){opacity: 0}

posted @ 2021-02-07 11:11  搬砖的苦行僧  阅读(204)  评论(0)    收藏  举报