AMP-Accordion Modification Being an AMP HTML Blog Spoiler
Problem: U nfortunately for AMP HTML still has 1 deficiency that is -img not appear in spoiler unless spoilernya open first. This means that amp-img can not be stored in a div that has a display: none; style display: none; Except by using an amp-accordion . For that, this time we will modify the amp-accordion to spoiler for AMP HTML blog so it is safer to use (can display image inside spoiler). Demo spoiler below: (Demo only, no live) Spoiler: Hint <div class="spoiler-amp"> <span class="spoiler_title">Spoiler: </span> <amp-accordion> <section> <h4>Hint</h4> <div><p> Simpan konten atau gambar (amp-img) di sini .... </p></div> </section> </amp-accordion> </div> Spoiler: Hint Equation billions upon billions! Courage of our questions decipherment, take root and flourish, cosmic ocean paroxysm of global death. Light years incon