I want to change the background color of alternating lines in the Bootstrap 3 grid. I thought I could create CSS and add it to the class in the div, but the color will not change.
Here is my CSS:
.row-buffer { margin-top:20px; margin-bottom:20px; } .row-even { background-color:#76A0D3; } .row-odd { background-color:#BDE3FB; }
And my line is defined like this:
<div class="row row-buffer row-even">
or
<div class="row row-buffer row-odd">
The line buffer works fine, but the line-even and ordinary lines do not seem to be any different? (My lines are defined in the container.)
Am I barking the wrong tree?
html css twitter-bootstrap twitter-bootstrap-3
branty1970
source share