<style> body { display: flex; flex-direction: column; } body iframe { flex-grow: 1; flex-shrink: 1; } </style> <iframe src='./frame.html' name='uno'></iframe> <iframe src='./frame.html' name='dos'></iframe>