Page 1 of 1

viewport-fit=cover

Posted: Wed May 22, 2019 5:19 am
by Frontier
Hi there :)


When wanting to address the notches on phones, one has to include the viewport-fit=cover in the META tag "viewport", like shown here:

Code: Select all

<META NAME="viewport" CONTENT="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=3, viewport-fit=cover">
More info here: https://webkit.org/blog/7929/designing- ... -iphone-x/

But...it makes HTML validator throw an error. Should it be added to HTML validator?

Re: viewport-fit=cover

Posted: Wed May 22, 2019 10:21 am
by Albert Wiersch
Hello,

Yes, thank you. viewport-fit will be added in the next update.