Answer the question
In order to leave comments, you need to log in
Is it normal practice to use this method in CSS with Background-size?
Good, I would like to know if the practice of using this method is normal.
The structure of such an image:
That is, there is a list of items in two columns, an odd number of them, an empty space is formed on the right, and then the content continues in the block on the left side, and then on the right there is still text, a car was needed in this empty area.
I didn’t become positioning paths, I did it through background, between this I specified background-size through
Now the image, in principle, shrinks up to a certain point, the background is proportional to the width of the screen and at high resolution, even outside the container, the background is set, the background remains in place
And does not fly away to the side:
Reasonable Is this the solution? Just judging by the way everything works, everything is almost perfect.
background-size: calc(100vw / 2);
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