Answer the question
In order to leave comments, you need to log in
How to position elements to match the background later in responsive?
Good afternoon, I'm interested in the right solution, how to correctly position the elements that should be combined with the background image?
There is a layout piece
Answer the question
In order to leave comments, you need to log in
Something like this:
https://jsfiddle.net/37f6g2ho/2/
In the example, reduce the width (namely the width) of the result window.
It remains only to play with the percentage values for the indents to get to the top. If you need to proportionally reduce the size of the points, then play around with the percentages of their width and height.
Knowing the width and height of the background image, divide the width by the height - you get the ratio, and then, having set an arbitrary value for the point width, multiply by the ratio and you get the desired height and, accordingly, an even circle :)
A little confusing, but remember the math)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question