Using CSS calc() Function in Webflow: Is It Possible?
·
Hello everyone! I have a question about Webflow that I'd like to ask: Does anyone know how to use the CSS calc() function in Webflow? Is it possible? I've seen a CSS code snippet using calc() that looks like this:
css
transition-duration: calc(.16s + 20ms * (var(--total-items) - var(--item-number)));
I'm curious if there's a way to implement this kind of calculation in Webflow's design interface, especially when it involves custom variables. If it's possible, how exactly would one go about doing it? Any help or suggestions would be greatly appreciated!