How do I imbed this iframe in a way it’s going to be sized responsively?
URL Climate Clock Updated (amorhumanity.com)
Here is the original,
Climate Clock | Human Impact Lab
I would be fine if it filled the entire page like the original. Right now, I end up with it small enough a scroll bar appears. Ideally that scroll bar would never be seen, like in the original feed.
<style>.climate-clock{position:relative;padding-bottom:120%;height:0;overflow:hidden;max-width:100%;}.climateclock iframe{position:absolute;top:0;left:0;width:100%;height:100%;}@media(min-width:700px){.climateclock{padding-bottom:56.25%;}}</style><div class='climate-clock'><iframe src='//embed.climateclock.net? buttons=1&audio=0' style='border:0'></iframe></div>