上传图片组件的悬停显示删除等操作遮罩层CSS
>div:last-child{ position:absolute; height:50px; width:50px; top:0; left:0; opacity:0; background:rgba(0,0,0,0.5); border-radius:10%; transition:.3s all; display:flex; align-items:center; justify-content: center; color:white; >i{ display:none; } }