【发布时间】:2024-01-02 01:16:01
【问题描述】:
目前我正在使用图像作为项目列表的背景:
.price_item ul li {
background: url('/images/left_arrow.png') no-repeat right;
background-size: 12px;
list-style: none;
}
图像是 725B。但是,我正在考虑用 Font Awesome 图标(字体)替换它。我的问题是,就性能和与不同浏览器的兼容性而言,哪一个更好?我个人认为 Awesome 图标加载速度更快,因为它只是一种字体。相比之下,由于使用它们不像普通背景图像那样简单,我担心兼容性。那么,在这种情况下是否值得使用 Font Awesome 图标?
【问题讨论】:
标签: css image list icons background-image