Can I give odd and even list items a different color?

Hi,

I have a list



There are two ways to change the visibility of the different items looks better:

1.
Give the odd and even list items a different color. This can be done in CSS like this:

li {
color: blue;
}
li:nth-child(odd) {
color: green;
}
li:nth-child(even) {
color: red;
}

Is it possible to use this CSS code with Appery? Or is there another way to achieve this?

2.
Make some padding between the list items. I try to give the list and the list item some padding but still they are against each other.
Is there a way to make some padding between the list items?

Kind regards,

Arie
1 person has
this question
+1
This topic is no longer open for comments or replies.