Questions tagged [Viewport] (57)

2
answers

Automatically resize background images to the size of the screens?

Welcome! Guys, tell me the solution via css. A landing page with multiple background images The purpose of the background images are automatically adjusted according to the width and height of the screens of different devices. Thank you. Maybe vh and vw? Is there with them some tricky nuances?) PS Wrong answer:. { width: ...
krystel_Wuckert4 asked March 31st 20 at 19:45
1
answer

So how do you use the viewport ohms?

Hi all, I suffer the whole day: When asking all the usual meta content="width=device-width, initial-scale=1" name="viewport" there is a situation in the first picture: all sections in addition to the header are cut off and look terrible. Googled the solution, where instead of "device-width" prescribed 762px, but in this cas...
Sebastian.Hami asked March 29th 20 at 21:22
1
answer

Why viewport leaves the place?

when he wrote <meta name="viewport" content="width=device-width, initial-scale=0.6"> it leaves space on your iPhone . what's the matter?
jaylon.Carroll asked March 21st 20 at 13:38
1
answer

Stopped working the ban on meta viewport scaling on mobile. Has something changed?

On the page is set to tag<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> For some time I noticed that the page scales to mobile pinch. Before such was not. Can't find the answer to that search. Maybe something has changed in html5? Mobile - Samsung Galaxy, Ch...
Augustine.Corke asked March 20th 20 at 12:39
1
answer

Why is the layout on the phone is displayed correctly only after a reboot?

Here's the layout: Abe.github.io/demo Watch phone (Honor 7C, suddenly important) and see this: Refresh the page - everything is OK: And so every time you open the layout in a new tab Why is this happening and how to fix it?
Abe asked March 17th 20 at 11:58
0
answer

Why doesn't oncklik fixed on the block because of the viewport on mobile. firefox?

there is a site on the domain proverka.top if you use a viewport that does not always work oncklik for fixed blocks only on the mobile version of firefox. mostly does not work after scrolling up or on blocks of text. need help
alisha.Russel asked March 16th 20 at 21:11
1
answer

On a mobile device the viewport is aligned at the right border of the site and it is necessary for the left?

Good evening! Faced with such a disaster. If the size of the screen of the mobile device is less than my website, the website opens and the alignment on the right side of the site boundary. The site opens with the placement videogo window with reference to the right border of the site. And I have the menu located on the lef...
uriah.T asked March 12th 20 at 11:32
1
answer

How to stretch the unit for the entire viewport?

how to make so that the parent unit had a width of no less than a child to him, in the case where the viewport width and less than the width of this sub-unit? Example here o_o Open it in the window width is less than 1000px and you get this:
Annabel_Strei asked October 7th 19 at 15:07
3
answers

How to create a connection with viewport?

How to create a condition of connection of the viewport, namely to <meta content="width=device-width, user-scalable=no, initial-scale=1" name="viewport"> only worked for landscape orientation and in portrait this tag was not? Preferably without using JS, is there something similar to <!--[if IE]><![endif]--&...
Vicenta66 asked September 28th 19 at 02:07
1
answer

Whether it is possible to automatically scale the width fixby under different permissions mobile phone?

First time poking around with the gamers. The goal is to have a simple page , the designer made it with a width of 640px for iPhone 4 and 5 at the time. Have done so:<meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="640"> <meta name="viewport" content="width=device-width, in...
Jake.Olson11 asked September 25th 19 at 22:32