div圆角头像
作者:互联网
<div
class="avator"
style="background: url({:format_person_photo($vo[person_photo],$vo[person_sex])});"
></div>
.avator {
width: 60px;
height: 60px;
border-radius: 50%;
overflow: hidden;
display: block;
margin: 10px auto;
background-size: 100% 100% !important;
background-position: center;
background-repeat: no-repeat;
}
标签:圆角,repeat,100%,60px,height,头像,radius,background,div 来源: https://www.cnblogs.com/sunr/p/16672052.html