<!DOCTYPE html>
<style>
body { margin: 0 }
.ref {
width: 80px;
height: 80px;
background-color: green
}
.spacer {
height: 80px
}
svg {
display: block
}
</style>
<svg xmlns="http://www.w3.org/2000/svg" width="160" viewBox="0 0 2 2">
<polygon points="0,1 1,0 2,1 1,2" fill="green"/>
</svg>
<div class="ref"></div>
<div class="spacer"></div>
<div class="ref"></div>