Answer the question
In order to leave comments, you need to log in
Is it possible to position the block so that it is located from the center of the screen (horizontally) a certain number of pixels to the left?
At the same time, the block should not occupy a background (except, of course, the necessary part from the center to the left), because there will be a Google map under them and it should be usable (the map occupies the entire horizontal line). If it is possible, please show how?
Thanks in advance
Answer the question
In order to leave comments, you need to log in
Firefox "honestly" calculates fractional values of margins, paddings, etc. and applies them when rendering SVG.
The "hack" usually works
svg {
transform: translateZ(0);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question