Widget:GoogleKalenderSBROnly: 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: 50%; →4:3 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: 30%; /* 3:10 Aspect Ratio */ | ||
} | } | ||
Version vom 9. Dezember 2022, 12:07 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: 30%; /* 3:10 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&showCalendars=0&mode=AGENDA&src=c2Jyd2h2QGdtYWlsLmNvbQ&color=%23039BE5"> </iframe>
</body> </html>