-
LeaVerou some thoughts: --columns: parent(--span); --alt: calc(parent(--alt) * -1); --count: calc(parent(--count) + 1); not sure what I'm counting/alternating though, maybe: color: color-contrast(parent(background-color) vs black, white); margin: calc(parent(padding) * -1);