Animation is not applied to ::-webkit-slider-thumb
问题 I have created some custom styles for input[type="range"] elements. I have created the following animation @-webkit-keyframes balla { from {transform:rotate(0);} to {transform: rotate(360deg);} } which I apply to: input[type="range"].twirl::-webkit-slider-thumb{ -webkit-animation:balla 5s infinite; background: url(sliders/1.png)no-repeat center; height: 50px; width: 50px; } My problem is that if I apply the same animation to any other element in the page it will work but not for my slider.