On Sun, Apr 14, 2013 at 6:46 PM, COM <j...@coffeeonmars.com> wrote:

> I am having a tough time finding online (google, w3schools) the correct
> way to change the color of bullets in an unordered list, *independently*
> from the color of the bullet text.There seem to be what the authors refer
> to as hacks, and some techniques where the bullet is a .gif.
>
> I'd like to keep the bullets all code, but have control of their color AND
> the color of the bullet text.
>
> can someone point me in the right direction?
>

In your case the problem is that the bullets are styled according to their
list item properties, so there is currently no way to style a list item
bullet differently from the list item to which it belongs. Alternatively,
you could use pseudo-elements (http://jsfiddle.net/leaverou/ytH5P/), or
even icon fonts (!) http://cdpn.io/sKjef.



-- 
Jon Reece
jon.re...@gmail.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to