From 10018d3af263b13defc98de02c66d38fca07b84b Mon Sep 17 00:00:00 2001 From: thaaoblues Date: Mon, 1 May 2023 23:02:12 +0200 Subject: [PATCH] ios conditionned css --- assets/css/template.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/assets/css/template.css b/assets/css/template.css index 197d86f..b27897f 100644 --- a/assets/css/template.css +++ b/assets/css/template.css @@ -64,11 +64,23 @@ body { background-position: center center, center center; background-size: auto,cover; height: 100vh; - width: 150vw; + width: 100vw; } } +@supports (-webkit-touch-callout: none) and (max-width: 800px){ + /* CSS specific to iOS phones */ + .bg{ + background-position: center center, center center; + background-size: auto,cover; + height: 100vh; + width: 130vw; + } + +} + + main { text-align: center; height: 100%;