-
根据用户昵称,生成用户默认头像 JS 版
2017-09-18 16:58.avatar:after { content: attr(data-name) " "; width: 48px; height: 48px; background-color: antiquewhite; display: inline-block; text-align: center; line-height: 48px; font-size: 25px; font-weight: 600; border-radius: 50%; }