Scale and reposition iframe like background-size: cover
Similar to Alvaro Menendez’s answer, credit needs to go to this answer stackoverflow.com/a/29997746/3400962 by Qwertman. I got as far as using the “padding percentage” trick, but this answer’s clever use of viewport units is crucial to this working. The key to implementing this behaviour is to ensure two things: That the iframe always maintains the … Read more