Would it be possible to write CSS to select elements where their n is equal to the n of another element in the same selector:
input:nth-child(1):checked ~ div > div:nth-child(1)
input:nth-child(2):checked ~ div > div:nth-child(2)
input:nth-child(3):checked ~ div > div:nth-child(3)
...
input:nth-child(n):checked ~ div > div:nth-child(n)
Does CSS support this capability, or would everything have to be written out line-by-line?