问题描述
我正在尝试从此url下载声音图标作为png。
我检查了CSS并显示了
.lienson:after {
font-family: "fontello";
font-size: 20px;
font-weight: normal;
font-style: normal;
display: inline;
content: '\e82c';
color: #ff4b54;
text-decoration:none;
cursor:pointer; /*gestion v.audio*/
}
@font-face {
font-family: 'fontello';
src: url('./../fonts/fontello.eot?58255341');
src: url('./../fonts/fontello.eot?58255341#iefix') format('embedded-opentype'),url('./../fonts/fontello.woff?58255341') format('woff'),url('./../fonts/fontello.ttf?58255341') format('truetype'),url('./../fonts/fontello.svg?58255341#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
.fontello {
font-family: "fontello";
}
我猜要下载的链接是./../fonts/fontello.svg?58255341#fontello
,但找不到完整的链接是什么?
请详细说明如何获取此图标?
解决方法
它不是png,而是网络字体。
因此,您可以直接从URL odwn加载它,我不建议这样做,因为它可能会引起版权问题。仅供参考,在这种情况下,字体网址是相对于CSS文件网址而言的。
或者您制作该元素的屏幕截图,如果使用该元素也会出现类似的问题。
或者您在线搜索该字体,这可能会失败,因为fontello是一种字体构建工具,而您要搜索的字体可能根本不在公共领域中。