Answer the question
In order to leave comments, you need to log in
How to make blocks shrink evenly?
After 980px, when narrowing the browser window, the news blocks fly off and the text fits over them. The width of the container cannot be changed. How to calculate their width? How can I make them shrink evenly to a critical point of 768 px?
https://codepen.io/nvanyukova/pen/YzqOxvq
Answer the question
In order to leave comments, you need to log in
Use the bootstrap grid . Or see how style classes work there and use them
Initially, use alternatives to the px scale unit, such as em, px, pt, experiment so that text and boxes scale down proportionally to the size of the window and are not clearly tied to pixels.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question