skip to Main Content

Html – CSS Counter and Calc function

I want to know how I can combine the counter css function with the calc function for me to supperpose a list of icons. <style> .list-counter{ counter-reset: list; } .list-counter div:not(:first-child){ counter-increment: list; transform: translateX(calc(counter(list) * -1rem)); } </style> and…

VIEW QUESTION
Back To Top
Search