Is there a way to increase attribute values ββusing n in nth-child(n)
to output the result:
div:nth-child(1){ top: -5px; } div:nth-child(2){ top: -10px; } div:nth-child(3){ top: -15px; } div:nth-child(4){ top: -20px; } div:nth-child(5){ top: -25px; }
source share