The problem is the following: there is an adaptive element, placed in a certain div. If you change the width of this diva, the elements do not adapt and everything looks crooked. If after following the instructions to scale the window, everything adjusts fine.
I believe this is due to the fact that @media not looking at the width of the parent, and the width of the screen. Is there any way to bind the media queries directly to the width of a diva?
Preferably without using afremov
Delphia_Bechtelar9 answered on March 25th 20 at 12:42
Media queries in css based on the screen parameters (width, height, orientation, etc.), so using them cannot refer to the width of the div. To monitor the size of the element on the page will have to use js.
Kiera44 answered on March 25th 20 at 12:44
as mentioned above you need js or why that element which depends on the parent not to do in %? to change the size of parent as a percentage change and the indoor unit. Though it is not clear what the task is and what you want to zoom in and zoom out)) It would be good to understand what is in that child who does not adapt to the parent)