如何在bacground image (in :after)中从角度材质添加一个arrow_forward图标?此图标不需要下载。我不知道如何在css中获取它。
.item {
position: relative;
min-height: 100px;
border: 1px solid #adb8c1;
&:after {
content: '';
position: absolute;
top: 50%;
right: -25px;
display: block;
width: 10px;
height: 10px;
background: blue;
}
}
<md-list class="list">
<div class="item"></div>
</md-list>
发布于 2019-03-05 10:07:28
我想这会有帮助的
&:after {
font-family: "Material Icons";
content: "\E876";
position: absolute;
top: 50%;
right: -25px;
display: block;
width: 10px;
height: 10px;
background: blue;
}
https://stackoverflow.com/questions/54998821
复制