Skip to content

Instantly share code, notes, and snippets.

@davinkevin
Created February 17, 2016 14:32
Show Gist options
  • Save davinkevin/786d88edbc44acceb8a9 to your computer and use it in GitHub Desktop.
Save davinkevin/786d88edbc44acceb8a9 to your computer and use it in GitHub Desktop.
.rating {
color: #a9a9a9;
margin: 0;
padding: 0;
}
ul.rating {
display: inline-block;
}
.rating li {
list-style-type: none;
display: inline-block;
padding: 1px;
text-align: center;
font-weight: bold;
cursor: pointer;
}
.rating .filled {
color: #337ab7;
}
<ul class="rating">
<li ng-repeat="star in stars" ng-class="star">
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment