<style>
.panel{
border:1px solid #000;
}
</style>
<div class="body">
<div class="panel"></div>
<div class="panel" style="border-top:0px;"></div>
</div>
In order to apply the style border-top:0px;
to the second div.panel
, the syntax should be added directly within the div tag itself.