Articles

Affichage des articles associés au libellé Comment rendre balise Iframe html responsive balise iframe

Comment rendre une balise Iframe html responsive

Comment rendre balise Iframe html responsive  Etape 1 :   Coller ce code dans la balise <head>  </head> de votre site web. Voici le code: <style> .wrapper {     position: relative;     padding-bottom: 56.25%; /* 16:9 */     padding-top: 25px;     height: 0; } .wrapper iframe {     position: absolute;     top: 0;     left: 0;     width: 100%;     height: 100%; } </style> le <body> </body> de la page doit avoir l'iframe ainsi que le lien du site web. .WRAPPER est le nom du DIV ou se trouve l' Iframe Voice un code complet : <!DOCTYPE html> <html lang="en">   <head>     <meta charset="utf-8">     <meta name="viewport" content="width=device-width, initial-scale=1">     <title>SbtHaiti</title>     <meta name="description"...