Search code examples
surveyjs

Change color in choices elements


How can I change the colors of each element of a choice, try this way but it remains the same.

enter image description here

I tried to place the styles linearly but it didn't work

enter image description here


Solution

  • You can render choices using Markdown and apply required styles at this point. Please refer to the following demo for more details: Markdown Radiogroup (Showdown).