codepen / back.html
portal's picture
Update back.html
6f38355
raw
history blame
867 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<style>
.container {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 100%; /* 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 height="300" style="width: 100%;" scrolling="no" title="HTML/CSS Blank" src="https://codepen.io/johnsons531/embed/AYGmLZ?default-tab=html%2Cresult&editable=true" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true">
See the Pen <a href="https://codepen.io/johnsons531/pen/AYGmLZ">
HTML/CSS Blank</a> by Sarah J (<a href="https://codepen.io/johnsons531">@johnsons531</a>)
on <a href="https://codepen.io">CodePen</a>.
</iframe>
</div>
</body>
</html>