mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
44 lines
915 B
Plaintext
44 lines
915 B
Plaintext
a,
|
||
img {
|
||
-webkit-touch-callout: none;
|
||
}
|
||
|
||
html {
|
||
touch-action: manipulation; // 处理 IOS10+,click点击 300ms 问题
|
||
}
|
||
body {
|
||
background-color: #f7f7f7;
|
||
}
|
||
|
||
input {
|
||
line-height: normal;
|
||
border: none;
|
||
}
|
||
|
||
a {
|
||
color: #0af;
|
||
text-decoration: none;
|
||
}
|
||
|
||
* {
|
||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||
}
|
||
|
||
/* 适配 iPhone X 顶部填充*/
|
||
@supports (top: env(safe-area-inset-top)){
|
||
body {
|
||
padding-top: constant(safe-area-inset-top, 40px);
|
||
padding-top: env(safe-area-inset-top, 40px);
|
||
padding-top: var(safe-area-inset-top, 40px);
|
||
}
|
||
}
|
||
|
||
/* 判断iPhoneX 将 footer 的 padding-bottom 填充到最底部 */
|
||
@supports (bottom: env(safe-area-inset-bottom)){
|
||
body {
|
||
padding-bottom: constant(safe-area-inset-bottom, 20px);
|
||
padding-bottom: env(safe-area-inset-bottom, 20px);
|
||
padding-bottom: var(safe-area-inset-bottom, 20px);
|
||
}
|
||
}
|