AMP

Custom element dependency

Start

Section 1

Content 1.

Section 2

Content 2.
<amp-accordion class="sample">
  <section expanded>
    <h4>Section 1</h4>
    <p>Content 1.</p>
  </section>
  <section>
    <h4>Section 2</h4>
    <div>Content 2.</div>
  </section>
</amp-accordion>
Open this snippet in playground

End