简体   繁体   English

Bootstrap 3手风琴面板问题

[英]Bootstrap 3 Accordion Panel Issue

Essentially I have a page I made in Bootstrap, where the top 60% of the page is taken up by a fluid container. 基本上我有一个我在Bootstrap中制作的页面,其中页面的前60%被流体容器占用。 I want the bottom 40% to consist of four clickable Accordion panels at 10% each. 我希望底部40%由四个可点击的Accordion面板组成,每个面板10%。

I have set this up, but the problem is I cannot change the size of the panels. 我已经设置了这个,但问题是我无法改变面板的大小。 If you follow this link, you can see what I've already created. 如果您点击此链接,您可以看到我已创建的内容。

http://bootstrapissue.s3-website-us-west-2.amazonaws.com http://bootstrapissue.s3-website-us-west-2.amazonaws.com

The image below shows what I am trying to accomplish. 下图显示了我想要完成的任务。

http://i.stack.imgur.com/VMGUd.png http://i.stack.imgur.com/VMGUd.png

Any help would be GREATLY appreciated. 任何帮助将不胜感激。

adding some padding to the panel title might help if I understand you correctly: 如果我理解正确的话,在面板标题中添加一些填充可能会有所帮助:

h4.panel-title {
padding: 25px;
}

It will produce this 它会产生这个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM