Tagged articles
5 articles
Page 1 of 1
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.

CSSResponsive DesignWeb Frontend
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