Spaces:
Runtime error
Runtime error
File size: 479 Bytes
7f8ba04 |
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 31 32 33 |
<!DOCTYPE html>
<html lang="en">
<head>
<style>
.container {
position: relative;
overflow: hidden;
width: 100%;
padding-top: $pad; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
.responsive-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div class="container">
<iframe
class="responsive-iframe"
src="$iframe"
frameborder="0"
></iframe>
</div>
</body>
</html> |