html - Manipulate second div with class = row -
i have following html code. possible manipulate second row element , how?
<style> .span11 row{} </style> <div class="span11"> <div class="row"></div> <div class="row"></div> </div>
it works!
.row:nth-child(2){background:#000;}
2 way:
.row+.row{background:#000;}
.row:nth-child(2){background:#000;}
Comments
Post a Comment