网页中的苹果触摸图标
对于iPhone或iPad上的网页图标,请使用Apple Touch Icon或apple-touch-icon.png文件。当有人将您的网页添加为书签时,将使用此图标。
对于具有不同设备分辨率的多个图标,如iPhone或iPad,请按照以下方式为每个链接元素添加sizes属性 −
<link rel = apple-touch-icon href = touch-icon-iphone.png>
Set size
<link rel = apple-touch-icon sizes = 160x160 href = touch-icon-ipad.png> <link rel = apple-touch-icon sizes = 170x170 href = touch-icon-iphone-retina.png> <link rel = apple-touch-icon sizes = 180x180 href = touch-icon-ipad-retina.png>
使用适合设备的尺寸的图标。
以上就是网页中的苹果触摸图标的详细内容,更多请关注双恒网络其它相关文章!
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。



