.spinner{width:60px;height:60px;border:5px solid #0000;border-top-color:red;border-radius:50%;animation:spin 1s linear infinite,colorChange 3s infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes colorChange{0%{border-top-color:#e74c3c}25%{border-top-color:#f1c40f}50%{border-top-color:#2ecc71}75%{border-top-color:#3498db}to{border-top-color:#e74c3c}}