The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Bootstrap Collapse Using a Button to Show Additional Text

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #177634


    I’m trying to use Bootstrap Collapse in my project and I’m facing some issues (button moves below and I can’t figure out how to show some lines of text before expand).

    I want to use a button for the collapse to expand the box downward (to show more text).

    I want some lines of text to be already present there and upon button click it should expand.

    Here is the pen.

    This is what I want this to be before expand (the button should resize in height upon expand).

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.