Studying webpages to learn html/css/javascript獲取<a ref> image icon
Got confused when I thought that most images were linked to or loaded locally... It seems like on spotify their search button is using something I don't understand to load the magnifying glass.
.spoticon-search-32:before {
content: "\f141";
font-size: 32px;
}
If I edit content the picture of the search button goes away so I know its the content that is responsible for the picture. But where the hell is it loading it from? it's not a .png or .jpg extension either...
看看圖標字體,這裏有點深入的解釋:https://www.elegantthemes.com/blog/resources/how-to-use-and-embed-an-icon-font-on-your -網站。您的問題在以下地方得到解答:3.使用圖標作爲超鏈接 –