Photo test v7

This commit is contained in:
Arthur 2019-08-28 13:10:04 +02:00
parent ecc57289a8
commit 0354d74124
2 changed files with 3 additions and 17 deletions

View file

@ -663,18 +663,4 @@ Small Device Styles
} }
} }
.iframe-container {
overflow: hidden;
// Calculated from the aspect ration of the content (in case of 16:9 it is 9/16= 0.5625)
padding-top: 56.25%;
position: relative;
}
.iframe-container iframe {
border: 0;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}

View file

@ -5,9 +5,9 @@ ob_start(); // Start reading html
-TEXTE- -TEXTE-
<br><br> <br><br>
<div class="iframe-container">
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSeQ6ldsTuBGNN5hnp7KP_tt2rRuvRREJMvohjwsOhXCVCnECw/viewform?embedded=true">Chargement…</iframe> <iframe src="https://docs.google.com/forms/d/e/1FAIpQLSeQ6ldsTuBGNN5hnp7KP_tt2rRuvRREJMvohjwsOhXCVCnECw/viewform?embedded=true" id="ifrm" src="some-iframe-content.html">Chargement…</iframe>
</div>
</body> </body>
<?php <?php