【发布时间】:2017-01-26 19:35:21
【问题描述】:
Chrome:图标元不用于 Windows 笔记本电脑上的“添加到桌面”。
<!doctype html>
<html>
<head>
<title>Example Application</title>
<meta name="viewport" content="width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="500x400" href="/icon.png">
</head>
<body>
Hello, Great day!
</body>
</html>
但它用于安卓设备上的“添加到主屏幕”。有什么想法吗?
【问题讨论】:
-
你试过
<link rel="shortcut icon" href="http://sstatic.net/stackoverflow/img/favicon.ico">吗? -
刚刚尝试使用带有 png 文件的“快捷方式图标”,但无法正常工作。但我没有尝试 .ico 文件。
-
你搞定了吗?对我来说,它只是一个深灰色背景,图标框中有一个字母
标签: android google-chrome icons desktop