How can I test the value of an x-for variable and then meet an IF condition to change the CSS value?