amis2/packages/amis-ui/scss/helper/layout/_position_dd5fd05.js

36 lines
3.8 KiB
JavaScript
Raw Permalink Normal View History

amis.define('packages/amis-ui/scss/helper/layout/_position.md', function(require, exports, module, define) {
module.exports = {
"title": "Position",
"html": "<div class=\"markdown-body\"><p>定位相关样式。</p>\n<table>\n<thead>\n<tr>\n<th>Class</th>\n<th>Properties</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>static</td>\n<td>position: static;</td>\n</tr>\n<tr>\n<td>fixed</td>\n<td>position: fixed;</td>\n</tr>\n<tr>\n<td>absolute</td>\n<td>position: absolute;</td>\n</tr>\n<tr>\n<td>relative</td>\n<td>position: relative;</td>\n</tr>\n<tr>\n<td>sticky</td>\n<td>position: sticky;</td>\n</tr>\n</tbody></table>\n<h2><a class=\"anchor\" name=\"%E7%94%A8%E6%B3%95\" href=\"#%E7%94%A8%E6%B3%95\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>用法</h2><p>请前往一下文档查看属性含义。</p>\n<p><a href=\"https://www.w3school.com.cn/cssref/pr_class_position.asp\">https://www.w3school.com.cn/cssref/pr_class_position.asp</a></p>\n<h1><a class=\"anchor\" name=\"%E5%93%8D%E5%BA%94%E5%BC%8F%E8%AE%BE%E8%AE%A1\" href=\"#%E5%93%8D%E5%BA%94%E5%BC%8F%E8%AE%BE%E8%AE%A1\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>响应式设计</h1><p>支持通过添加设备前缀 <code>m:</code> 或者 <code>pc:</code> 来分别针对「手机端」或者「pc端」设置样式更多说明请前往<a href=\"/amis../../../docs/style/responsive-design\">「响应式设计」</a>。</p>\n<h2><a class=\"anchor\" name=\"%E7%8A%B6%E6%80%81%E5%89%8D%E7%BC%80\" href=\"#%E7%8A%B6%E6%80%81%E5%89%8D%E7%BC%80\" aria-hidden=\"true\"><svg aria-hidden=\"true\" class=\"octicon octicon-link\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>状态前缀</h2><p>不支持<a href=\"/amis../../../docs/style/state\">「状态前缀」</a>,有需求请提 <a href=\"https://github.com/baidu/amis/issues\">issue</a>。</p>\n</div>",
"toc": {
"label": "目录",
"type": "toc",
"children": [
{
"label": "用法",
"fragment": "%E7%94%A8%E6%B3%95",
"fullPath": "#%E7%94%A8%E6%B3%95",
"level": 2
},
{
"label": "响应式设计",
"fragment": "%E5%93%8D%E5%BA%94%E5%BC%8F%E8%AE%BE%E8%AE%A1",
"fullPath": "#%E5%93%8D%E5%BA%94%E5%BC%8F%E8%AE%BE%E8%AE%A1",
"level": 1,
"children": [
{
"label": "状态前缀",
"fragment": "%E7%8A%B6%E6%80%81%E5%89%8D%E7%BC%80",
"fullPath": "#%E7%8A%B6%E6%80%81%E5%89%8D%E7%BC%80",
"level": 2
}
]
}
],
"level": 0
}
};
});