how to give different colors to li element using nth child in php?

I want to display my li elements in different colors it works fine in html but am new to php and i don’t know how to give colors for li elements in a loop

Read more here:: how to give different colors to li element using nth child in php?

Leave a Reply

Your email address will not be published. Required fields are marked *