<script src="https://kit.fontawesome.com/75227c97a9.js" crossorigin="anonymous"></script>

<div>
<i class="fas fa-star fa-7x"></i>
</div>
div{
   text-align: center;
}

.fa-star{
   color: #ffdc96;
   animation: spin 5s linear infinite;
}

@keyframes spin{
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.