L
L
lexchz2015-12-20 23:51:04
Adaptive design
lexchz, 2015-12-20 23:51:04

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

1 answer(s)
T
timfcsm, 2015-12-21
@timfcsm

as an option, make a media query for the minimum and maximum widths and redefine font sizes in them in other units of measurement

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question