引导程序折叠面板边框
问题描述:
在引导面板标题上,我将背景颜色替换为很好的图像背景。引导程序折叠面板边框
然后在周围的面板标题边框显示白色边框,我改变了透明边框。
但我仍然在面板标题上显示底部白色边框,并不确定它来自哪里。
有谁知道我该如何删除白底白色边框,并只显示完整图像背景没有围绕颜色边框!
这里是代码。
<style>
.panel-default .panel-heading{
background-image: url(../images/red-header.png);
background-repeat: repeat-x;
color:white;
font-size: 14px;
font-weight: bold;
padding-top: 13px;
height: 40px;
margin-right: 0px;
border:soiid 1px #BF1D2B;
}
</sylte>
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Panel 1</h3>
<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span>
</div>
<div class="panel-body">
Founded in 1892 and headquartered in Fairfield, CT, LexisNexis Corporate Affiliations
is a technology and financial services company.
</div>
</div>
</div>
答
我跑你的页面,只是修正“soiid”到“实”,和你的面板边框的标题有你所设定的颜色#BF1D2B。所以如果你删除这个属性,我认为你得到你想要的。注意:我可能没有很好地理解你的问题,对不起。
即使我确定我仍然显示底部的白色边框。 – user1953826