Is it possible to simplify this to make it work infinitely when the number increase ?
.a1 .t1 {color: rgb(40, 40, 255);}
.a2 .t2 {color: rgb(40, 40, 255);}
.a3 .t3 {color: rgb(40, 40, 255);}
.a4 .t4 {color: rgb(40, 40, 255);}
.a5 .t5 {color: rgb(40, 40, 255);}
.a6 .t6 {color: rgb(40, 40, 255);}
Is it possible with attributes that change relative to the number ? Or is it possible to do it with a CSS variable ?
.a1 .line {transform: translateX(calc((830px / 6 + 1px) * 0));}
.a2 .line {transform: translateX(calc((830px / 6 + 1px) * 1));}
.a3 .line {transform: translateX(calc((830px / 6 + 1px) * 2));}
.a4 .line {transform: translateX(calc((830px / 6 + 1px) * 3));}
.a5 .line {transform: translateX(calc((830px / 6 + 1px) * 4));}
.a6 .line {transform: translateX(calc((830px / 6 + 1px) * 5));}