Home > Back-end >  How can I make the default audioplayer background be transparent
How can I make the default audioplayer background be transparent

Time:06-29

I want to make the background for the audio player be transparent. With the thing I tried I can change the color to any color but it wasn't working when I put transparent.

audio::-webkit-media-controls-play-button,
     audio::-webkit-media-controls-panel {
     background-color: transparent;
     }

CodePudding user response:

Like @snow said, you can't make the background transparent but you could make its opacity 0
something like this:

audio{
  opacity: 0%;
}

CodePudding user response:

enter image description here

  • Related