Alternating background color for li in multiple nested ul elements

后端 未结 0 1783
盖世英雄少女心
盖世英雄少女心 2020-12-08 07:12

So I\'m generating a nested ul from json data. For readability (as well as a design choice) I want to make the background color of each line alternating.

So something

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