Tagged articles

safe area

6 articles · Page 1 of 1
liandk
liandk
May 8, 2026 · Mobile Development

Avoid Common iOS vs Android Styling Pitfalls in UniApp

When developing UniApp apps, iOS and Android often render styles differently; this article outlines three typical visual mismatches—padding, font size, and notch handling—and provides concrete platform‑specific code fixes and best‑practice recommendations.

AndroidUniAppcross-platform styling
0 likes · 3 min read
Avoid Common iOS vs Android Styling Pitfalls in UniApp
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
Aotu Lab
Aotu Lab
Dec 5, 2017 · Frontend Development

How to Adapt Fixed Elements for iPhone X’s Home Indicator Using CSS

This guide explains the iPhone X bottom‑area adaptation problem and shows step‑by‑step CSS solutions—including viewport‑fit, safe‑area insets, and @supports rules—to ensure fixed navigation, back‑to‑top buttons, and other bottom‑anchored elements display correctly without being obscured by the Home Indicator.

iPhone Xsafe areaviewport-fit
0 likes · 7 min read
How to Adapt Fixed Elements for iPhone X’s Home Indicator Using CSS