iPhone X系列底部按钮自适应

2021-06-22  本文已影响0人  曾经也是个少年
 padding-bottom: calc(14px + env(safe-area-inset-bottom));

14px 是底部的边框,不需要可以去掉

上一篇 下一篇

猜你喜欢

热点阅读