Answer the question
In order to leave comments, you need to log in
How to limit site width if vw is used?
Made up from a layout made for a screen width of 1920 px. Since the design contained elements of a non-standard shape (rhombuses, parallelograms), the size of which had to be kept relative to the screen, vw were used to set the font sizes. But now you need to limit the min. and max. site width, because some of the elements are made in absolute units, and at a very low resolution the site simply looks indecent. If you set a minimum width for the container, then with a further decrease in resolution, the fonts are still reduced. How to solve this problem without many media queries?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question