Community forum for knowledge and support

J
Jeff
Offline, last seen 6 months ago
Joined November 6, 2024

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!

1 comment
M

Good day everyone, may I know how to use add mask and slide with collection list?

5 comments
J
M