[Mapcss] Stacked rules question
Richard Fairhurst
richard at systemeD.net
Wed Jul 7 10:10:37 BST 2010
Richard Fairhurst wrote:
> My current thinking is that we start with:
> way[highway=footway]::highlight { width: 3; z-index: 2; }
> way[highway=footway]::centreline { width: 2; z-index: 3; }
> way[highway=footway]::centreline { color: green; }
>
> In other words, you can define a new stroke(/fill) using the CSS
> subpart (double colon) syntax. Here we have two strokes. One
> (highlight) is width 3, z-index 2, green; the other (centreline) is
> width 2, -index 3, green.
highlight isn't green, of course. That was just to check you were
paying attention. ;)
cheers
Richard
More information about the Mapcss
mailing list