Solved
option in multiple choice question
If respondents selected option "red" , that option background need to change in red color. likewise for green, blue color's as well. Please suggest.
Best answer by TomG
Use nth-child on the li elements:
```
<style>
.Skin li:nth-child(1) label.MultipleAnswer.q-checked, .Skin li:nth-child(1) label.SingleAnswer.q-checked {background:red;}
.Skin li:nth-child(2) label.MultipleAnswer.q-checked, .Skin li:nth-child(2) label.SingleAnswer.q-checked {background:green;}
.Skin li:nth-child(3) label.MultipleAnswer.q-checked, .Skin li:nth-child(3) label.SingleAnswer.q-checked {background:blue;}
</style>
```
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.