Answer the question
In order to leave comments, you need to log in
What's wrong with this sprite?
Something doesn't work with the sprite
Trying to pick up the background-position - nothing is visible
.icon {
background-repeat: no-repeat;
background-image: url('http://krona.mosco-web.ru/sprite.svg');
background-size: 700px 194px;
display: inline-block;
}
.icon--hamburger {
background-position: 0 0;
width: 21px;
height: 17px;
}
<i class="icon icon--hamburger"></i>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question