Cara membuat Postingan Google Dokument Responsive di blog

Cara membuat Postingan Google Dokument Responsive di blog
Tambahkan Code CSS berikut :
/* CSS Responsive Embed Google Docs */
.custom1{margin-left:auto!important;margin-right:auto!important;margin:20px;padding:20px}
.custom2 {position:relative;height:0;overflow:hidden;padding-bottom:90%;}
.custom2 iframe{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0}
#tutorial-pdf-responsive{max-width:900px;max-height:700px;overflow:hidden}

Tambahkan kode HTML
<div class="custom1" id="tutorial-pdf-responsive">
<div class="custom2">
<iframe frameborder="0" height="1000" width="900" marginheight="0" marginwidth="0" src="kode_embed_link_yang_akan_dipasang">Loading...</iframe>
</div>
</div>

Tidak ada komentar