I have a div and I want it to decrease when the user zooms out. I have something similar to the width, which I did like this:% w / o% it takes the full width of the screen and decreases 320px. With the height I do not know how to do it.
Has anyone done this yet?
For example, I have the div ($(window).width() -320)
and when the user decreases the window, by the browser itself, the div decreases too.