我有一个布尔数组,我在剃刀foreach循环中显示.在循环中,我在数组中显示不同的值.是否有可能根据显示的值更改css?
例如
if (@status == true) THEN color = green; if (@status == false) THEN color = red.
html css razor twitter-bootstrap
css ×1
html ×1
razor ×1
twitter-bootstrap ×1