我正在尝试在我的React页面上显示一个svg图标,但它没有显示。
我的svg如下:
<svg width="48" height="48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><title>8B0FDD24-F4B1-4079-852B-2A7A09470E5C</title><path d="M24 28l6-8H18z" fill="#FFFFFF" fill-rule="evenodd"/></svg>
&#13;
请帮忙
父母的CSS:
.MyOrders-divTableCell {
background-color: #53606b;
font-family: Open Sans,arial,sans-serif;
font-size: 14px;
font-weight: 600;
font-style: normal;
font-stretch: normal;
line-height: 1.5;
letter-spacing: normal;
color: #fff;
padding: 5px 10px;
vertical-align: middle;
}
.MyOrders-sortIconLight {
display: inline-block;
background: url(/static-account/images/triangle-date-down-light.svg);
height: 48px;
width: 48px;
float: right;
margin-top: -14px;
position: absolute;
cursor: pointer;
}