Widget:GoogleKalenderKurseOnly: Unterschied zwischen den Versionen
Aus Seniorenbeirat Wilhelmshaven
(Die Seite wurde neu angelegt: „<!-- Quelle: https://www.w3schools.com/howto/howto_css_responsive_iframes.asp --> <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .container { position: relative; width: 100%; overflow: hidden; padding-top: 25%; →1:4 Aspect Ratio: } .responsive-iframe { position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: none; } </style> </head>…“) |
Keine Bearbeitungszusammenfassung |
||
Zeile 9: | Zeile 9: | ||
width: 100%; | width: 100%; | ||
overflow: hidden; | overflow: hidden; | ||
padding-top: | padding-top: 50%; /* 1:2 Aspect Ratio */ | ||
} | } | ||
Version vom 9. Dezember 2022, 13:22 Uhr
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .container {
position: relative; width: 100%; overflow: hidden; padding-top: 50%; /* 1:2 Aspect Ratio */
}
.responsive-iframe {
position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: none;
} </style> </head> <body>
<iframe class="responsive-iframe" src="https://calendar.google.com/calendar/embed?height=600&wkst=2&bgcolor=%23ffffff&ctz=Europe%2FBerlin&showTitle=0&showNav=1&showCalendars=0&src=N2RhNWFhZWQ3NDkwOWI1MWI3NTBiNTFkNGI4NzkxZWEwMDJhNDU3NWY1ZGZjYmQxZDA5MDczYjExM2ZmZjZkOEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t&src=MTJkMjJmY2Y3MWM4OThkN2QwMTA1YzE1NTBhZTJkY2ZkNzM0ZDVmNzc1Yjk1NGY0ZTRhY2NjYjY1ZTM0MjRmM0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t&src=ZGUuZ2VybWFuI2hvbGlkYXlAZ3JvdXAudi5jYWxlbmRhci5nb29nbGUuY29t&color=%23D50000&color=%23616161&color=%230B8043" style="border:solid 1px #777"> </iframe>
</body> </html>