pure css accordion
HTML<div id="container">
<!-- Item 1 -->
<div class="accordion">
<label for="tm" class="accordionitem">
<h2>Item 1 <span class="arrow">»</span></h2></label>
<input type="checkbox" id="tm"/>
<p class="hiddentext">One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.</p>
</div>
<!-- Item 2 -->
<div class="accordion">
<label for="tn" class="accordionitem">
<h2>Item 2 <span class="arrow">»</span></h2></label>
<input type="checkbox" id="tn"/>
<p class="hiddentext">One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.</p>
</div>
<!-- Item 3 -->
<div class="accordion">
<label for="to" class="accordionitem">
<h2>Item 3 <span class="arrow">»</span></h2></label>
<input type="checkbox" id="to"/>
<p class="hiddentext">One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.</p>
</div>
</div>