CSS-HtmlNo Comments

default thumbnail

Start rating is mostly used in products based websites. Start rating is used to show the ratings given by user for a service or any product.

HTML

<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star"></span>


For stars, you have to include font awesome library in head section of a web page:-

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

CSS

.checked {
  color: orange;
}

Be the first to post a comment.

Add a comment