Color coding HTML based on a variable

前端 未结 0 1731
天命终不由人
天命终不由人 2021-01-04 18:36

I want to define a text color based on a status variable that should be taken for a story progression.

What I have:

.Youtext{
    if (udata >= 70) {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题