+ 8

Is there a way to change the color of the audio player in CSS?

21st Dec 2015, 10:10 AM
GrigT
GrigT - avatar
3 Réponses
+ 6
Grigor, Yes. CSS works on it. Try 'background-color'. It doesn't change the color entirely, but changes the color behind the grey control, so in the end, it looks like a darker version of whatever you choose. Also, try box shadow and border radius. Thanks for raising up the possibility.
1st Apr 2016, 5:29 AM
Daniel Chukwuji
Daniel Chukwuji - avatar
+ 2
audio::-webkit-media-controls-play-button, audio::-webkit-media-controls-panel { background-color: #a0276e; color: #a0276e; }
13th Jul 2020, 11:09 PM
svtvnica x
svtvnica x - avatar
- 1
you could remove the default controls and create your own with html css and js. more on it here: https://webdesign.tutsplus.com/tutorials/create-a-customized-html5-audio-player--webdesign-7081
22nd Feb 2017, 11:08 PM
Melvin2204old
Melvin2204old - avatar