Hi all at EE,
I have a wysiwyg editor in a database backend that allows updating of text for the front end of my website.
My question is, is it possible for css, on the front end, to automatically change the background color of any li to a certain color, and then have the next li another.. and repeat..
So in a sense alternating bgcolor for each li inside of a ul. I know how to do this in php for example but wondering if possible with css from what a user has entered into the database field which is displayed.
Can someone help me with this?