treehouse : what would you like to learn today?
Web Design Web Development iOS Development

onclick drop down box with dynamically increasing height

  • hi, created a drop down box with an for a shopping minicart. i have a little problem here. as user adds products to the cart the height dynamically expands but the problem is, i always want the minicart to show only the lower part of shopping cart, unless clicked by a user.

    can anyone help me how do i add height for the box to hide.

    here is a pen .