modified test.html
This commit is contained in:
parent
8167026d56
commit
f0cd4faa12
33
test.html
33
test.html
@ -3,25 +3,26 @@
|
|||||||
<head>
|
<head>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="gameWrapper">
|
<div class="container">
|
||||||
<iframe src="tools/sm64/index.html" allowfullscreen></iframe>
|
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/tgbNymZ7vqY"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<p>test</p>
|
|
||||||
</body>
|
</body>
|
||||||
<style>
|
<style>
|
||||||
.gameWrapper {
|
.container {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 56.25%;
|
overflow: hidden;
|
||||||
padding-top: 25px;
|
width: 100%;
|
||||||
height: 0;
|
padding-top: 56.25%;
|
||||||
max-width: 60%;
|
|
||||||
}
|
}
|
||||||
.gameWrapper iframe {
|
|
||||||
position: absolute;
|
.responsive-iframe {
|
||||||
top: 0;
|
position: absolute;
|
||||||
left: 0;
|
top: 0;
|
||||||
width: 100%;
|
left: 0;
|
||||||
height: 100%;
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user