How can I fix a div in a specific place on the background in different page sizes?
body { background: url(https://www.ytrecruit.com/images/bg1.jpg); background-size: cover; background-repeat: no-repeat; } div.block { position: fixed; left: 50px; top: 50px; } img.blockimg { width: 50px; } <html> <head> </head> <body> <div class="block"> <img class="blockimg" src="https://upload.wikimedia.org/wikipedia/commons/7/71/MA_Route_1.svg"> </div> </body> </html>