Alternate background colors for list items

前端 未结 9 1856
一向
一向 2020-12-04 07:42

I have a list, and each item is linked, is there a way I can alternate the background colors for each item?

9条回答
  •  天涯浪人
    2020-12-04 08:18

    Since you using standard HTML you will need to define separate class for and manual set the rows to the classes.

提交回复
热议问题