For Chartist line graphs, I'm trying to do conditional coloring of points via CSS. The value that determines the color is the ",0" on the ct:value
attribute, as follows:
<line x1="555" y1="317.2833251953125" x2="555.01" y2="317.2833251953125" class="ct-point" ct:value="63624984960667,0"></line>
What attribute selector can we use that styles all line elements such that ct:value
contains ",0"?
I've attempted the following without success:
line[ct\:value~=",0"] {
//etc
}
UPDATE: Modified original code to show tilda (~) instead of caret (^).