Have answer options be "striped" (one lighter, next darker)? | XM Community
Skip to main content

Hi all,
I was wondering what the best way would be to achieve a "striped" style in the answers across the whole survey as per the style guide I have received.
The expected outcome is this:
Screenshot 2022-08-31 at 10.47.25.pngSo have the first answer choice always be grey, and the next one white and then have this pattern repeat. This should apply across the whole survey.
Does anybody have any idea on how best to achieve this?

Thanks in advance!

Use a CSS rule like this:
li.Selection:nth-child(odd) label { background-color: lightgray; }


Leave a Reply