There's definitely a way to make this happen.
- Start by showing the star image on the screen.
Next, overlay a radial progress bar on top of the star with reverse progress. One side will be white while the other side is transparent.
For detailed instructions on creating a radial progress bar, you can check out this link.
CSS Styles
@import url(https://fonts.googleapis.com/css?family=Lato:700);
.size(@width, @height) {
height: @height;
width: @width;
}
// Styling for different elements
*,
*:before,
*:after {
box-sizing: border-box;
}
html,
body {
background: #ecf0f1;
color: #444;
font-family: 'Lato', Tahoma, Geneva, sans-serif;
font-size: 16px;
padding: 10px;
}
.set-size {
font-size: 10em;
}
.charts-container:after {
clear: both;
content: "";
display: table;
}
// More CSS styling...
HTML Markup
<div class="set-size charts-container">
<div class="pie-wrapper progress-30">
<span class="label">30<span class="smaller">%</span></span>
<div class="pie">
<div class="left-side half-circle"></div>
<div class="right-side half-circle"></div>
</div>
</div>
<!-- Add more pie-wrapper divs with different progress percentages here -->
</div>