我必须在 onepage.js 中使用 bootstrap Accordion 。仅供引用,我有大量内容大于部分高度。每当我打开多个 Accordion 时,是否可以增加部分的高度。
最佳答案
只需更改 css 类:
.collapse.show {height: auto; max-height: 500px /* or whatever you want /* }
关于javascript - 在 fullpage.js 中使用 bootstrap Accordion ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42732327/