I am looking to create a unique effect where a div rotates onclick to reveal a grid gallery on the rear face.
Starting this project feels overwhelming and I'm not sure where to begin.
<ul class="container-fluid text-center row" id="gallery2">
<li class="col-12 col-sm-4 col-md-12 text-center" ><img src="/vw-front-painted.jpg" class="img-fluid rounded" width="200" height="200" id="vw"><img src="/bmw-side-paint-out.jpg" class="img-fluid rounded"width="200" height="200"><img src="/scort-front-paint-out.jpg" class="img-fluid rounded" width="200" height="200"></li>
<li class="col-12 col-sm-4 col-md-12 text-center"><img src="/jag-paint-out.jpg" class="img-fluid rounded" width="200" height="200"><img src="/scoob-finish-front-out.jpg" class="img-fluid rounded" width="200" height="200"><img src="/vw-t4-rear-painted.jpg" class="img-fluid rounded" width="200" height="200"></li>
</ul>
This is the current HTML code that I have. My goal is to have each image expand and rotate onclick, revealing a grid gallery behind the original image. I haven't started working on any JavaScript yet, but I am using Bootstrap. The CSS has been applied elsewhere, just not in this particular section.