Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android initial scale - PHP

In iPhone, there are php scripts that control the initial scale and max scale of website viewing that are like these:-

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=3.0;">

Would there be similar functions that work for android? Thanksalot.

like image 573
Ham Avatar asked Apr 06 '26 17:04

Ham


1 Answers

It appears the answer to your question already exists. here

"You're missing the secret new Android-only viewport property 'target-densityDpi' which you can use to configure browser scaling. See the linked question for more details."

like image 132
Yes Barry Avatar answered Apr 08 '26 10:04

Yes Barry



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!