How can I add a background picture that does not change if the page is zoomed? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I add a background picture that does not change if the page is zoomed?

30th Jan 2017, 7:25 AM
Remco
Remco - avatar
2 Answers
+ 1
You can't :( But you can avoid zoom ( in mobile devices at least ) by placing this line in your <head> section: <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"> In theory, you need only some of these options, but with the complete set, you might be preserved for all mobile device users zoom :P
31st Jan 2017, 10:27 AM
visph
visph - avatar
0
Tnx
31st Jan 2017, 3:14 PM
Remco
Remco - avatar