How to format text with alternating colors?

@cregox Caue Rego
Tue, 19 May 2015 20:46:18 +0000

@cregox wrote:

Yeah, you can achieve that with a simple CSS called nth-child. Something like this:

div.sqs-block-content p:nth-child(2n+2) {
  background-color: silver;
}

It will of course depend on what content you want, though.

I also changed your post title to something more descriptive. :)