Hello! It is necessary when reducing the browser window, to reduce the main div proportionally and at the same time, that all nested divs and pictures also decrease proportionally without shifting. I have the main picture 2.png on which there are certain elements that cannot be shifted.
Code:
<div style="position: relative;"> <div style="position: absolute;"><img src="../images/2.png"/></div> <div style="position: absolute;right: 5px;top: 155px;"><img src="../views/vid/images/f.png"/></div> <ul class="bt-nut" style="position: absolute;right: 5px;top: 155px;"> <li> <a href="" class="link-desc"> <div class="ch-item2" style="background:url(../images/wt.jpg) center center no-repeat;top: 154px;right: 20px;"> <div class="ch-info-wrap2"> <div class="ch-info2"> <div class="ch-info-front2" style="background:url(../images/wt.jpg) center center no-repeat;"></div> <div class="ch-info-back2" style="background:url(../images/wt.jpg) center center no-repeat;"> <div> <div> <span class="sp2"></span> </div> </div> </div> </div> </div> </div> </a> </li> </ul> </div> Help me please.