[Prev][Next][Index][Thread]

Re: colours for bullets



I came up with this lousy idea that:
> Content markup would be cleaner if there were a 'marker-color'
property
> that determines the color of disc | circle | square | decimal |
> lower-roman | upper-roman | lower-alpha | upper-alpha.

and then thought about it.

A list-item marker is a pseudo-element if ever there was one. So this
is a logical place for a 'marker' pseudo-element that is applicable to
all list-items and takes font and color properties.

Example declaration for bold red list-item markers on an ordered list:

  OL:marker { font-weight: bold; color: red }



David Perrell