HTML 小知识

iOS「添加到主屏幕」图标

<head>
    <link rel="apple-touch-icon" href="/custom_icon.png" >
    <!-- 不同尺寸 -->
    <link rel="apple-touch-icon" size="76x76" href="/custom_icon.png" >
    <link rel="apple-touch-icon" size="120x120" href="/custom_icon.png" >
    <link rel="apple-touch-icon" size="152x152" href="/custom_icon.png" >
</head>

iOS 官网说明

results matching ""

    No results matching ""