Hello Webflow People!
I have a rather simple idea, but i have no idea how execute it properly.
Goal: Calculate a value from a CMS number-value (make a division by a fixed number) and use the result for the width of a DIV.
I have a collection that has a number. I need this number to be divided by 630.
Then i want use the result for the width (as a %) for a div.
I need this calculated for each CMS item in the collection.
PS. i use this to make ‘bars’ that fill up.
I know what the max values are, so i can divide the CMS number by a fixed number).
It could be done with CSS calc() but that isn’t supported (yet).
I have no idea how to do this with or if i need or can use jquery f.e.
Can anybody offer help?