I guess this is quite simple, although I can't seem to wrap my head around why my CSS code doesn't work.
This is my code:
.box{
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
}
.box .warning{
background: #FFF7F2;
border: 1px solid #ffefe5;
}
<div class="col-xs-4">
<div class="box warning">dfda</div>
</div>
And a fiddle to show it in action..
**My problem is, why doesn't the <div>
have the .warning
class assigned to it?