I\'m trying to make a comment system where nested comments have zebra background colors. (Blue bg replies to white bg replies to blue bg...)
Instead of referring to
You could add an alternating class to accompany .comment that's applied procedurally as the comments are being laid out on the page (e.g: .row1, .row2, etc.) and then style those classes accordingly with CSS.
.comment
.row1
.row2