Skip to content

Instantly share code, notes, and snippets.

@davinkevin
Created October 2, 2015 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davinkevin/c1ab7d0a2c646d33f8e8 to your computer and use it in GitHub Desktop.
Save davinkevin/c1ab7d0a2c646d33f8e8 to your computer and use it in GitHub Desktop.
<ul class="rating">
<li ng-repeat="star in stars" ng-class="star">
</li>
</ul>
@davinkevin
Copy link
Author

.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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment