.shuffle-btn:active{ transform: rotate(360deg); transition: all 0.2s ease-out; } .bi-shuffle{ height: 25px; width: 25px; opacity: 0.6; }