Answer the question
In order to leave comments, you need to log in
Is the svg sprite done correctly?
For the rating it was required to create an svg sprite. Googling did this
<svg width="196" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 196 16">
<symbol id="star">
<path d="M8 1L10.0161 5.22507L14.6574 5.83688L11.2621 9.05993L12.1145 13.6631L8 11.43L3.8855 13.6631L4.73788 9.05993L1.3426 5.83688L5.9839 5.22507L8 1Z"/>
</symbol>
<use href="#star" fill="#FF9C28"></use>
<use x="20" href="#star" fill="#FF9C28"></use>
<use x="40" href="#star" fill="#FF9C28"></use>
<use x="60" href="#star" fill="#FF9C28"></use>
<use x="80" href="#star" fill="#FF9C28"></use>
<use x="100" href="#star" fill="#D0D8E2"></use>
<use x="120" href="#star" fill="#D0D8E2"></use>
<use x="140" href="#star" fill="#D0D8E2"></use>
<use x="160" href="#star" fill="#D0D8E2"></use>
<use x="180" href="#star" fill="#D0D8E2"></use>
</svg>
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