.map { width: 734px; height: 530px; background: url('/plan.jpg'); background-size: cover; position: relative; } .mapMarker { position: absolute; left: 25%; top: 33%; } .mapMarker svg { color: red; font-size: 2rem; } .imgPreview img { max-width : 100%; }