Spaces:
Sleeping
Sleeping
File size: 710 Bytes
db8a475 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Iframe Height 100%</title>
<style>
/* HTML, body, and parent container must all have 100% height */
html, body {
height: 100%;
margin: 0;
}
.iframe-container {
height: 100%;
width: 100%;
}
iframe {
height: 100%;
width: 100%;
border: none; /* optional, removes the iframe border */
}
</style>
</head>
<body>
<div class="iframe-container">
<iframe src="/gradio"></iframe>
</div>
</body>
</html>
|