【文件属性】:
文件名称:postcss-100vh-fix:PostCSS插件来修复heightmin-height
文件大小:105KB
文件格式:ZIP
更新时间:2021-03-17 17:17:56
JavaScript
PostCSS 100vh修复
[PostCSS]插件来修复[iOS版的bug]与100vh 。
它可以在Chrome(在某些情况下,仅-webkit-fill-available会导致Chrome出现问题),iOS / iPad / MacOS Safari和[所有其他浏览器]中运行。 纯CSS解决方案,无需JS。
body {
/* Footer will be hidden on iOS Safari because of bottom panel */
height : 100 vh ;
}
body {
height : 100 vh ;
}
/* Avoid Chrome to see Safari hack */
@supports ( -webkit-touch-callout : none) {
body {
/* The hack for
【文件预览】:
postcss-100vh-fix-master
----.github()
--------FUNDING.yml(25B)
----yarn.lock(250KB)
----index.test.js(1KB)
----.npmignore(55B)
----.travis.yml(66B)
----LICENSE(1KB)
----README.md(2KB)
----.editorconfig(147B)
----.gitignore(40B)
----index.js(698B)
----CHANGELOG.md(276B)
----package.json(2KB)