span.stars, span.stars span {
    display: block;
    background: url('../media/svg/rating/gray-star.svg') 0 0 repeat-x;
    width: 75px; /* width of a star multiplied by 5 */
    height: 15px; /* the height of the star */
    background-size: 15px 15px;
}
span.stars span {
    background-position: 0 0;
    background-image: url('../media/svg/rating/golden-star.svg');
}