Answer the question
In order to leave comments, you need to log in
Is it possible to implement content scaling on a simple site without media queries?
How it is possible to implement HERE such dynamic content scaling? I want to try to implement something similar without media queries. I found information that there are special plugins, but they only scale the font, but I didn’t find anything about pictures.
Answer the question
In order to leave comments, you need to log in
Specify dimensions in relative units (%, em, rem, vh, vw, vmin, vmax).
You can read about them here .
All sizes are given in em or rem . Using JavaScript, change the font size on the root elements (html or body) depending on the size of the window.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question