Bootstrap folding panel, can you handle this special case?

there are two blocks to use Collapse

the first block expands by default, and the second preset puts it away

The

function is
1. Click the title of the first block to put the first block away, but also the second block as a whole
2. When you click on the title of the second block, put only the second block away

in fact, if the HTML structure is the second block in the first block, it is easy to deal with

the problem is that the two blocks are separate on the same layer. I don"t know how to use

after trying for a long time.

Please take a look at
https://codepen.io/AndyTsai/p...

.
Menu