Created
September 6, 2012 20:53
-
-
Save jeffreyameyer/3660305 to your computer and use it in GitHub Desktop.
TileMill .302 carto nested style questions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*********** works, but super repetitive, unweildy: | |
#admin0[zoom=3][ADM0_A3='USA'] { | |
polygon-fill: @yellow; } | |
#inner1[zoom=3][ADM0_A3='USA'] { | |
polygon-fill: #f66; | |
polygon-opacity: .6; } | |
#ad0borders[zoom=3][ADM0_A3='USA'] { | |
line-width: 1; | |
line-color: #888;} | |
*********** doesn't work: | |
[zoom=3][ADM0_A3='USA'] { | |
#admin0 { | |
polygon-fill: @yellow; } | |
#inner1 { | |
polygon-fill: #f66; | |
polygon-opacity: .6; } | |
#ad0borders { | |
line-width: 1; | |
line-color: #888;} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment