The Unnamed Engineer The Unnamed Engineer - 5 months ago 7
CSS Question

How do I make a simple <audio> element stay at the bottom of the browser window while scrolling?

I am using github to host html code for a website I am working on building and I would like to add an audio player to the bottom of the window wen scrolling. I did it at one point but the USB flash drive it was on corrupted and I lost the file forever. Anyone know an easy way to do this?
I did it without using a div and I would like to keep it that way.

Answer

What about a little css tweak on the audio style attribute

bottom: 0; position: fixed; right: 0;
Comments