Is there a way to ensure that the height of the child div matches the height of the parent div without explicitly setting it in the CSS? Even when the parent div has a height of 300px, the child divs car1front and card1back do not seem to adjust accordingly. I have tried setting the height to auto in the CSS, but it doesn't work as expected.
If you'd like to take a look at the JSFiddle demonstration, you can visit this link: http://jsfiddle.net/tvrajja/08samL77/
Just to note, the flip-container div is actually located within usercontrol.aspx. Thank you for any assistance or suggestions you may have.
<div style="height: 300px">
<div id="FlipMainId" class="flip-container" ontouchstart="this.classList.toggle('hover');" runat="server">
<div id="Card1" class="flipper" runat="server">
<div id="Card1Front" class="front" runat="server">
<div class="name">
Front
</div>
</div>
<div id="Card1Back" class="back" runat="server" style="border: solid">
Back
</div>
</div>
</div>
</div>