
div {
  box-sizing: border-box;
  width: 100%;
  height: calc(100% - 20px);
  padding: 10px;
}

iframe {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid gray;
}