-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzi-gua-ying.html
More file actions
51 lines (47 loc) · 10.9 KB
/
zi-gua-ying.html
File metadata and controls
51 lines (47 loc) · 10.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html><html lang="zh-cn"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>自适应 - 黑猫的博客</title><meta name="description" content="方式 说明 优点 缺点 定宽 基于屏幕主流尺寸,确定一个安全宽度,并进行整体居中 屏幕尺寸大于安全宽度时,会产生留白;屏幕尺寸小于安全宽度时,将局部显示,并产生横向滚动条。这意味着只有在特定尺寸下,才能有最佳效果 流动 独立站点 可拥有最佳显示效果 需要维护多个单独的代码库和设计 自适应 媒体查询+定宽 响应式 媒体查询+流动 媒体查询 宏布局 微布局 主题 媒体功能 屏幕配置 文本在较大尺寸时,可变为多列,防止文本行过长 无障碍 交互 界面模式"><meta name="generator" content="Publii Open-Source CMS for Static Site"><link rel="stylesheet" href="https://yoru-hiru.github.io/media/plugins/mermaidSupport/mermaid-invert-filter.css"><meta name="theme-color" content="#17181E" media="(prefers-color-scheme: dark)"><meta name="theme-color" content="#D73A42" media="(prefers-color-scheme: light)"><meta name="msapplication-navbutton-color" content="#D73A42"><meta name="apple-mobile-web-app-status-bar-style" content="#D73A42"><link rel="canonical" href="https://yoru-hiru.github.io/zi-gua-ying.html"><link rel="alternate" type="application/atom+xml" href="https://yoru-hiru.github.io/feed.xml" title="黑猫的博客 - RSS"><link rel="alternate" type="application/json" href="https://yoru-hiru.github.io/feed.json" title="黑猫的博客 - JSON"><meta property="og:title" content="自适应"><meta property="og:image" content="https://yoru-hiru.github.io/media/website/Sheng-Cheng-Hei-Mao-1.png"><meta property="og:image:width" content="2048"><meta property="og:image:height" content="2048"><meta property="og:site_name" content="黑猫的博客"><meta property="og:description" content="方式 说明 优点 缺点 定宽 基于屏幕主流尺寸,确定一个安全宽度,并进行整体居中 屏幕尺寸大于安全宽度时,会产生留白;屏幕尺寸小于安全宽度时,将局部显示,并产生横向滚动条。这意味着只有在特定尺寸下,才能有最佳效果 流动 独立站点 可拥有最佳显示效果 需要维护多个单独的代码库和设计 自适应 媒体查询+定宽 响应式 媒体查询+流动 媒体查询 宏布局 微布局 主题 媒体功能 屏幕配置 文本在较大尺寸时,可变为多列,防止文本行过长 无障碍 交互 界面模式"><meta property="og:url" content="https://yoru-hiru.github.io/zi-gua-ying.html"><meta property="og:type" content="article"><link rel="stylesheet" href="https://yoru-hiru.github.io/assets/css/beer.min.css?v=97db26e7a78b1c9d5963eb444324035e"><script type="module" src="https://cdn.jsdelivr.net/npm/beercss@3.13.0/dist/cdn/beer.min.js"></script><link rel="stylesheet" href="https://yoru-hiru.github.io/assets/css/simpleMindMap.esm.css?v=e83c53a7321f68ca325b311007790260"><script src="https://yoru-hiru.github.io/assets/js/simpleMindMap.umd.min.js?v=353ab3936b0fb51ccc5bcd71fa090bad"></script><link rel="stylesheet" href="https://yoru-hiru.github.io/assets/css/style.css?v=a0a2fad1453b9945567bc3907ed7148b"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Article","mainEntityOfPage":{"@type":"WebPage","@id":"https://yoru-hiru.github.io/zi-gua-ying.html"},"headline":"自适应","datePublished":"2024-09-04T16:47+08:00","dateModified":"2024-09-07T19:11+08:00","image":{"@type":"ImageObject","url":"https://yoru-hiru.github.io/media/website/Sheng-Cheng-Hei-Mao-1.png","height":2048,"width":2048},"description":"方式 说明 优点 缺点 定宽 基于屏幕主流尺寸,确定一个安全宽度,并进行整体居中 屏幕尺寸大于安全宽度时,会产生留白;屏幕尺寸小于安全宽度时,将局部显示,并产生横向滚动条。这意味着只有在特定尺寸下,才能有最佳效果 流动 独立站点 可拥有最佳显示效果 需要维护多个单独的代码库和设计 自适应 媒体查询+定宽 响应式 媒体查询+流动 媒体查询 宏布局 微布局 主题 媒体功能 屏幕配置 文本在较大尺寸时,可变为多列,防止文本行过长 无障碍 交互 界面模式","author":{"@type":"Person","name":"黑猫","url":"https://yoru-hiru.github.io/authors/hei-mao-xian-sheng/"},"publisher":{"@type":"Organization","name":"黑猫","logo":{"@type":"ImageObject","url":"https://yoru-hiru.github.io/media/website/Sheng-Cheng-Hei-Mao-1.png","height":2048,"width":2048}}}</script></head><body class="dark finisher-header"><header><a id="logo" href="https://yoru-hiru.github.io/"><img src="https://yoru-hiru.github.io/media/website/Sheng-Cheng-Hei-Mao-1.png" alt="黑猫的博客"></a><li><a href="">档案</a></li><li><a href="https://yoru-hiru.github.io/bi-ji.html">笔记</a></li><li><a href="">作品</a></li></header><main><article><header><h1>自适应</h1><time datetime="2024-09-04T16:47">9月 4日 2024 </time>By <a href="https://yoru-hiru.github.io/authors/hei-mao-xian-sheng/" rel="author" title="黑猫">黑猫</a> Updated on: <time datetime="2024-09-07T19:11">9月 7日 2024</time></header><div id="post-entry"><div class="post__toc"><h3>目录</h3><ul><li><a href="#mcetoc_1i70r7rqbhp">元素自适应</a><ul><li><a href="#mcetoc_1i70r7rqbhq">排版</a><ul><li><a href="#mcetoc_1i70r99o1hu">国际化</a></li></ul></li><li><a href="#mcetoc_1i70r7rqbhr">图像</a></li><li><a href="#mcetoc_1i70r7rqbhs">图标</a></li></ul></li></ul></div><table style="border-collapse: collapse; width: 100%;" border="1"><tbody><tr><td style="width: 50.0475%;">方式</td><td style="width: 12.5475%;">说明</td><td style="width: 12.5475%;">优点</td><td style="width: 24.9525%;">缺点</td></tr><tr><td style="width: 50.0475%;">定宽</td><td style="width: 12.5475%;">基于屏幕主流尺寸,确定一个安全宽度,并进行整体居中</td><td style="width: 12.5475%;"> </td><td style="width: 24.9525%;">屏幕尺寸大于安全宽度时,会产生留白;屏幕尺寸小于安全宽度时,将局部显示,并产生横向滚动条。这意味着只有在特定尺寸下,才能有最佳效果</td></tr><tr><td style="width: 50.0475%;">流动</td><td style="width: 12.5475%;"> </td><td style="width: 12.5475%;"> </td><td style="width: 24.9525%;"> </td></tr><tr><td style="width: 50.0475%;">独立站点</td><td style="width: 12.5475%;"> </td><td style="width: 12.5475%;">可拥有最佳显示效果</td><td style="width: 24.9525%;">需要维护多个单独的代码库和设计</td></tr><tr><td style="width: 50.0475%;">自适应</td><td style="width: 12.5475%;">媒体查询+定宽</td><td style="width: 12.5475%;"> </td><td style="width: 24.9525%;"> </td></tr><tr><td style="width: 50.0475%;">响应式</td><td style="width: 12.5475%;">媒体查询+流动</td><td style="width: 12.5475%;"> </td><td style="width: 24.9525%;"> </td></tr></tbody></table><p>媒体查询</p><p>宏布局</p><p>微布局</p><p>主题</p><p>媒体功能</p><p>屏幕配置</p><h2 id="mcetoc_1i70r7rqbhp">元素自适应</h2><h3 id="mcetoc_1i70r7rqbhq">排版</h3><p>文本在较大尺寸时,可变为多列,防止文本行过长</p><h4 id="mcetoc_1i70r99o1hu">国际化</h4><h3 id="mcetoc_1i70r7rqbhr">图像</h3><h3 id="mcetoc_1i70r7rqbhs">图标</h3><p>无障碍</p><p>交互</p><p>界面模式</p></div><div id="author-bio"><img src="https://yoru-hiru.github.io/media/website/Sheng-Cheng-Hei-Mao-2.png" loading="lazy" alt="黑猫" height="2048" width="2048"><h3><a href="https://yoru-hiru.github.io/authors/hei-mao-xian-sheng/" title="黑猫">黑猫</a></h3></div><nav id="post-navigation"><a href="https://yoru-hiru.github.io/cordova.html" rel="prev">← Previous (Cordova) </a><a href="https://yoru-hiru.github.io/jing-pin-fen-xihua-wei-ying-yong-shi-chang.html" rel="next">Next (竞品分析:华为应用市场) →</a></nav><div id="related-posts"><h3>Author:</h3><div><section><h4><a href="https://yoru-hiru.github.io/she-ji-token.html">设计 Token</a></h4><p>基础 布局 颜色 版式 图标 模式 组件 组件 头像 横幅 徽章 按钮 卡片 轮播 下拉菜单 图标 输入复选 输入文本 输入开关 选择 文本域 输入单选 列表 加载指示器 模态框…</p></section><section><h4><a href="https://yoru-hiru.github.io/jie-mian.html">设计语言</a></h4><p>指南 无障碍 用户引导 缩微指南 品牌 原则 写作指南 语气 术语 Logo 单色版 小型使用指南 放置与清理指导 使用指导 多种文件格式 工具 设计 开发 项目管理 任务管理 路线图 里程碑 工单 沟通 分析…</p></section><section><h4><a href="https://yoru-hiru.github.io/yong-hu-ti-yan.html">用户体验</a></h4><p>决策 因素 认知偏差 情绪 信息过载 模型 补偿模型 非补偿模型 满意模型 原则 渐进式披露 认知辅助 反馈 默认值 行为改变策略 理解产品 概念设计 原型 最佳实践 衡量 指标 用户满意度 通过以下方式收集反馈 调查 评级…</p></section></div></div></article></main><aside><section><h3>Selected posts</h3><ul><li><a href="https://yoru-hiru.github.io/yong-hu-ti-yan.html">用户体验</a></li><li><a href="https://yoru-hiru.github.io/jie-mian.html">设计语言</a></li><li><a href="https://yoru-hiru.github.io/she-ji-token.html">设计 Token</a></li></ul></section><section><h3>Authors</h3><ul><li><a href="https://yoru-hiru.github.io/authors/hei-mao-xian-sheng/"><img src="https://yoru-hiru.github.io/media/website/Sheng-Cheng-Hei-Mao-2.png" loading="lazy" alt="黑猫" height="2048" width="2048"> </a><a href="https://yoru-hiru.github.io/authors/hei-mao-xian-sheng/">黑猫 <sup>26</sup></a></li></ul></section></aside><script>const mindMapLife = new window.simpleMindMap.default({
el: document.getElementById('mindMapContainerLife'),
data: {
"data": {
"text": "生活",
},
"children": [{
data: {
"text": "健康",
},
}
]
},
readonly: true,
});
const mindMapCareer = new window.simpleMindMap.default({
el: document.getElementById('mindMapContainerCareer'),
data: {
"data": {
"text": "事业",
},
"children": [{
data: {
"text": "健康",
},
data: {
"text": "情感",
},
}
]
},
readonly: true,
});
const mindMapContainerExplore = new window.simpleMindMap.default({
el: document.getElementById('mindMapContainerKnowledge'),
data: {
"data": {
"text": "学问",
},
"children": [{
data: {
"text": "健康",
},
}]
},
readonly: true,
});</script><script async src="https://yoru-hiru.github.io/assets/js/scripts.js?v=3733efd39cd6c799b95c8fcb96993840"></script><script src="https://yoru-hiru.github.io/media/plugins/mermaidSupport/mermaid.min.js"></script><script>mermaid.initialize({ startOnLoad: true, theme: "default" });</script></body></html>