.anchor:before { display: block; content: ' '; background-image: url('../images/anchor.svg'); background-size: 28px 28px; height: 28px; width: 28px; }