i change grid color on chartist.js default grey. tried override ct-grid-color setting, did incorrectly. can please suggest how it?
grid lines:
.ct-grids line { color: steelblue; } .. , don't forget labels! ..
grid labels:
.ct-labels span { color: steelblue; } the reason why targeting ".ct-grid" won't work due css specificity. more specific css, more important becomes ..
.ct-grids line { } > .ct-grids { }
if it's little confusing, nifty little tool keegan street's css specificity calculator.
Comments
Post a Comment