在html页面引入
font-awesome.min.css
#userCenterPic1 span:hover::after {
content: '\f030\A修改头像';
white-space: pre;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
color: #eee;
background: rgba(0, 0, 0, 0.85);
font-family: FontAwesome;
font-size: 8px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
cursor: pointer;
line-height: 40px;
border-radius: 50%;
text-align: center;
}