</clown>
Loyal Member
- Thread starter
- #1
in extra.less
CSS:
.avatar {
border-radius: 4px;
vertical-align: top;
overflow: hidden;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
-webkit-clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
in extra.less:
CSS:
.avatar {
border-radius: 4px;
vertical-align: top;
overflow: hidden;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
-webkit-clip-path: polygon(50% 0, 100% 38%, 80% 100%, 20% 100%, 0 38%);
clip-path: polygon(50% 0, 100% 38%, 80% 100%, 20% 100%, 0 38%);
}
in extra.less:
CSS:
.avatar {
border-radius: 4px;
vertical-align: top;
overflow: hidden;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
-webkit-clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}
in extra.less:
CSS:
.avatar {
border-radius: 4px;
vertical-align: top;
overflow: hidden;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
-webkit-clip-path: polygon(0 50%, 15% 15%, 50% 0, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%);
clip-path: polygon(0 50%, 15% 15%, 50% 0, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%);
}