E
E
EvgMul2016-07-12 00:51:49
css
EvgMul, 2016-07-12 00:51:49

Is there a media property to check the size of the browser window?

Hello.
Is it possible to check the width of the browser window in media queries?
For example, I can check page width max-width, device resolution max-device-width, but is there something similar for the browser window?
The fact is that the page uses a frame and this causes some difficulties in adaptability. Thanks in advance to all who respond.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor Machalsky, 2016-07-12
@mviktorcom

I didn’t fully understand the task, but you can take the browser size data using javascript and you can also set it to the frame in width. Like - xs, look for a front-end developer. I do not rummage in js, but I know that this is possible, they did it. CSS can't do this, but you can take an iframe in a div with a class, give the iframe a class and set both max-width: 100%. iframe to get rubber.
PS And width: 100%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question