Making responsive iframe
I tried to create a responsive iframe, it renders good on pc but is not responsive if we consider mobile devices. Here is my jsfiddle Here is my HTML <div class="outer"> <div class="noScrolling"> <iframe class="inner" src="https://www.initialstate.com/embed/#/tiles/kkCIxiV4PJmg6y88ldn5HvhNiALMBdHp" frameborder="0" allowfullscreen></iframe> </div> CSS .outer{ position: relative; background: url(background-with-backdrop.jpg) no-repeat center; background-size: 100% 100%; //width:420px; height:800px; } .inner{ position: relative; left: 300px; top: 75px; width:1050px; height:582px; } .noScrolling{