迷茫兔
2015-09-15 16:23
如题,我怎么设置了发现没效果呢
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 16px;
color: inherit;
}
.panel-title > a,
.panel-title > small,
.panel-title > .small,
.panel-title > small > a,
.panel-title > .small > a {
color: inherit;
}
Easily add a heading container to your panel with .panel-heading. You may also include any <h1>-<h6> with a .panel-title class to add a pre-styled heading.
你可能需要在panel-heading 里面添加一个h(h1~h6),这个时候你就可能用到这个类名,而不需要再去设置这个heading标签的字体大小。
玩转Bootstrap(基础)
314546 学习 · 2275 问题
相似问题