最高效简介的手段是利用CSS的内置calc函数:
iframe{
height:calc(100vh - 50px) auto;//假令:html顶部有高度为50px的导航条 //min-height:calc(100vh - 50px) auto;
}