For a rating system I'm building. Would there be any way to add a css class to this svg example such that it would show only half the star filled in?
See jsbin: http://jsbin.com/cifip/2/
In this example the current fill is a yellow color. If i add the class is-half I'd like it to show half grey and have yellow.
Is this possible in SVG?
See Question&Answers more detail:os