Reputation: 58810
I have an banner that act as an accordion.
As default, the bootstrap panel class come with drop-shadow effect.
I want to take off the shadow around my panel-heading, and also my panel-body. I've tried to override it by giving a class no-shadow
.noshadow {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
Result, It still showing up. :(
Any helps / suggestions will be much appreciated
Upvotes: 0
Views: 3581
Reputation: 2165
It's using border
s and not box-shadow
. Updated your JSFiddle here.
/*--------- add this to override Bootstrap ----------*/
.panel {
border: none;
}
.panel-default .panel-heading {
/*border: 1px solid silver; --------- remove this line ----------*/
min-height: 100px;
background-color: white;
border-radius: 0px;
}
Upvotes: 1
Reputation: 2567
It is not a shadow. It is actually border on panel
div.
See this fiddle: http://jsfiddle.net/jd94vttr/1/
Upvotes: 1