thomporter / angular-ratings

Rating Directive, Icons & CSS for AngularJS
MIT License
40 stars 13 forks source link

change angular logo to a star #6

Closed djade007 closed 10 years ago

djade007 commented 10 years ago

Is there a way I can use a star instead of the angular logo?

thomporter commented 10 years ago

You can use CSS to change it pretty easily:

.angular-ratings li { 
  background: #ccc url(angular-star.png) no-repeat;
}

Just change the URL to point to the image you'd want to use. You can set the width & height too, otherwise it should be 20x20.