Changing colour of two different list item content elements
Posted
by
tokyodrift
on Stack Overflow
See other posts from Stack Overflow
or by tokyodrift
Published on 2013-10-24T09:45:53Z
Indexed on
2013/10/24
9:54 UTC
Read the original article
Hit count: 206
I have an li
navigation with dividers created using the code shown below. I'd like to have two of these | elements but different colours, is it possible to define different colours for both?
#navigation li:before {
content: "|";
color: #800836;
}
I'd like another but with #F2659A
and right next to the existing.
Here is the live url to see how things look right now: http://www.jordancharters.co.uk/nakedradish/
© Stack Overflow or respective owner