<div class="image"> image </div> .image { text-indent: -9999px; width: 100px; height: 50px; background-image: url("image.svg"); background-size: 100px 50px; }