Tag

safe area

1 views collected around this technical thread.

Huajiao Technology
Huajiao Technology
Jan 7, 2020 · Mobile Development

Fixing iPhone X Bottom Safe Area Issue in WKWebView and Frontend CSS

This article explains how to resolve the iPhone X bottom safe‑area blank space that appears when using height: 100% in WKWebView, providing both native iOS adjustments and a temporary front‑end CSS workaround with code examples.

CSSWKWebViewiOS
0 likes · 4 min read
Fixing iPhone X Bottom Safe Area Issue in WKWebView and Frontend CSS
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Nov 14, 2018 · Frontend Development

How to Seamlessly Handle iPhone X Notch and Bottom Bar in Web Front‑End Design

This article explains why the traditional method of adding a bottom‑bar class fails on iPhone X‑style devices, and demonstrates a modern solution using viewport‑fit and safe‑area insets to keep content clear of the notch and bottom bar in both portrait and landscape orientations.

CSSFrontendiPhone X
0 likes · 10 min read
How to Seamlessly Handle iPhone X Notch and Bottom Bar in Web Front‑End Design
JD Tech
JD Tech
Sep 17, 2018 · Frontend Development

Adapting Web Pages for iPhone X Safe Area and Bottom Home Indicator

This article explains how to adapt web pages for iPhone X's bottom home indicator by using the viewport‑fit meta tag, the CSS env() and constant() functions, and various padding or margin techniques to ensure fixed elements stay within the safe area, with practical code examples.

CSSWeb FrontendiPhone X
0 likes · 8 min read
Adapting Web Pages for iPhone X Safe Area and Bottom Home Indicator