The entire content of the page is reduced, in proportion to the size of the window (wrote a script, which translates the transform: scale the body ) and reduces everything perfectly, but all floating fixed windows are rigidly fixed in a certain position of the document. That is fixed does not behave as it should lead.
Is there any way to fix it with css without using a script?
.child { display: block; position: fixed; top: 15px; left: 15px; padding: 25px; background: #5fba7d; color: #fff; font-size: 24px; } .paren { height: 5000px; } body { transform: scale(0.95); } <div class="paren"> vrtvrtv <br>trvrvr <br>vrvrv <br>vrtvr <br>v <br>rfrv <br>r <br>v <br>r <br>v <br>r <br>v <br>v <br> <br> <div class="child"> Это плавающий блок </div> </div>